ctlptl_create_cluster.md
June 4, 2026 ยท View on GitHub
ctlptl create cluster
Create a cluster with the given local Kubernetes product
ctlptl create cluster [product] [flags]
Examples
ctlptl create cluster docker-desktop
ctlptl create cluster kind --registry=ctlptl-registry
Options
--allow-missing-template-keys If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. (default true)
-h, --help help for cluster
--kubernetes-version string Sets the kubernetes version for the cluster, if possible
--min-cpus int Sets the minimum CPUs for the cluster
--minikube-container-runtime string Minikube container runtime (only applicable to a minikube cluster)
--minikube-extra-configs strings Minikube extra configs (only applicable to a minikube cluster)
--minikube-start-flags strings Minikube extra start flags (only applicable to a minikube cluster)
--name string Names the context. If not specified, uses the default cluster name for this Kubernetes product
-o, --output string Output format. One of: (json, yaml, kyaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).
--registry string Connect the cluster to the named registry
--show-managed-fields If true, keep the managedFields when printing objects in JSON or YAML format.
--template string Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].
SEE ALSO
- ctlptl create - Create a cluster or registry