mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
Replace swap vars with single kubelet_fail_swap_on (#10036)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
apiVersion: kubelet.config.k8s.io/v1beta1
|
||||
kind: KubeletConfiguration
|
||||
nodeStatusUpdateFrequency: "{{ kubelet_status_update_frequency }}"
|
||||
failSwapOn: {{ kubelet_fail_swap_on|default(true) }}
|
||||
failSwapOn: {{ kubelet_fail_swap_on }}
|
||||
authentication:
|
||||
anonymous:
|
||||
enabled: false
|
||||
@@ -140,9 +140,9 @@ eventRecordQPS: {{ kubelet_event_record_qps }}
|
||||
{% endif %}
|
||||
shutdownGracePeriod: {{ kubelet_shutdown_grace_period }}
|
||||
shutdownGracePeriodCriticalPods: {{ kubelet_shutdown_grace_period_critical_pods }}
|
||||
{% if not kubelet_fail_swap_on|default(true) %}
|
||||
{% if not kubelet_fail_swap_on %}
|
||||
memorySwap:
|
||||
swapBehavior: {{ kubelet_swap_behavior|default("LimitedSwap") }}
|
||||
swapBehavior: {{ kubelet_swap_behavior }}
|
||||
{% endif %}
|
||||
{% if kubelet_streaming_connection_idle_timeout is defined %}
|
||||
streamingConnectionIdleTimeout: {{ kubelet_streaming_connection_idle_timeout }}
|
||||
|
||||
Reference in New Issue
Block a user