mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-30 02:00:19 +00:00
25 lines
488 B
YAML
25 lines
488 B
YAML
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: nginx-deployment-resources
|
|
labels:
|
|
name: nginx-deployment-resources
|
|
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
|
|
terminationGracePeriodSeconds: 0
|