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
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -128,6 +128,7 @@ The following arguments are supported:
128
128
*`labels` - (Optional, Map, ForceNew) Labels of kubernetes scale worker created nodes.
129
129
*`mount_target` - (Optional, String, ForceNew) Mount target. Default is not mounting.
130
130
*`pre_start_user_script` - (Optional, String, ForceNew) Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
*`unschedulable` - (Optional, Int, ForceNew) Set whether the added node participates in scheduling. The default value is 0, which means participating in scheduling; non-0 means not participating in scheduling. After the node initialization is completed, you can execute kubectl uncordon nodename to join the node in scheduling.
132
133
*`user_script` - (Optional, String, ForceNew) Base64 encoded user script, this script will be executed after the k8s component is run. The user needs to ensure that the script is reentrant and retry logic. The script and its generated log files can be viewed in the /data/ccs_userscript/ path of the node, if required. The node needs to be initialized before it can be added to the schedule. It can be used with the unschedulable parameter. After the final initialization of userScript is completed, add the kubectl uncordon nodename --kubeconfig=/root/.kube/config command to add the node to the schedule.
133
134
@@ -160,6 +161,12 @@ The `gpu_args` object supports the following:
160
161
*`driver` - (Optional, Map) GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
161
162
*`mig_enable` - (Optional, Bool) Whether to enable MIG.
162
163
164
+
The `taints` object supports the following:
165
+
166
+
*`effect` - (Optional, String, ForceNew) Effect of the taint.
167
+
*`key` - (Optional, String, ForceNew) Key of the taint.
168
+
*`value` - (Optional, String, ForceNew) Value of the taint.
169
+
163
170
The `worker_config` object supports the following:
164
171
165
172
*`instance_type` - (Required, String, ForceNew) Specified types of CVM instance.
0 commit comments