set volume access modes
This commit is contained in:
parent
750744ea3b
commit
9476d38a2b
@ -17,7 +17,8 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: db
|
- name: db
|
||||||
image: quay.io/coreos/etcd:v3.5.9
|
image: quay.io/coreos/etcd:v3.5.9
|
||||||
args:
|
command:
|
||||||
|
- etcd
|
||||||
- --data-dir=/data
|
- --data-dir=/data
|
||||||
env:
|
env:
|
||||||
- name: ETCD_INITIAL_CLUSTER_STATE
|
- name: ETCD_INITIAL_CLUSTER_STATE
|
||||||
@ -29,7 +30,9 @@ spec:
|
|||||||
- metadata:
|
- metadata:
|
||||||
name: data
|
name: data
|
||||||
spec:
|
spec:
|
||||||
storageClass: local
|
storageClassName: local
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 1Gi
|
storage: 1Gi
|
||||||
|
Loading…
Reference in New Issue
Block a user