In vSphere Kubernetes Service (VKS) workload clusters, the following symptoms occur:
In VKS 3.4 and earlier (ClusterClass builtin-generic-v3.4.0 and older), the terminated-pod-gc-threshold is hardcoded to 10 to protect control plane resources.
This value cannot be modified through the workload cluster YAML manifest.
Upgrading to vCenter Server 8.0U3g or later and updating the VKS version will extend the threshold.
kubeControllerManagerConfiguration variable is introduced, allowing customization from the default (6000). topology > variables):topology:
variables:
- name: kubernetes
value:
kubeControllerManagerConfiguration:
terminatedPodGCThreshold: 12500
Note: Increasing this value significantly may impact control plane memory; careful validation is recommended.