Browse Source

Add etcd_data_dir variable to the kubeadm config (#5263)

pull/5279/head
YichenWong 5 years ago
committed by Kubernetes Prow Robot
parent
commit
aada6e7e40
2 changed files with 2 additions and 2 deletions
  1. 2
      roles/kubernetes/master/templates/kubeadm-config.v1beta1.yaml.j2
  2. 2
      roles/kubernetes/master/templates/kubeadm-config.v1beta2.yaml.j2

2
roles/kubernetes/master/templates/kubeadm-config.v1beta1.yaml.j2

@ -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 }}"

2
roles/kubernetes/master/templates/kubeadm-config.v1beta2.yaml.j2

@ -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 }}"

Loading…
Cancel
Save