ByCloud Docs
GuidesCLIAPISDK

Create Kubernetes cluster

bycloud kubernetes clusters create --name <name> --cluster_template_id <cluster_template_id> [flags]

Create a new Kubernetes cluster

Options

--output

(-o)

stringoptional

Output format: text, json, or yaml

Values: "text", "json", "yaml"

Default: "text"

Body Options

--cluster_template_id

stringrequired

--name

stringrequired

--create_timeout

integeroptional

--docker_volume_size

integeroptional

Docker volume size in GB

--fixed_network

stringoptional

--fixed_subnet

stringoptional

--flavor_id

stringoptional

--floating_ip_enabled

booleanoptional

Default: true

--keypair

stringoptional

SSH keypair name

--labels

objectoptional

--master_count

integeroptional

Default: 1

--master_flavor_id

stringoptional

--master_lb_enabled

booleanoptional

Default: true

--node_count

integeroptional

Default: 1

Command

bycloud kubernetes clusters create \
--name "my-resource" \
--cluster_template_id "abc-123"

Output

Success