Creates a node pool into an existing Kubernetes cluster. The Kubernetes cluster must be in state "ACTIVE" before creating a node pool.

The worker nodes within the node pools will be deployed into an existing data centers.

knife ionoscloud nodepool create (options)

Available options:

Required options:

  • datacenter_id

  • cluster_id

  • name

  • k8s_version

  • node_count

  • cpu_family

  • cores

  • ram

  • availability_zone

  • storage_type

  • storage_size

  • ionoscloud_username

  • ionoscloud_password

datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
iD of the virtual datacenter (required)
cluster_id: --cluster-id CLUSTER_ID, -C CLUSTER_ID
iD of the Kubernetes cluster (required)
name: --name NAME, -n NAME
name of the Kubernetes node pool (required)
k8s_version: --version VERSION, -v VERSION
the version for the Kubernetes Nodepool. (required)
maintenance_day: --maintenance-day MAINTENANCE_DAY
day Of the week when to perform the maintenance.
maintenance_time: --maintenance-time MAINTENANCE_TIME, -t MAINTENANCE_TIME
time Of the day when to perform the maintenance.
node_count: --node-count NODE_COUNT, -c NODE_COUNT
the number of worker nodes that the node pool should contain. Min 2, Max: Determined by the resource availability. (required)
cpu_family: --cpu-family CPU_FAMILY, -f CPU_FAMILY
sets the CPU type. [AMD_OPTERON, INTEL_XEON, INTEL_SKYLAKE] (required)
cores: --cores CORES
the total number of cores for the node. (required)
ram: --ram RAM, -r RAM
the amount of RAM in MB (required)
availability_zone: --availability-zone AVAILABILITY_ZONE, -a AVAILABILITY_ZONE
the availability zone of the node pool (required)
storage_type: --storage-type STORAGE_TYPE
sets the storage type. [HDD, SSD] (required)
storage_size: --storage-size STORAGE_SIZE
the total allocated storage capacity of a node. (required)
min_node_count: --min-node-count MIN_NODE_COUNT
the minimum number of worker nodes that the managed node group can scale in
max_node_count: --max-node-count MAX_NODE_COUNT
the maximum number of worker nodes that the managed node pool can scale-out.
lans: --lans LAN_ID [LAN_ID]
an array of additional private LANs attached to worker nodes
public_ips: --ips PUBLIC_IP [PUBLIC_IP]
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. (nodeCount+1 if fixed node amount or maxNodeCount+1 if auto scaling is used) The extra provided IP Will be used during rebuilding of nodes.
labels: --labels LABEL [LABEL]
map of labels attached to node pool
annotations: --annotations ANNOTATION [ANNOTATION]
map of annotations attached to node pool
ionoscloud_username: --username USERNAME, -u USERNAME
your Ionoscloud username (required)
ionoscloud_password: --password PASSWORD, -p PASSWORD
your Ionoscloud password (required)
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
path to the additional config file


knife ionoscloud nodepool create --datacenter-id DATACENTER_ID --cluster-id CLUSTER_ID --name NAME --version VERSION --maintenance-day MAINTENANCE_DAY --maintenance-time MAINTENANCE_TIME --node-count NODE_COUNT --cpu-family CPU_FAMILY --cores CORES --ram RAM --availability-zone AVAILABILITY_ZONE --storage-type STORAGE_TYPE --storage-size STORAGE_SIZE --min-node-count MIN_NODE_COUNT --max-node-count MAX_NODE_COUNT --lans LAN_ID [LAN_ID] --ips PUBLIC_IP [PUBLIC_IP] --labels LABEL [LABEL] --annotations ANNOTATION [ANNOTATION] --username USERNAME --password PASSWORD --extra-config EXTRA_CONFIG_FILE_PATH