Add etcd_data_dir variable to the kubeadm config (#5263)

pull/5279/head
YichenWong 2019-10-17 10:50:39 +08:00 committed by Kubernetes Prow Robot
parent ac60786c6f
commit aada6e7e40
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ etcd:
local:
imageRepository: "{{ etcd_image_repo | regex_replace("/etcd$","") }}"
imageTag: "{{ etcd_image_tag }}"
dataDir: "/var/lib/etcd"
dataDir: "{{ etcd_data_dir }}"
extraArgs:
metrics: {{ etcd_metrics }}
election-timeout: "{{ etcd_election_timeout }}"

View File

@ -42,7 +42,7 @@ etcd:
local:
imageRepository: "{{ etcd_image_repo | regex_replace("/etcd$","") }}"
imageTag: "{{ etcd_image_tag }}"
dataDir: "/var/lib/etcd"
dataDir: "{{ etcd_data_dir }}"
extraArgs:
metrics: {{ etcd_metrics }}
election-timeout: "{{ etcd_election_timeout }}"