Skip to content

Commit a141ae6

Browse files
authored
Merge pull request #2121 from tencentcloudstack/feat/update-tke-doc
update the doc for duplicated `data_disk` field
2 parents 270cc9a + d3efd92 commit a141ae6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

website/docs/r/kubernetes_node_pool.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ The `auto_scaling_config` object supports the following:
210210
* `system_disk_size` - (Optional, Int) Volume of system disk in GB. Default is `50`.
211211
* `system_disk_type` - (Optional, String) Type of a CVM disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`. Default is `CLOUD_PREMIUM`.
212212

213-
The `data_disk` object supports the following:
213+
The `data_disk` object of `node_config` supports the following:
214214

215215
* `auto_format_and_mount` - (Optional, Bool, ForceNew) Indicate whether to auto format and mount or not. Default is `false`.
216216
* `disk_partition` - (Optional, String, ForceNew) The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
@@ -219,7 +219,7 @@ The `data_disk` object supports the following:
219219
* `file_system` - (Optional, String, ForceNew) File system, e.g. `ext3/ext4/xfs`.
220220
* `mount_target` - (Optional, String, ForceNew) Mount target.
221221

222-
The `data_disk` object supports the following:
222+
The `data_disk` object of `auto_scaling_config` supports the following:
223223

224224
* `delete_with_instance` - (Optional, Bool) Indicates whether the disk remove after instance terminated. Default is `false`.
225225
* `disk_size` - (Optional, Int) Volume of disk in GB. Default is `0`.

website/docs/r/kubernetes_scale_worker.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ The following arguments are supported:
125125
* `mount_target` - (Optional, String, ForceNew) Mount target. Default is not mounting.
126126
* `unschedulable` - (Optional, Int, ForceNew) Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
127127

128-
The `data_disk` object supports the following:
128+
The `data_disk` object of `worker_config` supports the following:
129129

130130
* `auto_format_and_mount` - (Optional, Bool, ForceNew) Indicate whether to auto format and mount or not. Default is `false`.
131131
* `disk_partition` - (Optional, String, ForceNew) The name of the device or partition to mount.

0 commit comments

Comments
 (0)