Quickstart
This is the fastest path from nothing to a running cluster with a workload on it. It uses the
Vanilla distribution (upstream Kubernetes via Kind) because it is the quickest to start and needs
only Docker. The exact same commands work for every other distribution — only the
--distribution flag changes.
1. Initialize a project
Section titled “1. Initialize a project”-
Scaffold a new project in an empty directory:
Terminal window mkdir quickstart && cd quickstartksail cluster init --name quickstart --distribution Vanilla -
KSail writes three things you can commit to Git:
File What it is ksail.yamlKSail’s declarative cluster config — distribution, networking, GitOps, registries kind.yamlThe native Kind config (works with kinddirectly — no lock-in)k8s/Your workload manifests, with a kustomization.yamlto start
2. Create the cluster
Section titled “2. Create the cluster”ksail cluster createThis provisions the nodes and installs the cluster’s components (CNI, metrics-server, and anything else
your ksail.yaml selects), retrying transient failures automatically. First run pulls images, so give it
a minute.
Verify it is up:
ksail cluster infokubectl get nodes3. Deploy your first workload
Section titled “3. Deploy your first workload”Add a manifest to k8s/ — for example k8s/nginx.yaml:
apiVersion: apps/v1kind: Deploymentmetadata: name: nginxspec: replicas: 1 selector: matchLabels: { app: nginx } template: metadata: labels: { app: nginx } spec: containers: - name: nginx image: nginx:stableApply it:
ksail workload apply -k ./k8s4. Inspect what you deployed
Section titled “4. Inspect what you deployed”ksail workload get podsksail workload logs deployment/nginxFor an interactive view, open K9s against the cluster:
ksail cluster connect5. Clean up
Section titled “5. Clean up”ksail cluster deleteWhat’s next
Section titled “What’s next”-
Deliver with GitOps → — the recommended workflow: package your manifests as an OCI artifact and let Flux or ArgoCD reconcile them.
-
Choose your setup → — when to reach for K3s, Talos, VCluster, KWOK, or EKS, and which provider runs each.
-
Browse the guides → — task-focused how-tos for registries, secrets, multi-environment workflows, tenants, CI/CD, and more.