EvictionRequestSpec

io.k8s.api.lifecycle.v1alpha1.EvictionRequestSpec source ↗

EvictionRequestSpec is a specification of an EvictionRequest.

intentstring requiredintent specifies the action that should be taken for the specified target.
  • Eviction means that the requester is interested in the eviction of the target. - Withdrawn means that the requester is no longer interested in the eviction of the target.
If all requesters' intents are withdrawn for a common target, the eviction will be canceled. Cancellation consequences:
  • Inactive responders will never run.
  • Active responders are expected to cancel the eviction.
  • Completed or Interrupted responders should not take any action.
requesterstring requiredrequester allows you to identify the entity, that requested the eviction of the target.It must be a valid domain-prefixed key (such as "acme.io/foo"). Domain names *.k8s.io and *.kubernetes.io are reserved. This field is required and immutable.
targetEvictionRequestTarget requiredtarget contains a reference to an object (e.g. a pod) that should be evicted. This field is required and immutable.
podEvictionRequestPodReferencepod references a pod that is subject to eviction/termination. Pods that are part of a PodGroup (.spec.schedulingGroup is set) are not supported.
namestring requiredname of the target. This field is required.
uidstring requireduid of the target. It can be found in .metadata.uid of the target and is a lowercase UUID in 8-4-4-4-12 format. This field is required.