Skip to content

Commit bd5aad2

Browse files
author
hellertang
authored
modify tke docs (#768)
1 parent 4494c45 commit bd5aad2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tencentcloud/resource_tc_kubernetes_cluster.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,9 @@ func resourceTencentCloudTkeCluster() *schema.Resource {
996996
Type: schema.TypeBool,
997997
Default: false,
998998
Optional: true,
999-
Description: "Open internet access or not.",
999+
Description: "Open internet access or not." +
1000+
" If this field is set 'true', the field below `worker_config` must be set." +
1001+
" Because only cluster with node is allowed enable access endpoint.",
10001002
},
10011003
"cluster_intranet": {
10021004
Type: schema.TypeBool,

website/docs/r/kubernetes_cluster.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ The following arguments are supported:
419419
* `cluster_deploy_type` - (Optional, ForceNew) Deployment type of the cluster, the available values include: 'MANAGED_CLUSTER' and 'INDEPENDENT_CLUSTER'. Default is 'MANAGED_CLUSTER'.
420420
* `cluster_desc` - (Optional) Description of the cluster.
421421
* `cluster_extra_args` - (Optional, ForceNew) Customized parameters for master component,such as kube-apiserver, kube-controller-manager, kube-scheduler.
422-
* `cluster_internet` - (Optional) Open internet access or not.
422+
* `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.
423423
* `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.
424424
* `cluster_intranet` - (Optional) Open intranet access or not.
425425
* `cluster_ipvs` - (Optional, ForceNew) Indicates whether `ipvs` is enabled. Default is true. False means `iptables` is enabled.

0 commit comments

Comments
 (0)