mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-02 11:10:18 +00:00
35 lines
750 B
YAML
35 lines
750 B
YAML
|
apiVersion: extensions/v1beta1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: etcd-discovery
|
||
|
spec:
|
||
|
strategy:
|
||
|
type: Recreate
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
name: etcd-discovery
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
name: etcd-discovery
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: discovery
|
||
|
image: openshift/etcd-20-centos7
|
||
|
args:
|
||
|
- etcd-discovery.sh
|
||
|
ports:
|
||
|
- containerPort: 2379
|
||
|
protocol: TCP
|
||
|
resources: {}
|
||
|
terminationMessagePath: "/dev/termination-log"
|
||
|
imagePullPolicy: IfNotPresent
|
||
|
securityContext:
|
||
|
capabilities: {}
|
||
|
privileged: false
|
||
|
restartPolicy: Always
|
||
|
dnsPolicy: ClusterFirst
|
||
|
serviceAccount: ''
|
||
|
status: {}
|