website/content/en/docs/reference/glossary/api-eviction.md

935 B

title id date full_link short_description aka tags
API-initiated eviction api-eviction 2021-04-27 /docs/concepts/scheduling-eviction/pod-eviction/#api-eviction API-initiated eviction is the process by which you use the Eviction API to create an Eviction object that triggers graceful pod termination.
operation

API-initiated eviction is the process by which you use the [Eviction API](/docs/reference/generated/kubernetes-api/{{<param "version">}}/#create-eviction-pod-v1-core) to create an Eviction object that triggers graceful pod termination.

You can request eviction either by directly calling the Eviction API using a client of the kube-apiserver, like the kubectl drain command. When an Eviction object is created, the API server terminates the Pod.

API-initiated eviction is not the same as node-pressure eviction.