K8s Nodepool
k8s_nodepool
Example Syntax
name: Create k8s cluster nodepool
ionoscloudsdk.ionoscloud.k8s_nodepool:
name: my-nodepool-
k8s_cluster: ''
datacenter: ''
node_count: 2
cpu_family: INTEL_SKYLAKE
cores_count: 1
ram_size: 2048
availability_zone: AUTO
storage_type: HDD
storage_size: 100
public_ips: ''
lans:
- id: ''
dhcp: false
auto_scaling:
min_node_count: 1
max_node_count: 3
labels:
foo: bar
color: red
size: '10'
annotations:
ann1: value1
ann2: value2
wait: true
register: result
name: Update k8s cluster nodepool no change
ionoscloudsdk.ionoscloud.k8s_nodepool:
k8s_cluster: ''
datacenter: ''
k8s_nodepool: ''
name: ''
node_count: 2
cpu_family: INTEL_SKYLAKE
cores_count: '1'
ram_size: '2048'
availability_zone: AUTO
storage_type: HDD
storage_size: '100'
public_ips: ''
lans:
- id: ''
dhcp: false
auto_scaling:
min_node_count: 1
max_node_count: 3
labels:
foo: bar
color: red
size: '10'
annotations:
ann1: value1
ann2: value2
wait: true
state: update
register: result_no_change
name: Delete k8s cluster nodepool
ionoscloudsdk.ionoscloud.k8s_nodepool:
k8s_cluster: ''
k8s_nodepool: ''
wait: false
state: absent
Returned object
For more examples please check out the tests here.
Parameters that can trigger a resource replacement:
state: present
Available parameters for state present:
Name
Required
Description
state: absent
Available parameters for state absent:
Name
Required
Description
state: update
Available parameters for state update:
Name
Required
Description
Last updated
