-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
mikatong
committed
Jul 15, 2024
1 parent
e45b09c
commit c6a20a3
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
subcategory: "Tencent Kubernetes Engine(TKE)" | ||
layout: "tencentcloud" | ||
page_title: "TencentCloud: tencentcloud_kubernetes_addon_config" | ||
sidebar_current: "docs-tencentcloud-resource-kubernetes_addon_config" | ||
description: |- | ||
Provide a resource to configure addon that kubernetes comes with. | ||
--- | ||
|
||
# tencentcloud_kubernetes_addon_config | ||
|
||
Provide a resource to configure addon that kubernetes comes with. | ||
|
||
## Example Usage | ||
|
||
### Update cluster-autoscaler addon | ||
|
||
```hcl | ||
resource "tencentcloud_kubernetes_addon_config" "kubernetes_addon_config" { | ||
cluster_id = "cls-xxxxxx" | ||
addon_name = "cluster-autoscaler" | ||
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}}" | ||
} | ||
` | ||
``` | ||
|
||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
|
||
* `addon_name` - (Required, String, ForceNew) Name of addon. | ||
* `cluster_id` - (Required, String, ForceNew) ID of cluster. | ||
* `addon_version` - (Optional, String) Version of addon. | ||
* `raw_values` - (Optional, String) Params of addon, base64 encoded json format. | ||
|
||
## Attributes Reference | ||
|
||
In addition to all arguments above, the following attributes are exported: | ||
|
||
* `id` - ID of the resource. | ||
* `phase` - Status of addon. | ||
* `reason` - Reason of addon failed. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters