ceph-csi/vendor/k8s.io/kubernetes/hack/testdata/deployment-label-change2.yaml

23 lines
383 B
YAML
Raw Normal View History

2018-01-09 18:57:14 +00:00
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: nginx
2018-03-06 22:33:18 +00:00
resourceVersion: "99"
2018-01-09 18:57:14 +00:00
labels:
name: nginx
spec:
2018-03-06 22:33:18 +00:00
selector:
matchLabels:
name: nginx2
2018-01-09 18:57:14 +00:00
replicas: 3
template:
metadata:
labels:
name: nginx2
spec:
containers:
- name: nginx
2018-03-06 22:33:18 +00:00
image: k8s.gcr.io/nginx:test-cmd
2018-01-09 18:57:14 +00:00
ports:
- containerPort: 80