Create a new availability tier
POST/api/v1/availability/tiers/:tierId
Creates a new availability tier
Request
Path Parameters
tierId
Header Parameters
APIKey
- application/json
Body
required
Tier configuration
container
object
required
Possible values: >= 1
maxSize is the maximum number of replicas.
Possible values: >= 1
minSize is the minimum number of replicas.
horizontalAutoScaling
object
required
Possible values: <= 100
cpuUtilizationPercentage is the target CPU utilization percentage.
enabled is the flag to enable or disable the horizontal pod autoscaler.
Possible values: >= 1
maxReplicas is the maximum number of replicas.
Possible values: >= 20
and <= 100
memoryUtilizationPercentage is the target memory utilization percentage.
Possible values: >= 1
minReplicas is the minimum number of replicas.
multiZoneDeployment is the flag to enable or disable multi-zone deployment.
name is the name of the tier configuration.
Possible values: [soft
, hard
]
Possible values: [critical
, high
, low
]
resources
object
required
cpu
object
required
CPU (millicore) represents the CPU resource requirements, including minimum and maximum limits.
maximum is the maximum amount of the resource.
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 is the maximum amount of the resource.
minimum is the minimum amount of the resource.
verticalAutoScaling
object
required
enabled is the flag to enable or disable the vertical pod autoscaler.
Responses
- 201
- 400
- 403
- 404
- 500
Tier created successfully
invalid request body
- application/json
- Schema
- Example (from schema)
Schema
{
"error": "string",
"error_code": "string"
}
forbidden, you are not allowed to create this availability tier. Please contact your organization admin
- application/json
- Schema
- Example (from schema)
Schema
{
"error": "string",
"error_code": "string"
}
tier not found
- application/json
- Schema
- Example (from schema)
Schema
{
"error": "string",
"error_code": "string"
}
internal server error
- application/json
- Schema
- Example (from schema)
Schema
{
"error": "string",
"error_code": "string"
}