Skip to content
Snippets Groups Projects
Commit aada6e7e authored by YichenWong's avatar YichenWong Committed by Kubernetes Prow Robot
Browse files

Add etcd_data_dir variable to the kubeadm config (#5263)

parent ac60786c
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,7 @@ etcd: ...@@ -39,7 +39,7 @@ etcd:
local: local:
imageRepository: "{{ etcd_image_repo | regex_replace("/etcd$","") }}" imageRepository: "{{ etcd_image_repo | regex_replace("/etcd$","") }}"
imageTag: "{{ etcd_image_tag }}" imageTag: "{{ etcd_image_tag }}"
dataDir: "/var/lib/etcd" dataDir: "{{ etcd_data_dir }}"
extraArgs: extraArgs:
metrics: {{ etcd_metrics }} metrics: {{ etcd_metrics }}
election-timeout: "{{ etcd_election_timeout }}" election-timeout: "{{ etcd_election_timeout }}"
......
...@@ -42,7 +42,7 @@ etcd: ...@@ -42,7 +42,7 @@ etcd:
local: local:
imageRepository: "{{ etcd_image_repo | regex_replace("/etcd$","") }}" imageRepository: "{{ etcd_image_repo | regex_replace("/etcd$","") }}"
imageTag: "{{ etcd_image_tag }}" imageTag: "{{ etcd_image_tag }}"
dataDir: "/var/lib/etcd" dataDir: "{{ etcd_data_dir }}"
extraArgs: extraArgs:
metrics: {{ etcd_metrics }} metrics: {{ etcd_metrics }}
election-timeout: "{{ etcd_election_timeout }}" election-timeout: "{{ etcd_election_timeout }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment