Thanks to visit codestin.com
Credit goes to ksail.devantler.tech

Skip to content
KSail CLI showing ASCII art banner and help output KSail CLI showing ASCII art banner and help output

KSail Documentation

KSail bundles Kubernetes tooling into a single CLI for cluster management and cloud-native operations.

Setting up and operating Kubernetes clusters often requires juggling multiple CLI tools, writing bespoke scripts, and dealing with inconsistent workflows. KSail removes the tooling overhead so you can focus on your workloads.

  • 📦 One Binary — Embeds cluster provisioning, GitOps engines, and deployment tooling. No tool sprawl.
  • ☸️ Simple Clusters — Spin up Vanilla, K3s, or Talos clusters with one command. Same workflow across distributions.
  • 📄 Everything as Code — Cluster settings, distribution configs, and workloads in version-controlled files.
  • 🔄 GitOps Native — Built-in Flux or ArgoCD support with bootstrap, push, and reconcile commands.
  • ⚙️ Customizable Stack — Select your CNI, CSI, policy engine, cert-manager, and mirror registries.
  • 🔐 SOPS Built In — Encrypt, decrypt, and edit secrets with integrated cipher commands.
  • 🤖 AI Assistant — Interactive chat powered by GitHub Copilot for configuration and troubleshooting.
  • 💻 VSCode Extension — Manage clusters from VSCode with wizards, sidebar views, and command palette.

KSail works on all major operating systems and CPU architectures:

OSArchitecture
🐧 Linuxamd64, arm64
macOSarm64
⊞ Windows (untested)amd64, arm64

Docker is required for local clusters. Install Docker Desktop/Engine and ensure docker ps works.

Supported distributions run on different infrastructure providers:

ProviderVanillaK3sTalos
Docker✅ (Kind)✅ (K3d)
Hetzner
Terminal window
# 1. Initialize a new project
ksail cluster init --name my-cluster --distribution Vanilla
# 2. Create and start the cluster
ksail cluster create
# 3. Add manifests to k8s/ directory
# 4. Deploy workloads
ksail workload apply -k ./k8s
# 5. Connect with K9s
ksail cluster connect
KSail Mental Model

Features

Cluster provisioning, GitOps, secret management, VSCode extension, and more. Learn more →

Concepts

Kubernetes, CNI, CSI, GitOps, and related technologies. Learn more →

Use Cases

Workflows for learning, development, and CI/CD. Learn more →

Support Matrix

Supported platforms, distributions, and components. Learn more →

Configuration Overview

Configuration sources, precedence, and when to use each. Learn more →

Declarative Configuration

Complete ksail.yaml reference. Learn more →

Troubleshooting

Common issues and solutions when using KSail. Learn more →