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: tencentcloud/services/tke/resource_tc_kubernetes_cluster_attachment.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
Provide a resource to attach an existing cvm to kubernetes cluster.
2
2
3
+
~> **NOTE:** Use `unschedulable` to set whether the join node participates in the schedule. The `is_schedule` of 'worker_config' and 'worker_config_overrides' was deprecated.
Copy file name to clipboardExpand all lines: website/docs/r/kubernetes_cluster_attachment.html.markdown
+10-8Lines changed: 10 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ description: |-
11
11
12
12
Provide a resource to attach an existing cvm to kubernetes cluster.
13
13
14
+
~> **NOTE:** Use `unschedulable` to set whether the join node participates in the schedule. The `is_schedule` of 'worker_config' and 'worker_config_overrides' was deprecated.
15
+
14
16
## Example Usage
15
17
16
18
```hcl
@@ -115,7 +117,7 @@ The following arguments are supported:
115
117
*`key_ids` - (Optional, List: [`String`], ForceNew) The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if `password` not set.
*`password` - (Optional, String, ForceNew) Password to access, should be set if `key_ids` not set.
118
-
*`unschedulable` - (Optional, Int, ForceNew) Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
120
+
*`unschedulable` - (Optional, Int, ForceNew) Sets whether the joining node participates in the schedule. Default is `0`, which means it participates in scheduling. Non-zero(eg: `1`) number means it does not participate in scheduling.
119
121
*`worker_config_overrides` - (Optional, List, ForceNew) Override variable worker_config, commonly used to attach existing instances.
120
122
*`worker_config` - (Optional, List, ForceNew) Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
121
123
@@ -157,13 +159,13 @@ The `worker_config_overrides` object supports the following:
157
159
158
160
*`data_disk` - (Optional, List, ForceNew) Configurations of data disk.
159
161
*`desired_pod_num` - (Optional, Int, ForceNew) Indicate to set desired pod number in node. valid when the cluster is podCIDR.
*`extra_args` - (Optional, List, ForceNew) Custom parameter information related to the node. This is a white-list parameter.
162
+
*`docker_graph_path` - (Optional, String, ForceNew, **Deprecated**) This argument was no longer supported by TencentCloud TKE. Docker graph path. Default is `/var/lib/docker`.
163
+
*`extra_args` - (Optional, List, ForceNew, **Deprecated**) This argument was no longer supported by TencentCloud TKE. Custom parameter information related to the node. This is a white-list parameter.
*`is_schedule` - (Optional, Bool, ForceNew) Indicate to schedule the adding node or not. Default is true.
164
-
*`mount_target` - (Optional, String, ForceNew) Mount target. Default is not mounting.
165
-
*`pre_start_user_script` - (Optional, String, ForceNew) Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
166
-
*`user_data` - (Optional, String, ForceNew) Base64-encoded User Data text, the length limit is 16KB.
165
+
*`is_schedule` - (Optional, Bool, ForceNew, **Deprecated**) This argument was deprecated, use `unschedulable` instead. Indicate to schedule the adding node or not. Default is true.
166
+
*`mount_target` - (Optional, String, ForceNew, **Deprecated**) This argument was no longer supported by TencentCloud TKE. Mount target. Default is not mounting.
167
+
*`pre_start_user_script` - (Optional, String, ForceNew, **Deprecated**) This argument was no longer supported by TencentCloud TKE. Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
168
+
*`user_data` - (Optional, String, ForceNew, **Deprecated**) This argument was no longer supported by TencentCloud TKE. Base64-encoded User Data text, the length limit is 16KB.
167
169
168
170
The `worker_config` object supports the following:
169
171
@@ -172,7 +174,7 @@ The `worker_config` object supports the following:
*`is_schedule` - (Optional, Bool, ForceNew) Indicate to schedule the adding node or not. Default is true.
177
+
*`is_schedule` - (Optional, Bool, ForceNew, **Deprecated**) This argument was deprecated, use `unschedulable` instead. Indicate to schedule the adding node or not. Default is true.
176
178
*`mount_target` - (Optional, String, ForceNew) Mount target. Default is not mounting.
177
179
*`pre_start_user_script` - (Optional, String, ForceNew) Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
178
180
*`user_data` - (Optional, String, ForceNew) Base64-encoded User Data text, the length limit is 16KB.
0 commit comments