Can we leverage "--terminated-pod-gc-threshold" in AKS to delete evicted pods automatically

Vignesh Murugan 126 Reputation points
2021-09-29T06:44:29.92+00:00

Hi all,

We are using AKS cluster(v1.20.7) in our environment. We could see the evicted pods still there in clusters and not get removed automatically. We have gone through some official documents saying this can be done using "--terminated-pod-gc-threshold" flag in API server.

Since the control plane is managed my Microsoft, is it possible to enable this flag.

If not, what could be the best/standard approach for this?

Thanks in advance.

Azure Kubernetes Service
Azure Kubernetes Service

An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.

0 comments No comments

1 answer

Sort by: Oldest
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.