mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-14 02:10:21 +00:00
25 lines
516 B
YAML
25 lines
516 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: gcr.io/google-containers/nginx:test-cmd
|
||
|
ports:
|
||
|
- containerPort: 80
|
||
|
- name: perl
|
||
|
image: gcr.io/google-containers/perl
|
||
|
terminationGracePeriodSeconds: 0
|