mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-10 12:18:52 +03:00
mount the etcd data directory in the container with the same path as on the host.
This commit is contained in:
@@ -15,8 +15,8 @@ ExecStart=/usr/bin/rkt run \
|
||||
--mount=volume=etc-ssl-certs,target=/etc/ssl/certs \
|
||||
--volume=etcd-cert-dir,kind=host,source={{ etcd_cert_dir }},readOnly=true \
|
||||
--mount=volume=etcd-cert-dir,target={{ etcd_cert_dir }} \
|
||||
--volume=var-lib-etcd,kind=host,source={{ etcd_data_dir }},readOnly=false \
|
||||
--mount=volume=var-lib-etcd,target=/var/lib/etcd \
|
||||
--volume=etcd-data-dir,kind=host,source={{ etcd_data_dir }},readOnly=false \
|
||||
--mount=volume=etcd-data-dir,target={{ etcd_data_dir }} \
|
||||
--set-env-file=/etc/etcd.env \
|
||||
--stage1-from-dir=stage1-fly.aci \
|
||||
{{ etcd_image_repo }}:{{ etcd_image_tag }} \
|
||||
|
||||
Reference in New Issue
Block a user