You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/r/kubernetes_scale_worker.html.markdown
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,7 @@ The following arguments are supported:
118
118
119
119
*`cluster_id` - (Required, String, ForceNew) ID of the cluster.
120
120
*`worker_config` - (Required, List, ForceNew) Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.
121
-
*`data_disk` - (Optional, List, ForceNew) Configurations of data disk.
121
+
*`data_disk` - (Optional, List, ForceNew) Configurations of tke data disk.
122
122
*`desired_pod_num` - (Optional, Int, ForceNew) Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
*`extra_args` - (Optional, List: [`String`], ForceNew) Custom parameter information related to the node.
@@ -131,19 +131,20 @@ The following arguments are supported:
131
131
132
132
The `data_disk` object of `worker_config` supports the following:
133
133
134
-
*`auto_format_and_mount` - (Optional, Bool, ForceNew) Indicate whether to auto format and mount or not. Default is `false`.
135
-
*`disk_partition` - (Optional, String, ForceNew) The name of the device or partition to mount.
134
+
*`auto_format_and_mount` - (Optional, Bool, ForceNew, **Deprecated**) This argument was deprecated, use `data_disk` instead. Indicate whether to auto format and mount or not. Default is `false`.
135
+
*`disk_partition` - (Optional, String, ForceNew, **Deprecated**) This argument was deprecated, use `data_disk` instead. The name of the device or partition to mount.
136
136
*`disk_size` - (Optional, Int, ForceNew) Volume of disk in GB. Default is `0`.
137
137
*`disk_type` - (Optional, String, ForceNew) Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
138
138
*`encrypt` - (Optional, Bool) Indicates whether to encrypt data disk, default `false`.
139
-
*`file_system` - (Optional, String, ForceNew) File system, e.g. `ext3/ext4/xfs`.
139
+
*`file_system` - (Optional, String, ForceNew, **Deprecated**) This argument was deprecated, use `data_disk` instead. File system, e.g. `ext3/ext4/xfs`.
140
140
*`kms_key_id` - (Optional, String) ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.
141
-
*`mount_target` - (Optional, String, ForceNew) Mount target.
141
+
*`mount_target` - (Optional, String, ForceNew, **Deprecated**) This argument was deprecated, use `data_disk` instead. Mount target.
142
142
*`snapshot_id` - (Optional, String, ForceNew) Data disk snapshot ID.
143
143
144
144
The `data_disk` object supports the following:
145
145
146
146
*`auto_format_and_mount` - (Optional, Bool, ForceNew) Indicate whether to auto format and mount or not. Default is `false`.
147
+
*`disk_partition` - (Optional, String, ForceNew) The name of the device or partition to mount.
147
148
*`disk_size` - (Optional, Int, ForceNew) Volume of disk in GB. Default is `0`.
148
149
*`disk_type` - (Optional, String, ForceNew) Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
149
150
*`file_system` - (Optional, String, ForceNew) File system, e.g. `ext3/ext4/xfs`.
@@ -165,7 +166,7 @@ The `worker_config` object supports the following:
165
166
*`bandwidth_package_id` - (Optional, String) bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
166
167
*`cam_role_name` - (Optional, String, ForceNew) CAM role name authorized to access.
167
168
*`count` - (Optional, Int, ForceNew) Number of cvm.
168
-
*`data_disk` - (Optional, List, ForceNew) Configurations of data disk.
169
+
*`data_disk` - (Optional, List, ForceNew) Configurations of cvm data disk.
169
170
*`desired_pod_num` - (Optional, Int, ForceNew) Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desired_pod_num` or none.
170
171
*`disaster_recover_group_ids` - (Optional, List, ForceNew) Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
171
172
*`enhanced_monitor_service` - (Optional, Bool, ForceNew) To specify whether to enable cloud monitor service. Default is TRUE.
0 commit comments