kind: Deployment apiVersion: apps/v1 metadata: name: nginx namespace: kube-public labels: app: nginx spec: replicas: 1 selector: matchLabels: app: nginx template: metadata: labels: app: nginx annotations: created-by: isim spec: containers: - name: nginx image: nginx ports: - name: http containerPort: 80