Skip to content

Commit c6a20a3

Browse files
author
mikatong
committed
update doc
1 parent e45b09c commit c6a20a3

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
subcategory: "Tencent Kubernetes Engine(TKE)"
3+
layout: "tencentcloud"
4+
page_title: "TencentCloud: tencentcloud_kubernetes_addon_config"
5+
sidebar_current: "docs-tencentcloud-resource-kubernetes_addon_config"
6+
description: |-
7+
Provide a resource to configure addon that kubernetes comes with.
8+
---
9+
10+
# tencentcloud_kubernetes_addon_config
11+
12+
Provide a resource to configure addon that kubernetes comes with.
13+
14+
## Example Usage
15+
16+
### Update cluster-autoscaler addon
17+
18+
```hcl
19+
resource "tencentcloud_kubernetes_addon_config" "kubernetes_addon_config" {
20+
cluster_id = "cls-xxxxxx"
21+
addon_name = "cluster-autoscaler"
22+
raw_values = "{\"extraArgs\":{\"scale-down-enabled\":true,\"max-empty-bulk-delete\":11,\"scale-down-delay-after-add\":\"10mm\",\"scale-down-unneeded-time\":\"10mm\",\"scale-down-utilization-threshold\":0.005,\"ignore-daemonsets-utilization\":false,\"skip-nodes-with-local-storage\":true,\"skip-nodes-with-system-pods\":true}}"
23+
}
24+
`
25+
```
26+
27+
## Argument Reference
28+
29+
The following arguments are supported:
30+
31+
* `addon_name` - (Required, String, ForceNew) Name of addon.
32+
* `cluster_id` - (Required, String, ForceNew) ID of cluster.
33+
* `addon_version` - (Optional, String) Version of addon.
34+
* `raw_values` - (Optional, String) Params of addon, base64 encoded json format.
35+
36+
## Attributes Reference
37+
38+
In addition to all arguments above, the following attributes are exported:
39+
40+
* `id` - ID of the resource.
41+
* `phase` - Status of addon.
42+
* `reason` - Reason of addon failed.
43+
44+

website/tencentcloud.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4583,6 +4583,9 @@
45834583
<li>
45844584
<a href="/docs/providers/tencentcloud/r/kubernetes_addon_attachment.html">tencentcloud_kubernetes_addon_attachment</a>
45854585
</li>
4586+
<li>
4587+
<a href="/docs/providers/tencentcloud/r/kubernetes_addon_config.html">tencentcloud_kubernetes_addon_config</a>
4588+
</li>
45864589
<li>
45874590
<a href="/docs/providers/tencentcloud/r/kubernetes_auth_attachment.html">tencentcloud_kubernetes_auth_attachment</a>
45884591
</li>

0 commit comments

Comments
 (0)