Volcengine Kubernetes Engine
Parameter | Description |
Parameter | Description |
Forwarding conditions | Configure forwarding conditions, including the domain name, path, and HTTP header.
|
Forwarding actions | The target service and port for forwarding. For this example, select the Forward to action.
tip When you configure multiple services, the sum of their weights is not required to be 100. The ALB instance can forward client traffic to the corresponding service by proportion based on the weight of each service. For details, see Server group weighting. |
Parameter | Type | Description | Default value |
Parameter | Type | Description | Default value |
type | String | The action type of the custom forwarding rule. If you want to forward traffic to multiple back-end server groups, you need to set the value to ForwardGroup. | No |
forwardGroupConfig | Object of StickySessionConfig | The configuration of session persistence between back-end server groups. | No |
backends | Array of BackendConfig | The configurations of the back-end servers. | No |
Parameter | Type | Description | default value |
Parameter | Type | Description | default value |
serverGroupStickySession.enabled | String | Whether to enable the session persistence feature between back-end service groups. Valid values:
| off |
serverGroupStickySession.timeout | Integer | Configure the session persistence timeout between back-end server groups.
| 1000 |
Parameter | Type | Description | Default value |
Parameter | Type | Description | Default value |
serviceName | String | The name of the back-end service. If no service is available, create a service based on the instructions in Services. | No |
weight | Integer | The weight of the back-end service. Valid values: 0 to 100.
tip When you configure multiple services, the sum of their weights is not required to be 100. The ALB instance can forward client traffic to the corresponding service by proportion based on the weight of each service. For details, see Server group weighting. | No |
servicePort | Integer | The port number of the back-end service. The value can range from 1 to 65535. | No |
Parameters | Type | Description | default value |
Parameters | Type | Description | default value |
host | String | The domain in the forwarding rule. | No |
path | String | The path in the forwarding rule. | No |
serverGroups | Array of serverGroupConfig | The back-end server groups for the ALB Ingress. You can specify up to five back-end server groups for an ALB Ingress. | No |
stickySessionEnabled | Boolean | Whether to enable session persistence across groups. Valid values:
| false |
stickySessionCookieTimeout | Integer | Session persistence timeout between server groups. The timeout is in seconds. The value range is 1 to 86400. | 1000 |
Parameter | Type | Description | default value |
Parameter | Type | Description | default value |
serviceName | String | The name of the service in the cluster. tip If you configure this field, you must also configure the servicePort field. | No |
servicePort | Integer | Service port number. The valid range is 1 to 65535. | 80 (HTTP) 443 (HTTPS) |
serverGroupID | String | The ID of an existing back-end server group. tip This field and the serviceName field cannot be present at the same time. | No |
weight | Integer | Weight for the back-end server group. The valid range is 0 to 100.
tip | No |
to view rule details. The rule details should be consistent with the configured ones.