Kubernetes nodepool
Example Syntax
- name: Create k8s cluster nodepool
ionoscloudsdk.ionoscloud.k8s_nodepools:
cluster_name: "{{ name }}"
k8s_cluster_id: "{{k8s.id}}"
datacenter_id: "{{datacenter.id}}"
node_count: "1"
cpu_family: "AMD_OPTERON"
cores_count: "1"
ram_size: "2048"
availability_zone: "AUTO"
storage_type: "SSD"
storage_size: "100"
public_ips:
- 185.132.45.40
- 217.160.200.52
state: present
- name: Delete k8s cluster nodepool
ionoscloudsdk.ionoscloud.k8s_nodepools:
k8s_cluster_id: "{{k8s.id}}"
nodepool_id: "{{nodepool.id}}"
state: absent
- name: Update k8s cluster nodepool
ionoscloudsdk.ionoscloud.k8s_nodepools:
cluster_name: "{{ name }}"
k8s_cluster_id: "{{k8s.id}}"
nodepool_id: "{{nodepool.id}}"
node_count: 1
cores_count: "1"
maintenance_window:
day: 'Tuesday'
time: '13:03:00'
auto_scaling:
min_node_count: 1
max_node_count: 3
public_ips:
- 185.132.45.40
- 217.160.200.52
state: update
Parameter Reference
The following parameters are supported:
Last updated