- Add-ons documentation
- CCE Addon autoscaler template
- Autoscaler repo
To get information about add-on use the following data
huaweicloud_cce_addon_template
.
Example for autoscaler
add-on
data "huaweicloud_cce_addon_template" "test" {
cluster_id = var.cce_cluster_id
name = "autoscaler"
version = "1.25.46"
}
output "version" {
value = data.huaweicloud_cce_addon_template.test
}
Name | Version |
---|---|
terraform | ~> 1.7 |
huaweicloud | ~>1.63 |
Name | Version |
---|---|
huaweicloud | ~>1.63 |
No modules.
Name | Type |
---|---|
huaweicloud_cce_addon.autoscaler | resource |
huaweicloud_cce_cluster.cluster | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
addon_version | Version of Autoscaler addon | string |
"1.25.46" |
no |
category | Category | list(string) |
[ |
no |
cluster_id | Specifies the CCE cluster ID | string |
n/a | yes |
cores_total | Total number of cores | number |
64 |
no |
expander | Expander | string |
"priority,least-waste" |
no |
local_volume_node_scaling_enabled | Local volume node scaling enabled | bool |
false |
no |
log_level | Log level | number |
4 |
no |
max_empty_bulk_delete_flag | Max empty bulk delete flag | number |
10 |
no |
max_node_provision_time | Max node provision time | number |
15 |
no |
max_nodes_total | Max nodes total | number |
10 |
no |
memory_total | Memory total | number |
128 |
no |
metrics_server_version | Version of Autoscaler addon | string |
"1.3.2" |
no |
multi_az_enabled | Multi AZ | bool |
false |
no |
new_ephemeral_volumes_pod_scale_up_delay | New ephemeral volumes pod scale up delay | number |
10 |
no |
node_match_expressions | Node match expressions | list(string) |
[] |
no |
platform | Platform | string |
"linux-amd64" |
no |
rbac_enabled | Kubernetes rbac enabled | bool |
true |
no |
recommend_cluster_flavor_types | Recommend cluster flavor types | list(string) |
[ |
no |
region | Specifies the region in which to create the CCE node pool resource, if omitted, the provider-level region will be used | string |
n/a | yes |
replicas | Number of replicas | number |
1 |
no |
resources | Kubernetes resources | object({ |
{} |
no |
scale_down | Scale down configuration | object({ |
{} |
no |
scale_up | Scale up configuration | object({ |
{} |
no |
skip_nodes_with_custom_controller_pods | Skip nodes with custom controller pods | bool |
true |
no |
swr_addr | SWR Address | string |
null |
no |
swr_user | SWR User name | string |
"hwofficial" |
no |
tenant_id | Tenant ID | string |
n/a | yes |
tolerations | Kubernetes tolerations | any |
[ |
no |
unremovable_node_recheck_timeout | Unremovable node recheck timeout | number |
5 |
no |
No outputs.