K8sCreate

Creates a new Managed Kubernetes cluster.

knife ionoscloud k8s create (options)

Available options:

Required options:

  • name

  • ionoscloud_username

  • ionoscloud_password

name: --name NAME, -n NAME
name of the server (required)
version: --version VERSION, -v VERSION
the version for the Kubernetes cluster.
private: --private
the indicator if the cluster is public or private. Be aware that setting it to false is currently in beta phase.
maintenance_day: --maintenance-day MAINTENANCE_DAY
day Of the week when to perform the maintenance.
maintenance_time: --maintenance-time MAINTENANCE_TIME, -t MAINTENANCE_TIME
time Of the day when to perform the maintenance.
api_subnet_allow_list: --subnets SUBNET[,SUBNET,...]
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.
s3_buckets: --s3-buckets BUCKET[,BUCKET,...]
list of S3 bucket configured for K8s usage. For now it contains only one S3 bucket used to store K8s API audit logs.
ionoscloud_username: --username USERNAME, -u USERNAME
your Ionoscloud username (required)
ionoscloud_password: --password PASSWORD, -p PASSWORD
your Ionoscloud password (required)
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
path to the additional config file

Example

knife ionoscloud k8s create --name NAME --version VERSION --private --maintenance-day MAINTENANCE_DAY --maintenance-time MAINTENANCE_TIME --subnets SUBNET[,SUBNET,...] --s3-buckets BUCKET[,BUCKET,...] --username USERNAME --password PASSWORD --extra-config EXTRA_CONFIG_FILE_PATH