Skip to content

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. Scaffold a new project in an empty directory:

    Terminal window
    mkdir quickstart && cd quickstart
    ksail cluster init --name quickstart --distribution Vanilla
  2. KSail writes three things you can commit to Git:

    FileWhat it is
    ksail.yamlKSail’s declarative cluster config — distribution, networking, GitOps, registries
    kind.yamlThe native Kind config (works with kind directly — no lock-in)
    k8s/Your workload manifests, with a kustomization.yaml to start
Terminal window
ksail cluster create

This 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:

Terminal window
ksail cluster info
kubectl get nodes

Add a manifest to k8s/ — for example k8s/nginx.yaml:

k8s/nginx.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx
spec:
replicas: 1
selector:
matchLabels: { app: nginx }
template:
metadata:
labels: { app: nginx }
spec:
containers:
- name: nginx
image: nginx:stable

Apply it:

Terminal window
ksail workload apply -k ./k8s
Terminal window
ksail workload get pods
ksail workload logs deployment/nginx

For an interactive view, open K9s against the cluster:

Terminal window
ksail cluster connect
Terminal window
ksail cluster delete
  1. Deliver with GitOps → — the recommended workflow: package your manifests as an OCI artifact and let Flux or ArgoCD reconcile them.

  2. Choose your setup → — when to reach for K3s, Talos, VCluster, KWOK, or EKS, and which provider runs each.

  3. Browse the guides → — task-focused how-tos for registries, secrets, multi-environment workflows, tenants, CI/CD, and more.