Skip to content

Commit c2dc971

Browse files
authored
fix tke docs (#1085)
1 parent e130b96 commit c2dc971

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

tencentcloud/resource_tc_kubernetes_cluster.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,10 +1040,12 @@ func resourceTencentCloudTkeCluster() *schema.Resource {
10401040
" Because only cluster with node is allowed enable access endpoint.",
10411041
},
10421042
"cluster_intranet": {
1043-
Type: schema.TypeBool,
1044-
Default: false,
1045-
Optional: true,
1046-
Description: "Open intranet access or not.",
1043+
Type: schema.TypeBool,
1044+
Default: false,
1045+
Optional: true,
1046+
Description: "Open intranet access or not." +
1047+
" If this field is set 'true', the field below `worker_config` must be set." +
1048+
" Because only cluster with node is allowed enable access endpoint.",
10471049
},
10481050
"managed_cluster_internet_security_policies": {
10491051
Type: schema.TypeList,

website/docs/r/kubernetes_cluster.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ The following arguments are supported:
449449
* `cluster_extra_args` - (Optional, ForceNew) Customized parameters for master component,such as kube-apiserver, kube-controller-manager, kube-scheduler.
450450
* `cluster_internet` - (Optional) Open internet access or not. If this field is set 'true', the field below `worker_config` must be set. Because only cluster with node is allowed enable access endpoint.
451451
* `cluster_intranet_subnet_id` - (Optional) Subnet id who can access this independent cluster, this field must and can only set when `cluster_intranet` is true. `cluster_intranet_subnet_id` can not modify once be set.
452-
* `cluster_intranet` - (Optional) Open intranet access or not.
452+
* `cluster_intranet` - (Optional) Open intranet access or not. If this field is set 'true', the field below `worker_config` must be set. Because only cluster with node is allowed enable access endpoint.
453453
* `cluster_ipvs` - (Optional, ForceNew) Indicates whether `ipvs` is enabled. Default is true. False means `iptables` is enabled.
454454
* `cluster_level` - (Optional) Specify cluster level, valid for managed cluster, use data source `tencentcloud_kubernetes_cluster_levels` to query available levels. Available value examples `L5`, `LL20`, `L50`, `L100`, etc.
455455
* `cluster_max_pod_num` - (Optional, ForceNew) The maximum number of Pods per node in the cluster. Default is 256. The minimum value is 4. When its power unequal to 2, it will round upward to the closest power of 2.

0 commit comments

Comments
 (0)