Skip to content

Commit f2eaa9c

Browse files
committed
misc: update tke doc
1 parent 9ff4323 commit f2eaa9c

File tree

3 files changed

+91
-0
lines changed

3 files changed

+91
-0
lines changed

website/docs/r/kubernetes_cluster_attachment.html.markdown

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,22 @@ The following arguments are supported:
118118
* `worker_config_overrides` - (Optional, List, ForceNew) Override variable worker_config, commonly used to attach existing instances.
119119
* `worker_config` - (Optional, List, ForceNew) Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
120120

121+
The `cuda` object supports the following:
122+
123+
* `name` - (Required, String) Name of GPU driver or CUDA.
124+
* `version` - (Required, String) Version of GPU driver or CUDA.
125+
126+
The `cudnn` object supports the following:
127+
128+
* `name` - (Required, String) cuDNN name.
129+
* `version` - (Required, String) cuDNN version.
130+
* `dev_name` - (Optional, String) Dev name of cuDNN.
131+
* `doc_name` - (Optional, String) Doc name of cuDNN.
132+
133+
The `custom_driver` object supports the following:
134+
135+
* `address` - (Optional, String) URL of custom GPU driver address.
136+
121137
The `data_disk` object supports the following:
122138

123139
* `auto_format_and_mount` - (Optional, Bool, ForceNew) Indicate whether to auto format and mount or not. Default is `false`.
@@ -127,12 +143,26 @@ The `data_disk` object supports the following:
127143
* `file_system` - (Optional, String, ForceNew) File system, e.g. `ext3/ext4/xfs`.
128144
* `mount_target` - (Optional, String, ForceNew) Mount target.
129145

146+
The `driver` object supports the following:
147+
148+
* `name` - (Required, String) Name of GPU driver or CUDA.
149+
* `version` - (Required, String) Version of GPU driver or CUDA.
150+
151+
The `gpu_args` object supports the following:
152+
153+
* `cuda` - (Optional, Map) CUDA version.
154+
* `cudnn` - (Optional, Map) cuDNN version.
155+
* `custom_driver` - (Optional, Map) Custom GPU driver.
156+
* `driver` - (Optional, Map) GPU driver version.
157+
* `mig_enable` - (Optional, Bool) Whether to enable MIG.
158+
130159
The `worker_config_overrides` object supports the following:
131160

132161
* `data_disk` - (Optional, List, ForceNew) Configurations of data disk.
133162
* `desired_pod_num` - (Optional, Int, ForceNew) Indicate to set desired pod number in node. valid when the cluster is podCIDR.
134163
* `docker_graph_path` - (Optional, String, ForceNew) Docker graph path. Default is `/var/lib/docker`.
135164
* `extra_args` - (Optional, List, ForceNew) Custom parameter information related to the node. This is a white-list parameter.
165+
* `gpu_args` - (Optional, List, ForceNew) GPU driver parameters.
136166
* `is_schedule` - (Optional, Bool, ForceNew) Indicate to schedule the adding node or not. Default is true.
137167
* `mount_target` - (Optional, String, ForceNew) Mount target. Default is not mounting.
138168
* `user_data` - (Optional, String, ForceNew) Base64-encoded User Data text, the length limit is 16KB.
@@ -143,6 +173,7 @@ The `worker_config` object supports the following:
143173
* `desired_pod_num` - (Optional, Int, ForceNew) Indicate to set desired pod number in node. valid when the cluster is podCIDR.
144174
* `docker_graph_path` - (Optional, String, ForceNew) Docker graph path. Default is `/var/lib/docker`.
145175
* `extra_args` - (Optional, List, ForceNew) Custom parameter information related to the node. This is a white-list parameter.
176+
* `gpu_args` - (Optional, List, ForceNew) GPU driver parameters.
146177
* `is_schedule` - (Optional, Bool, ForceNew) Indicate to schedule the adding node or not. Default is true.
147178
* `mount_target` - (Optional, String, ForceNew) Mount target. Default is not mounting.
148179
* `user_data` - (Optional, String, ForceNew) Base64-encoded User Data text, the length limit is 16KB.

website/docs/r/kubernetes_node_pool.html.markdown

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,22 @@ The `auto_scaling_config` object supports the following:
206206
* `system_disk_size` - (Optional, Int) Volume of system disk in GB. Default is `50`.
207207
* `system_disk_type` - (Optional, String) Type of a CVM disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`. Default is `CLOUD_PREMIUM`.
208208

209+
The `cuda` object supports the following:
210+
211+
* `name` - (Required, String) Name of GPU driver or CUDA.
212+
* `version` - (Required, String) Version of GPU driver or CUDA.
213+
214+
The `cudnn` object supports the following:
215+
216+
* `name` - (Required, String) cuDNN name.
217+
* `version` - (Required, String) cuDNN version.
218+
* `dev_name` - (Optional, String) Dev name of cuDNN.
219+
* `doc_name` - (Optional, String) Doc name of cuDNN.
220+
221+
The `custom_driver` object supports the following:
222+
223+
* `address` - (Optional, String) URL of custom GPU driver address.
224+
209225
The `data_disk` object supports the following:
210226

211227
* `auto_format_and_mount` - (Optional, Bool, ForceNew) Indicate whether to auto format and mount or not. Default is `false`.
@@ -224,12 +240,26 @@ The `data_disk` object supports the following:
224240
* `snapshot_id` - (Optional, String, ForceNew) Data disk snapshot ID.
225241
* `throughput_performance` - (Optional, Int) Add extra performance to the data disk. Only works when disk type is `CLOUD_TSSD` or `CLOUD_HSSD` and `data_size` > 460GB.
226242

243+
The `driver` object supports the following:
244+
245+
* `name` - (Required, String) Name of GPU driver or CUDA.
246+
* `version` - (Required, String) Version of GPU driver or CUDA.
247+
248+
The `gpu_args` object supports the following:
249+
250+
* `cuda` - (Optional, Map) CUDA version.
251+
* `cudnn` - (Optional, Map) cuDNN version.
252+
* `custom_driver` - (Optional, Map) Custom GPU driver.
253+
* `driver` - (Optional, Map) GPU driver version.
254+
* `mig_enable` - (Optional, Bool) Whether to enable MIG.
255+
227256
The `node_config` object supports the following:
228257

229258
* `data_disk` - (Optional, List, ForceNew) Configurations of data disk.
230259
* `desired_pod_num` - (Optional, Int, ForceNew) Indicate to set desired pod number in node. valid when the cluster is podCIDR.
231260
* `docker_graph_path` - (Optional, String, ForceNew) Docker graph path. Default is `/var/lib/docker`.
232261
* `extra_args` - (Optional, List, ForceNew) Custom parameter information related to the node. This is a white-list parameter.
262+
* `gpu_args` - (Optional, List, ForceNew) GPU driver parameters.
233263
* `is_schedule` - (Optional, Bool, ForceNew) Indicate to schedule the adding node or not. Default is true.
234264
* `mount_target` - (Optional, String, ForceNew) Mount target. Default is not mounting.
235265
* `user_data` - (Optional, String, ForceNew) Base64-encoded User Data text, the length limit is 16KB.

website/docs/r/kubernetes_scale_worker.html.markdown

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,27 @@ The following arguments are supported:
120120
* `desired_pod_num` - (Optional, Int, ForceNew) Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
121121
* `docker_graph_path` - (Optional, String, ForceNew) Docker graph path. Default is `/var/lib/docker`.
122122
* `extra_args` - (Optional, List: [`String`], ForceNew) Custom parameter information related to the node.
123+
* `gpu_args` - (Optional, List, ForceNew) GPU driver parameters.
123124
* `labels` - (Optional, Map, ForceNew) Labels of kubernetes scale worker created nodes.
124125
* `mount_target` - (Optional, String, ForceNew) Mount target. Default is not mounting.
125126
* `unschedulable` - (Optional, Int, ForceNew) Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
126127

128+
The `cuda` object supports the following:
129+
130+
* `name` - (Required, String) Name of GPU driver or CUDA.
131+
* `version` - (Required, String) Version of GPU driver or CUDA.
132+
133+
The `cudnn` object supports the following:
134+
135+
* `name` - (Required, String) cuDNN name.
136+
* `version` - (Required, String) cuDNN version.
137+
* `dev_name` - (Optional, String) Dev name of cuDNN.
138+
* `doc_name` - (Optional, String) Doc name of cuDNN.
139+
140+
The `custom_driver` object supports the following:
141+
142+
* `address` - (Optional, String) URL of custom GPU driver address.
143+
127144
The `data_disk` object supports the following:
128145

129146
* `auto_format_and_mount` - (Optional, Bool, ForceNew) Indicate whether to auto format and mount or not. Default is `false`.
@@ -144,6 +161,19 @@ The `data_disk` object supports the following:
144161
* `file_system` - (Optional, String, ForceNew) File system, e.g. `ext3/ext4/xfs`.
145162
* `mount_target` - (Optional, String, ForceNew) Mount target.
146163

164+
The `driver` object supports the following:
165+
166+
* `name` - (Required, String) Name of GPU driver or CUDA.
167+
* `version` - (Required, String) Version of GPU driver or CUDA.
168+
169+
The `gpu_args` object supports the following:
170+
171+
* `cuda` - (Optional, Map) CUDA version.
172+
* `cudnn` - (Optional, Map) cuDNN version.
173+
* `custom_driver` - (Optional, Map) Custom GPU driver.
174+
* `driver` - (Optional, Map) GPU driver version.
175+
* `mig_enable` - (Optional, Bool) Whether to enable MIG.
176+
147177
The `worker_config` object supports the following:
148178

149179
* `instance_type` - (Required, String, ForceNew) Specified types of CVM instance.

0 commit comments

Comments
 (0)