Skip to content

thisurawijesekera/terraform-huaweicloud-cce-addons

 
 

Repository files navigation

Huawei Cloud Container Engine Add-ons

Add-ons documentation

To get information about add-on use the following data huaweicloud_cce_addon_template.

Example for metrics-server add-on

data "huaweicloud_cce_addon_template" "test" {
  cluster_id = var.cce_cluster_id
  name       = "metrics-server"
  version    = "1.3.2"
}

output "version" {
  value = data.huaweicloud_cce_addon_template.test
}

Requirements

Name Version
terraform ~> 1.7
huaweicloud ~>1.63

Providers

Name Version
huaweicloud ~>1.63

Modules

No modules.

Resources

Name Type
huaweicloud_cce_addon.metrics_server resource
huaweicloud_cce_addon.nginx_ingress resource
huaweicloud_availability_zones.zones data source
huaweicloud_cce_cluster.cluster data source

Inputs

Name Description Type Default Required
cluster_id Specifies the CCE cluster ID string n/a yes
metrics_server Enabler for metric server addon bool false no
metrics_server_replicas Number of replicas for metric server string "1" no
metrics_server_resources n/a
object({
limits_cpu = optional(string, "100m")
limits_mem = optional(string, "100Mi")
requests_cpu = optional(string, "100m")
requests_mem = optional(string, "100Mi")
})
{} no
metrics_server_version Version of metric server addon string "1.3.2" no
nginx_ingress Enabler for nginx Ingress addon bool false no
nginx_ingress_config Use the Nginx Configuration options https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#configuration-options map(string)
{
"keep-alive-requests": "100"
}
no
nginx_ingress_default_backend Nginx Ingress default backend configuration
object({
enable = optional(bool, false)
service = optional(string, "")
})
{} no
nginx_ingress_elb_auto_create ELB Autocreate annotations, https://support.huaweicloud.com/intl/en-us/usermanual-cce/cce_01_0014.html
object({
type = optional(string, "inner")
bandwidth_chargemode = optional(string, "traffic")
bandwidth_size = optional(number, 5)
bandwidth_sharetype = optional(string, "PER")
eip_type = optional(string, "5_bgp")
available_zone = optional(list(string), [])
l4_flavor_name = optional(string, "L4_flavor.elb.s1.small")
})
{} no
nginx_ingress_elb_auto_create_az_number Number of AZ for auto-created ELB if nginx_ingress_elb_auto_create.available_zone is empty number 1 no
nginx_ingress_elb_id Network Load balancer ID, if 'null' ELB Autocreate will use string null no
nginx_ingress_extra_annotations Extra annotations for Nginx service https://support.huaweicloud.com/intl/en-us/usermanual-cce/cce_01_0014.html map(string)
{
"kubernetes.io/elb.pass-through": "true"
}
no
nginx_ingress_replicas Number of replicas for nginx Ingress number 1 no
nginx_ingress_resources n/a
object({
limits_cpu = optional(string, "1000m")
limits_mem = optional(string, "1000Mi")
requests_cpu = optional(string, "200m")
requests_mem = optional(string, "200Mi")
})
{} no
nginx_ingress_version Version of nginx Ingress addon string "2.1.3" no
region Specifies the region in which to create the CCE node pool resource, if omitted, the provider-level region will be used string null no

Outputs

Name Description
metrics_server_id ID of the Add-on Metrics Server instance
metrics_server_status Add-on Metrics Server status information

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 100.0%