lifecycle.k8s.io/v1alpha1
· Namespaced Resource
Eviction
Eviction initiates an eviction process, which should ideally result in a graceful eviction of a .spec.target (e.g. termination of a pod).
The evictionrequest-controller observes intents of all EvictionRequests and transforms them into Evictions. It manages the Eviction lifecycle. Requesters are preserved in .status.requesters even after they have withdrawn their request. If all requesters withdraw their eviction intent for a common target, the eviction will be canceled. Once all EvictionRequest corresponding to this Eviction .spec.target have been removed, this Eviction object will eventually be garbage collected.
If the target is a pod, the .status.targetResponders is populated from Pod's .spec.evictionResponders.
Responders should observe and communicate through the .status to help with the eviction of the target when they see their state == Active in .status.targetResponders. ResponderStatus struct should then be periodically updated to indicate the progress or completion of the eviction process by each responder in .status.responders. If .status.responders[].heartbeatTime is not updated within the heartbeat deadline defined by the Eviction API (currently 20 minutes), the eviction is passed over to the next responder with a lower priority.
If there are no other responders and the target is a pod, the last default imperative-eviction.k8s.io/evictor responder with a priority of 100 will evict the pod using the imperative Eviction API (pods/<name>/eviction subresource).
Click on Property Name to show the description, and Pink Types to expand schema.
Required properties are marked with *
Change History
Kubernetes v1.37
Eviction was first seen on this version of Kubernetes
Kubernetes v1.36
Kubernetes v1.35
Kubernetes v1.34
Kubernetes v1.33
Kubernetes v1.32
Kubernetes v1.31
Kubernetes v1.30
Kubernetes v1.29
Kubernetes v1.28
Kubernetes v1.27
Kubernetes v1.26
Kubernetes v1.25
Kubernetes v1.24
Kubernetes v1.23
Kubernetes v1.22
Kubernetes v1.21
Kubernetes v1.20
Kubernetes v1.19
Kubernetes v1.18
Kubernetes v1.17
Kubernetes v1.16
Kubernetes v1.15
Kubernetes v1.14
Kubernetes v1.13
Kubernetes v1.12
Kubernetes v1.11
We don't have any examples of Eviction yet 😕
But the good news is, you can help us by contributing examples on GitHub
No links for Eviction yet
You can help us by adding useful links on GitHub