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

[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]

api_subnet_allow_list

Array<String>

Access to the K8s API server is restricted to these CIDRs. Cluster-internal traffic is not affected by this restriction. If no allowlist is specified, access is not restricted. If an IP without subnet mask is provided, the default value will be used: 32 for IPv4 and 128 for IPv6.

[optional]

s3_buckets

List of S3 bucket configured for K8s usage. For now it contains only one S3 bucket used to store K8s API audit logs

[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],
  api_subnet_allow_list: [1.2.3.4/32, 2002::1234:abcd:ffff:c0a8:101/64, 1.2.3.4, 2002::1234:abcd:ffff:c0a8:101],
  s3_buckets: null
)

Last updated