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

24 lines
429 B
YAML
Raw Normal View History

2018-01-09 18:57:14 +00:00
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: nginx-deployment
labels:
name: nginx-deployment
spec:
replicas: 3
selector:
matchLabels:
name: nginx
template:
metadata:
labels:
name: nginx
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
- name: perl
2018-03-06 22:33:18 +00:00
image: k8s.gcr.io/perl