Links

KubernetesNodePoolPropertiesForPut

Properties

Name
Type
Description
Notes
name
String
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.
[optional]
node_count
Integer
The number of nodes that make up the node pool.
k8s_version
String
The Kubernetes version the 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.
[optional]
maintenance_window
[optional]
auto_scaling
[optional]
lans
array of additional LANs attached to worker nodes
[optional]
labels
Hash<String, String>
map of labels attached to node pool.
[optional]
annotations
Hash<String, String>
map of annotations attached to node pool.
[optional]
public_ips
Array<String>
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 more IP than the maximum possible number of nodes (nodeCount+1 for fixed number of nodes or maxNodeCount+1 when auto scaling is used). The extra IP is used when the nodes are rebuilt.
[optional]

Example

require 'ionoscloud'
instance = Ionoscloud::KubernetesNodePoolPropertiesForPut.new(
name: k8s-node-pool,
node_count: 2,
k8s_version: 1.15.4,
maintenance_window: null,
auto_scaling: null,
lans: null,
labels: null,
annotations: null,
public_ips: [81.173.1.2, 82.231.2.5, 92.221.2.4]
)