Skip to main content

Create a new availability tier.

POST 

/api/v1/availability/tiers/:tierId

Creates a new availability tier

Request

Path Parameters

    tierId stringrequired

    tierId

Header Parameters

    X-API-KEY stringrequired

    API Key

Body

required

Tier configuration

    container

    object

    required

    maxSize integerrequired

    Possible values: >= 1

    maxSize is the maximum number of replicas.

    minSize integerrequired

    Possible values: >= 1

    minSize is the minimum number of replicas.

    horizontalAutoScaling

    object

    required

    cpuUtilizationPercentage integerrequired

    Possible values: <= 100

    cpuUtilizationPercentage is the target CPU utilization percentage.

    enabled booleanrequired

    enabled is the flag to enable or disable the horizontal pod autoscaler.

    maxReplicas integerrequired

    Possible values: >= 1

    maxReplicas is the maximum number of replicas.

    memoryUtilizationPercentage integerrequired

    Possible values: >= 20 and <= 100

    memoryUtilizationPercentage is the target memory utilization percentage.

    minReplicas integerrequired

    Possible values: >= 1

    minReplicas is the minimum number of replicas.

    multiZoneDeployment booleanrequired

    multiZoneDeployment is the flag to enable or disable multi-zone deployment.

    name stringrequired

    name is the name of the tier configuration.

    placementPreference stringrequired

    Possible values: [soft, hard]

    priorityLevel string

    Possible values: [critical, high, low]

    resources

    object

    required

    cpu

    object

    required

    CPU (millicore) represents the CPU resource requirements, including minimum and maximum limits.

    maximum stringrequired

    maximum is the maximum amount of the resource.

    minimum stringrequired

    minimum is the minimum amount of the resource.

    memory

    object

    required

    memory represents the memory resource requirements, including minimum and maximum limits. Default unit is Gi.

    maximum stringrequired

    maximum is the maximum amount of the resource.

    minimum stringrequired

    minimum is the minimum amount of the resource.

    verticalAutoScaling

    object

    required

    enabled booleanrequired

    enabled is the flag to enable or disable the vertical pod autoscaler.

Responses

Tier created successfully

Loading...