Fix(#13396)Delete the leftover eviction_hard_control_plane variable (#13400)

This commit is contained in:
tophac
2026-08-03 12:33:24 +08:00
committed by GitHub
parent f713813c55
commit 4ee4ced065
3 changed files with 1 additions and 2 deletions

View File

@@ -293,7 +293,6 @@ default_kubelet_config_dir: "{{ kube_config_dir }}/dynamic_kubelet_dir"
## Eviction Thresholds to avoid system OOMs
# https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/#eviction-thresholds
# eviction_hard: {}
# eviction_hard_control_plane: {}
# An alternative flexvolume plugin directory
# kubelet_flexvolumes_plugins_dir: /usr/libexec/kubernetes/kubelet-plugins/volume/exec

View File

@@ -56,7 +56,6 @@ system_pid_reserved: 1000
## Eviction Thresholds to avoid system OOMs
# https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/#eviction-thresholds
eviction_hard: {}
eviction_hard_control_plane: {}
kubelet_status_update_frequency: 10s

View File

@@ -11,6 +11,7 @@
# Always remove items from this list after the release in comments
removed_vars:
- kubelet_static_pod_path # 2.31.0
- eviction_hard_control_plane # 2.31.0
removed_vars_found: "{{ query('varnames', '^' + (removed_vars | join('|')) + '$') }}"
assert:
that: removed_vars_found | length == 0