Browse Source

use hyperkubeimage to run controlplane containers (#5178)

pull/5146/head
Sergey 5 years ago
committed by Kubernetes Prow Robot
parent
commit
8984096f35
3 changed files with 5 additions and 2 deletions
  1. 3
      roles/kubernetes/master/defaults/main/main.yml
  2. 2
      roles/kubernetes/master/templates/kubeadm-config.v1beta1.yaml.j2
  3. 2
      roles/kubernetes/master/templates/kubeadm-config.v1beta2.yaml.j2

3
roles/kubernetes/master/defaults/main/main.yml

@ -172,3 +172,6 @@ kube_override_hostname: >-
{%- endif -%}
secrets_encryption_query: "resources[*].providers[0].{{kube_encryption_algorithm}}.keys[0].secret"
# use HyperKube image to control plane containers
kubeadm_use_hyperkube_image: False

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

@ -91,7 +91,7 @@ controlPlaneEndpoint: {{ ip | default(fallback_ips[inventory_hostname]) }}:{{ ku
{% endif %}
certificatesDir: {{ kube_cert_dir }}
imageRepository: {{ kube_image_repo }}
useHyperKubeImage: false
useHyperKubeImage: {{ kubeadm_use_hyperkube_image }}
apiServer:
extraArgs:
{% if kube_api_anonymous_auth is defined %}

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

@ -94,7 +94,7 @@ controlPlaneEndpoint: {{ ip | default(fallback_ips[inventory_hostname]) }}:{{ ku
{% endif %}
certificatesDir: {{ kube_cert_dir }}
imageRepository: {{ kube_image_repo }}
useHyperKubeImage: false
useHyperKubeImage: {{ kubeadm_use_hyperkube_image }}
apiServer:
extraArgs:
{% if kube_api_anonymous_auth is defined %}

Loading…
Cancel
Save