Kubernetes nodepool
Example Syntax
Parameter Reference
The following parameters are supported:
Name | Required | Type | Default | Description |
---|---|---|---|---|
nodepool_name | yes | string | The name of the nodepool. Required only for state = 'present' | |
k8s_cluster_id | yes | string | The ID of the cluster. | |
nodepool_id | yes/no | string | The ID of the nodepool. Required for state = 'update' or state = 'absent' | |
datacenter_id | yes/no | string | The ID of the datacenter. Required only for state = 'present' | |
node_count | yes/no | int | The number of nodes in the nodepool. Required only for state = 'present' | |
cpu_family | yes/no | string | A valid CPU family name. Required only for state = 'update' or state = 'absent' | |
cores_count | yes/no | string | The number of cores. Required only for state = 'present' | |
ram_size | yes/no | string | RAM size for node, minimum size 2048MB is recommended. Required only for state = 'present' | |
availability_zone | yes/no | string | The availability zone in which the server should exist. Required only for state = 'present' | |
storage_type | yes/no | string | Hardware type of the volume. Required only for state = 'present' | |
storage_size | yes/no | string | The size of the volume in GB. The size should be greater than 10GB. Required only for state = 'present' | |
maintenance_window | no | dict | The day and time for the maintenance. Contains 'dayOfTheWeek' and 'time'. | |
auto_scaling | no | dict | The minimum and maximum number of worker nodes that the managed node group can scale in. Contains 'min_node_count' and 'max_node_count'. | |
lan_ids | no | list | Array of additional LANs attached to worker nodes | |
labels | no | dict | Map of labels attached to node pool | |
annotations | no | dict | Map of annotations attached to node pool | |
public_ips | no | list | Optional array of reserved public IP addresses to be used by the nodes. IPs must be from same location as the data center used for the node pool. The array must contain one extra IP than maximum number of nodes could be. ( |
Last updated