You are viewing documentation for Kubernetes version: v1.21
Kubernetes v1.21 documentation is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the latest version.
API-initiated Eviction
API-initiated eviction is the process by which you use the Eviction API
to create an Eviction object that triggers graceful pod termination.
You can request eviction by directly calling the Eviction API
using a client of the kube-apiserver, like the kubectl drain command.
This creates an Eviction object, which causes the API server to terminate the Pod.
API-initiated evictions respect your configured PodDisruptionBudgets
and terminationGracePeriodSeconds.
What's next
- Learn about Node-pressure Eviction
- Learn about Pod Priority and Preemption
Last modified
September 28, 2026 at 3:00 AM PST
: feat: collapse version-dropdown deep links to the Kubernetes 文档说明 post URL (cbce637)