A Kubernetes Node Pool Name. Valid Kubernetes Node Pool name must be 63 characters or less and must be empty or begin and end with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.
A valid uuid of the datacenter on which user has access
Number of nodes part of the Node Pool
A valid cpu family name
Number of cores for node
RAM size for node, minimum size is 2048MB. Ram size must be set to multiple of 1024MB.
The availability zone in which the target VM should exist
Hardware type of the volume
The size of the volume in GB. The size should be greater than 10GB.
The kubernetes version in which a nodepool is running. This imposes restrictions on what kubernetes versions can be run in a cluster's nodepools. Additionally, not all kubernetes versions are viable upgrade targets for all prior versions.
array of additional LANs attached to worker nodes
map of labels attached to node pool
map of annotations attached to node pool
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.
require 'ionoscloud'instance = Ionoscloud::KubernetesNodePoolPropertiesForPost.new(name: k8s-node-pool,datacenter_id: 1e072e52-2ed3-492f-b6b6-c6b116907521,node_count: 2,cpu_family: AMD_OPTERON,cores_count: 4,ram_size: 2048,availability_zone: AUTO,storage_type: HDD,storage_size: 100,k8s_version: 1.15.4,maintenance_window: null,auto_scaling: null,lans: null,labels: null,annotations: null,public_ips: [126.96.36.199, 188.8.131.52, 184.108.40.206])