823 B
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" %}}
- Learn about Node-pressure Eviction
- Learn about Pod Priority and Preemption