k8s.io/kubernetes@v1.31.0-alpha.0.0.20240520171757-56147500dadc/hack/testdata/retainKeys/deployment/deployment-after.yaml (about) 1 apiVersion: apps/v1 2 kind: Deployment 3 metadata: 4 name: test-deployment-retainkeys 5 labels: 6 app: nginx 7 spec: 8 strategy: 9 type: Recreate 10 replicas: 1 11 selector: 12 matchLabels: 13 app: nginx 14 template: 15 metadata: 16 labels: 17 app: nginx 18 spec: 19 containers: 20 - name: nginx 21 image: nginx 22 ports: 23 - containerPort: 80 24 volumes: 25 - name: test-volume 26 hostPath: 27 path: /data