mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 06:40:23 +00:00
24 lines
429 B
YAML
24 lines
429 B
YAML
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
|
|
image: k8s.gcr.io/nginx:test-cmd
|
|
ports:
|
|
- containerPort: 80
|
|
- name: perl
|
|
image: k8s.gcr.io/perl
|