apiVersion: apps/v1 kind: Deployment metadata: name: whoami namespace: whoami spec: replicas: 3 selector: matchLabels: app: whoami template: metadata: labels: app: whoami spec: containers: - image: ghcr.io/traefik/whoami:v1.10.3 name: whoami ports: - name: web containerPort: 80