# io.k8s.api.lifecycle.v1alpha1.EvictionRequestSpec

From **Kubernetes**.

EvictionRequestSpec is a specification of an EvictionRequest.

- Type: `object`

## Properties

### `intent`

- Required: true
- Type: `string`

intent 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.

### `requester`

- Required: true
- Type: `string`

requester 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.

### `target`

- Required: true
- Default: `{}`

target contains a reference to an object (e.g. a pod) that should be evicted. This field is required and immutable.

## JSON Schema

```json
{"description":"EvictionRequestSpec is a specification of an EvictionRequest.","properties":{"intent":{"default":"","description":"intent specifies the action that should be taken for the specified target.\n\n- 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.\n  If all requesters' intents are withdrawn for a common target, the eviction will be canceled.\n  Cancellation consequences:\n  - Inactive responders will never run.\n  - Active responders are expected to cancel the eviction.\n  - Completed or Interrupted responders should not take any action.","type":"string"},"requester":{"default":"","description":"requester allows you to identify the entity, that requested the eviction of the target.\n\nIt 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.","type":"string"},"target":{"allOf":[{"$ref":"#/components/schemas/io.k8s.api.lifecycle.v1alpha1.EvictionRequestTarget"}],"default":{},"description":"target contains a reference to an object (e.g. a pod) that should be evicted. This field is required and immutable."}},"required":["target","requester","intent"],"type":"object"}
```
