Browse Source

Set feature gates in kube-proxy ConfigMap (#6851)

Command line flags aren't added to kube-proxy which results in missing
feature gates set in this component. Add appropriate setting to
ConfigMap instead.

Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
pull/6852/head
Maciej 4 years ago
committed by GitHub
parent
commit
c6e2a4ebd8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions
  1. 6
      roles/kubernetes/master/templates/kubeadm-config.v1beta2.yaml.j2

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

@ -375,6 +375,12 @@ nodePortAddresses: {{ kube_proxy_nodeport_addresses }}
oomScoreAdj: {{ kube_proxy_oom_score_adj }}
portRange: {{ kube_proxy_port_range }}
udpIdleTimeout: {{ kube_proxy_udp_idle_timeout }}
{% if kube_feature_gates %}
featureGates:
{% for feature in kube_feature_gates %}
{{ feature|replace("=", ": ") }}
{% endfor %}
{% endif %}
{# DNS settings for kubelet #}
{% if enable_nodelocaldns %}
{% set kubelet_cluster_dns = [nodelocaldns_ip] %}

Loading…
Cancel
Save