ConfigurationDataPlaneGroupAutoscale

One Of
kindstringrequired

Allowed values:static

instance_typestringrequired

Instance type name to indicate capacity.

Allowed values:smallmediumlarge

requested_instancesintegerrequired

Number of data-planes the deployment target will contain.

Example:3

Example

Configuration Autoscale Static

object

Object that describes the static autoscaling strategy. Deprecated in favor of the autopilot autoscaling strategy. Static autoscaling will be removed in a future version. For serverless.v1 kind of cloud gateways, this field should be omitted.

* Additional properties are NOT allowed.
kindstringrequired

Allowed values:static

instance_typestringrequired

Instance type name to indicate capacity.

Allowed values:smallmediumlarge

requested_instancesintegerrequired

Number of data-planes the deployment target will contain.

Example:3

Example

Configuration Autoscale Autopilot

object

Object that describes the autopilot autoscaling strategy. For serverless.v1 kind of cloud gateways, this field should be omitted.

* Additional properties are NOT allowed.
kindstringrequired

Allowed values:autopilot

base_rpsintegerrequired

Base number of requests per second that the deployment target should support.

Example:1

max_rpsintegerDEPRECATED

Max number of requests per second that the deployment target should support. If not set, this defaults to 10x base_rps. This field is deprecated and shouldn’t be used in new configurations as it will be removed in a future version. max_rps is now calculated as 10x base_rps.

Example:1000

Example

Configuration Data-Plane Group Environment

array

Array of environment variables to set for a data-plane group.

namestring(^KONG_[a-zA-Z_]+[a-zA-Z0-9_]*)required

Name of the environment variable field to set for the data-plane group. Must be prefixed by KONG_.

>= 6 characters<= 120 characters

Example:KONG_LOG_LEVEL

valuestringrequired

Value assigned to the environment variable field for the data-plane group.

>= 1 characters<= 120 characters

Example:info

Configuration Data-Plane Group Environment Field

object

Environment variable name and value to set for a data-plane group.

namestring(^KONG_[a-zA-Z_]+[a-zA-Z0-9_]*)required

Name of the environment variable field to set for the data-plane group. Must be prefixed by KONG_.

>= 6 characters<= 120 characters

Example:KONG_LOG_LEVEL

valuestringrequired

Value assigned to the environment variable field for the data-plane group.

>= 1 characters<= 120 characters

Example:info

Example