addon
Configurations of cluster components.
Parameter |
Type |
Example |
Description |
---|---|---|---|
name |
String |
nginx-ingress-controller |
The name of a component. |
config |
String |
{\"IngressSlbNetworkType\":\"internet\"} |
The configurations of a component. |
disabled |
Boolean |
false |
Specifies whether a component is automatically installed in a newly created cluster. In addition to the required components, some optional components, such as Log Service components, are also installed when you create a cluster. You can set this parameter to disable the automatic installation of an optional component. You can install the component in the console or by calling the API after the cluster is created. Valid values:
|
data_disk
Configurations of node data disks.
Parameter |
Type |
Example |
Description |
---|---|---|---|
category |
String |
cloud_ssd |
The type of data disk. Valid values:
Default value: |
size |
Long |
40 |
The size of a data disk. Unit: GiB. Valid values: 40 to 32768. Default value: |
encrypted |
String |
true |
Specifies whether to encrypt a data disk. Valid values:
Default value: |
auto_snapshot_policy_id |
String |
sp-2zej1nogjvovnz4z**** |
The ID of an automatic snapshot policy. Automatic backup is performed for a disk based on the specified automatic snapshot policy. By default, this parameter is empty. This indicates that automatic backup is disabled. |
performance_level |
String |
PL1 |
The performance level (PL) of a data disk. This parameter takes effect only for enhanced SSDs. You can specify a higher PL if you increase the size of a data disk. For more information, see Enhanced SSDs. |
maintenance_window
Configurations of the cluster maintenance window.
Parameter |
Type |
Example |
Description |
---|---|---|---|
enable |
Boolean |
false |
Specifies whether to enable the cluster maintenance window. Valid values:
Default value: |
maintenance_time |
String |
03:00:00Z |
The start time of the cluster maintenance window. The value must be in the standard Golang time format. Example: 15:04:05Z. |
duration |
String |
3h |
The duration of the cluster maintenance window. The duration ranges from 1 hour to 24 hours. Unit: h. Default value: 3h. |
weekly_period |
String |
Monday,Thursday |
The day of the week when maintenance is performed. Separate multiple days with commas (,). Valid values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, and Sunday. Default value: |
runtime
Configurations of container engines.
Parameter |
Type |
Example |
Description |
---|---|---|---|
name |
String |
docker |
The name of a container runtime. The following types of runtime are supported by Container Service for Kubernetes (ACK).
Default value: |
version |
String |
19.03.5 |
The version of the container runtime. By default, the latest version is used. For more information about the changes to Sandboxed-Container, see Sandboxed-Container release notes. |
tag
Configurations of labels.
Parameter |
Type |
Example |
Description |
---|---|---|---|
key |
String |
env |
The |
value |
String |
prod |
The |
taint
Configurations of node taints.
Parameter |
Type |
Example |
Description |
---|---|---|---|
key |
String |
key |
The |
value |
String |
value |
The |
effect |
String |
NoSchedule |
The scheduling policy. Valid values:
Default value: |