mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-10-31 14:36:20 -02:30
fix: configure Kubernetes feature gates with dictionaries (#13608)
* fix: configure Kubernetes feature gates with dictionaries * docs: update feature gate settings to dictionaries
This commit is contained in:
@@ -20,6 +20,15 @@ etcd_supported_versions:
|
||||
|
||||
kube_proxy_deployed: "{{ 'addon/kube-proxy' not in kubeadm_init_phases_skip }}"
|
||||
|
||||
# cri-dockerd does not support WebSocket streaming to the kubelet.
|
||||
# https://github.com/kubernetes-sigs/kubespray/issues/13360
|
||||
_kubelet_feature_gates: >-
|
||||
{{ (kubelet_feature_gates | default(kube_feature_gates, true)) | combine(
|
||||
{'ExtendWebSocketsToKubelet': false}
|
||||
if container_manager == 'docker' and kube_version is version('1.36.0', '>=') else
|
||||
{}
|
||||
) }}
|
||||
|
||||
# Sysctl floors: only applied when the node's current value is lower than
|
||||
# the desired one, so pre-tuned images and newer kernels are not regressed.
|
||||
# Values are aligned with OpenShift Node Tuning Operator and kops, and
|
||||
|
||||
Reference in New Issue
Block a user