website/content/en/docs/concepts/scheduling-eviction/api-eviction.md

823 B

title content_type weight
API-initiated Eviction concept 70

{{< glossary_definition term_id="api-eviction" length="short" >}}

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.

{{% heading "whatsnext" %}}