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