Models
Legal

KubernetesClusterProperties

Properties

Name

Type

Description

Notes

name

String

A Kubernetes Cluster Name. Valid Kubernetes Cluster 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.

k8s_version

String

The kubernetes version in which a cluster 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

KubernetesMaintenanceWindow

[optional]

available_upgrade_versions

Array<String>

List of available versions for upgrading the cluster

[optional]

viable_node_pool_versions

Array<String>

List of versions that may be used for node pools under this cluster

[optional]

public

Boolean

The indicator if the cluster is public or private. Be aware that setting it to false is currently in beta phase.

[optional][default to true]

gateway_ip

String

The IP address of the gateway used by the cluster. This is mandatory when `public` is set to `false` and should not be provided otherwise.

[optional]

Example

require 'ionoscloud'
instance = Ionoscloud::KubernetesClusterProperties.new(
name: k8s,
k8s_version: 1.15.4,
maintenance_window: null,
available_upgrade_versions: [1.16.4, 1.17.7],
viable_node_pool_versions: [1.17.7, 1.18.2],
public: null,
gateway_ip: 192.170.0.1
)