# io.k8s.api.autoscaling.v2.HPAScalingPolicy

From **Kubernetes**.

HPAScalingPolicy is a single policy which must hold true for a specified past interval.

- Type: `object`

## Properties

### `periodSeconds`

- Required: true
- Type: `integer`
- Format: `int32`
- Default: `0`

periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).

### `type`

- Required: true
- Type: `string`

type is used to specify the scaling policy.

### `value`

- Required: true
- Type: `integer`
- Format: `int32`
- Default: `0`

value contains the amount of change which is permitted by the policy. It must be greater than zero

## JSON Schema

```json
{"description":"HPAScalingPolicy is a single policy which must hold true for a specified past interval.","properties":{"periodSeconds":{"default":0,"description":"periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).","format":"int32","type":"integer"},"type":{"default":"","description":"type is used to specify the scaling policy.","type":"string"},"value":{"default":0,"description":"value contains the amount of change which is permitted by the policy. It must be greater than zero","format":"int32","type":"integer"}},"required":["type","value","periodSeconds"],"type":"object"}
```
