Help Center/ Cloud Container Engine/ Drawer/ Configuration Reference/ Cluster/ Threshold Configuration of the Number of Terminal State Pods That Trigger Recycling/ The Maximum Number of Terminated Pods That Can Be Kept Before the Pod GC Deletes the Terminated Pod
Updated on 2025-06-13 GMT+08:00

The Maximum Number of Terminated Pods That Can Be Kept Before the Pod GC Deletes the Terminated Pod

It controls the number of terminated pods that can exist in a cluster. If there are more terminated pods than the expected number in the cluster, the terminated pods that exceed the number will be deleted and reclaimed.

Value Range

From 10 to 12500

If the cluster version is v1.21.11-r40, v1.23.8-r0, v1.25.6-r0, v1.27.3-r0, or later, the value range is changed to 0 to 100000.

If this parameter is set to 0, all pods in the terminated state will be retained.

Default Value

1000

Modifiable

Yes

Scope

CCE standard and CCE Turbo clusters

Suggestions

Set the parameter to 1000.

If the value is too large, there may be a large number of terminated pods in the cluster, which will further affect the performance of list queries and result in an overloaded cluster.