This project is archived and no longer maintained. These docs stay available as a reference. The code stays available under its original license.

What I build now:

  • Kubmin — per-workload cost, efficiency, and SCI/SEI intelligence for Kubernetes
  • infai — a terminal control plane for local LLM inference: one profile shape for llama.cpp and vLLM, many models at once, live tokens/sec plus CPU/RAM/VRAM telemetry, hardware fit checks before launch
  • infaiw — a daemon-based agent harness: sessions keep running after you close the terminal, sidecar loops must pass an acceptance check before reporting back, every event lands on a durable branchable timeline, and approvals wait for you

Want to take over maintenance of kli? If you still depend on it and would like to become the maintainer, reach out on Discord or open an issue.

Concepts

Concepts around ksctl core

This section will help you to learn about the underlying system of Ksctl. It will help you to obtain a deeper understanding of how Ksctl works.

📐 Architecture

Here is the entire Ksctl system level design

Sequence diagrams for 2 major operations

Create Cloud-Managed Clusters

sequenceDiagram
    participant cm as Manager Cluster Managed
    participant cc as Provision Controller
    cm->>cc: transfers specs from user or machine
    cc->>cc: to create the cloud infra (network, subnet, firewall, cluster)
    cc->>cm: 'kubeconfig' and other cluster access to the state
    cc->>cm: status of creation

Create Self-Managed HA clusters

sequenceDiagram
    participant csm as Manager Cluster Self-Managed
    participant cc as Provision Controller
    participant bc as Bootstrap Controller
    csm->>cc: transfers specs from user or machine
    cc->>cc: to create the cloud infra (network, subnet, firewall, vms)
    cc->>csm: return state to be used by BootstrapController
    csm->>bc: transfers infra state like ssh key, pub IPs, etc
    bc->>bc: bootstrap the infra by either (k3s or kubeadm)
    bc->>csm: 'kubeconfig' and other cluster access to the state
    bc->>csm: status of creation

Cluster Summary and Recommendation

Documentation on Ksctl’s cluster summary and recommendation features

Smart Cost & Emission Optimization

Documentation on kli’s intelligent region and instance selection features

Cloud Controller

The Component of kli responsible for creating and managing clusters for different Cloud platforms.

Core functionalities

How does the core functionalities of ksctl work

Core Manager

The Component of kli responsible for managing Cloud controller and Distribution controller. It has multiple types of managers

Distribution Controller

The Component of kli responsible for selecting the type of Bootstrap solution (Kubeadm or K3s).


Last modified March 1, 2025: fix for concepts section (a7871bb)