Browse Source

generate kubeadm download image list with options useHyperKubeImage (#5203)

pull/5206/head
Sergey 5 years ago
committed by Kubernetes Prow Robot
parent
commit
1cf6a99df4
3 changed files with 4 additions and 3 deletions
  1. 1
      roles/download/templates/kubeadm-images.yaml.j2
  2. 3
      roles/kubernetes/master/defaults/main/main.yml
  3. 3
      roles/kubespray-defaults/defaults/main.yaml

1
roles/download/templates/kubeadm-images.yaml.j2

@ -7,6 +7,7 @@ apiVersion: kubeadm.k8s.io/v1beta1
kind: ClusterConfiguration
imageRepository: {{ kube_image_repo }}
kubernetesVersion: {{ kube_version }}
useHyperKubeImage: {{ kubeadm_use_hyperkube_image }}
etcd:
external:
endpoints:

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

@ -172,6 +172,3 @@ 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

3
roles/kubespray-defaults/defaults/main.yaml

@ -17,6 +17,9 @@ kube_version: v1.15.3
## The minimum version working
kube_version_min_required: v1.14.0
# use HyperKube image to control plane containers
kubeadm_use_hyperkube_image: False
## Kube Proxy mode One of ['iptables','ipvs']
kube_proxy_mode: ipvs

Loading…
Cancel
Save