# io.k8s.api.core.v1.ContainerResizePolicy

From **Kubernetes**.

ContainerResizePolicy represents resource resize policy for the container.

- Type: `object`

## Properties

### `resourceName`

- Required: true
- Type: `string`

Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.

### `restartPolicy`

- Required: true
- Type: `string`

Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.

## JSON Schema

```json
{"description":"ContainerResizePolicy represents resource resize policy for the container.","properties":{"resourceName":{"default":"","description":"Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.","type":"string"},"restartPolicy":{"default":"","description":"Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.","type":"string"}},"required":["resourceName","restartPolicy"],"type":"object"}
```
