post
https://api.linode.com//lke/clusters
Creates a Kubernetes cluster. The Kubernetes cluster will be created asynchronously. You can use the events system to determine when the Kubernetes cluster is ready to use. Please note that it often takes 2-5 minutes before the Kubernetes API endpoints and the Kubeconfig file for the new cluster are ready.
Permissions and scopes
To call this operation, you need permissions, based on the model you're using:
-
Identity and access permissions. Your user needs a role with these permissions. Learn more.
- Roles:
account_lkecluster_creator
- Roles:
-
OAuth scopes. Your user needs these scopes assigned. Learn more.
- Scopes:
lke:read_write
- Scopes:
CLI
linode-cli lke cluster-create \
--label cluster12345 \
--region us-central \
--k8s_version 1.33 \
--apl_enabled false \
--control_plane.high_availability true \
--node_pools.type g6-standard-4 --node_pools.count 6 \
--node_pools.type g6-standard-8 --node_pools.count 3 \
--node_pools.autoscaler.enabled true \
--node_pools.autoscaler.max 12 \
--node_pools.autoscaler.min 3 \
--tags ecomm