KubernetesClusterPropertiesForPut

Properties

NameTypeDescriptionNotes

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]

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::KubernetesClusterPropertiesForPut.new(
  name: k8s,
  k8s_version: 1.15.4,
  maintenance_window: null,
  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