Skip to content

Commit 2d6c327

Browse files
committed
fix forcenew issus
1 parent cc50261 commit 2d6c327

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tencentcloud/resource_tc_kubernetes_node_pool.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,11 +283,10 @@ func ResourceTencentCloudKubernetesNodePool() *schema.Resource {
283283
Type: schema.TypeString,
284284
Optional: true,
285285
ForceNew: true,
286-
Default: "CLASSIC_SCALING",
287286
Description: "Auto scaling mode. Valid values are `CLASSIC_SCALING`(scaling by create/detroy instances), " +
288287
"`WAKE_UP_STOPPED_SCALING`(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance." +
289288
" If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking)" +
290-
". Default is `CLASSIC_SCALING`.",
289+
".",
291290
},
292291
"node_config": {
293292
Type: schema.TypeList,

website/docs/r/kubernetes_node_pool.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ The following arguments are supported:
118118
* `node_os_type` - (Optional) The image version of the node. Valida values are `DOCKER_CUSTOMIZE` and `GENERAL`. Default is `GENERAL`. This parameter will only affect new nodes, not including the existing nodes.
119119
* `node_os` - (Optional) Operating system of the cluster, the available values include: `tlinux2.4x86_64`, `ubuntu18.04.1x86_64`, `ubuntu16.04.1 LTSx86_64`, `centos7.6.0_x64` and `centos7.2x86_64`. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.
120120
* `retry_policy` - (Optional, ForceNew) Available values for retry policies include `IMMEDIATE_RETRY` and `INCREMENTAL_INTERVALS`.
121-
* `scaling_mode` - (Optional, ForceNew) Auto scaling mode. Valid values are `CLASSIC_SCALING`(scaling by create/detroy instances), `WAKE_UP_STOPPED_SCALING`(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking). Default is `CLASSIC_SCALING`.
121+
* `scaling_mode` - (Optional, ForceNew) Auto scaling mode. Valid values are `CLASSIC_SCALING`(scaling by create/detroy instances), `WAKE_UP_STOPPED_SCALING`(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).
122122
* `subnet_ids` - (Optional, ForceNew) ID list of subnet, and for VPC it is required.
123123
* `taints` - (Optional) Taints of kubernetes node pool created nodes.
124124

0 commit comments

Comments
 (0)