A smol k8s homelab kit. Also mirrored to codeberg.org/open-engineering/smol-k8s-lab https://smol-k8s-lab.open.engineering
  • Python 99.9%
  • Shell 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
JesseBot 505c540fe4
Some checks failed
Deploy doc site to prod / build (push) Failing after 0s
fix where the mascot is
2026-08-16 20:46:44 +02:00
.forgejo update workflows for new location 2026-08-16 15:06:20 +02:00
docs fix where the mascot is 2026-08-16 20:46:44 +02:00
renovate_scripts update renovate script 2026-05-17 09:58:19 +02:00
smol_k8s_lab Fix Seaweedfs Restores (#67) 2026-08-16 07:55:25 +00:00
.gitignore Support Environments (#49) 2026-08-05 22:17:03 +00:00
.pre-commit-config.yaml update XDG library, add pre-commit hook (#56) 2023-04-08 02:14:07 -07:00
.stylelintrc.json Massive docs update for 2.0.0 (#98) 2023-12-02 11:34:58 +01:00
AI_POLICY.md update more references to old org 2026-06-16 11:58:39 +02:00
CODEOWNERS clean up more docs 2026-08-06 08:19:59 +02:00
CONTRIBUTING.md clean up old docs and old repos 2026-06-21 12:40:51 +02:00
LICENSE update license to be APGL: GNU Affero General Public License, which it should have been all along 2024-01-10 21:39:47 +01:00
poetry.lock Update dependency zensical to ^0.0.54 (#61) 2026-08-16 06:51:19 +00:00
pyproject.toml Fix Seaweedfs Restores (#67) 2026-08-16 07:55:25 +00:00
README.md align image to right 2026-08-16 19:56:18 +02:00
renovate.json update renovate.json 2026-05-15 09:56:13 +02:00
smol-k8s-lab.png v5.0.0: backup/restore apps, overhaul TTS, add new node to existing cluster + 🐛 fixes (#210) 2024-05-15 12:05:04 +02:00
zensical.toml reducing frequency of apps and distro tables 2026-08-10 15:12:37 +02:00

🧸 smol-k8s-lab

PyPI - Version PyPI - Downloads

A terminal based tool to install slimmer k8s distros on metal, with batteries included!

Screenshot of the smol-k8s-lab help menu

Features

  • Deploys Argo CD by default, so you can manage your entire lab using files in open source git repos
    • Argo CD ships with a dashboard with a custom theme 💙
    • Argo CD is default secured with a self hosted OIDC provider, Zitadel
The smol-k8s-lab mascot, a very simple brown bear with claws and a single fang. To his upper left he has a blue heart.
  • Uses a local password manager of your choice. Currently supported:
    • Bitwarden
    • KeyPass
    • macOS keychain
    • Freedesktop Secret Service supports many DE including GNOME (requires secretstorage)
    • KDE4 & KDE5 KWallet (requires dbus)
  • External Secerts management for your sensitive Kubernetes Secret values. Currently supported:
  • Manages all your authentication needs centrally using Zitadel, a self-hosted OIDC provider
  • Supports initialization on a range of common self-hosted apps 📱
  • Allows you to deploy multiple environments, so you can have environments for dev, testing, prod, etc.
  • Lots o' docs
  • Commitment to never monetizing this app. It will always be AGPL licensed and free 💙
  • No AI or LLM "features" and a "No AI" contribution policy

Installation

🐝 sure to check out our full installation guide, but the gist of it is smol-k8s-lab can be installed via pipx (or brew coming soon).

pipx

smol-k8s-lab requires Python 3.12+ (and pipx). If you've already got both and other pre-reqs, you should be able to:

# install the CLI
pipx install smol-k8s-lab

# Check the help menu before proceeding
smol-k8s-lab --help

Checkout our TUI docs for more info on how to get started playing with smol-k8s-lab :-)

Upgrades

Check out our upgrades guide for how to upgrade to different major versions, but in general, you can always run:

pipx upgrade smol-k8s-lab

Under the hood

Note: this project is not officially affiliated with any of the below tooling or applications.

Supported k8s distributions

We always install the latest version of Kubernetes that is available from the distro's startup script.

Distro Description

k3s
The certified Kubernetes distribution built for IoT & Edge computing

KinD
kind is a tool for running local Kubernetes clusters using Docker container “nodes”. kind was primarily designed for testing Kubernetes itself, but may be used for local development or CI.

We tend to test first on k3s first, then the other distros. k3d support coming soon.

Default Installed Applications

All of these can be disabled with the exception of Argo CD, which is optional, but if Argo CD is not installed, smol-k8s-lab will only install: MetalLB, prometheus CRDs, Traefik, and cert-manager.

Application Description
metallb logo, blue arrow pointing up, with small line on one leg of arrow to show balance
metallb
Loadbalancer and IP Address pool manager for metal
cert manager logo
cert-manager
For SSL/TLS certificates
traefik logo, blue gopher wearing a plane director outfit
Traefik
Traefik is both an Ingress and Gateway API controller and we're currently switching to supporting it in addition to cilium since ingress-nginx is deprecated.
alloy logo, a redish orange spiraly triangular circle
alloy
For collecting metrics, logs, and traces to be forwarded to loki, tempo, and mimir and viewed in grafana.
argo CD logo, an organer squid wearing a fishbowl helmet
Argo CD
Gitops - Continuous Deployment
ESO logo, outline of robot with astricks in a screen in it's belly
ESO
external-secrets-operator integrates external secret management systems like OpenBao and Bitwarden
OpenBao logo, drawing of 3 small bao with simple eyes personifying them
OpenBao
OpenBao (Hashicorp Vault fork) - it's a Secrets Store.
Zitadel logo, an orange arrow pointing left
ZITADEL
An identity provider and OIDC provider to provide SSO
Grafana logo, an orange spiral
Grafana Stack
Grafana monitoring and logging stack (LGTM) using loki, grafana, tempo, and mimir (which includes alert manager).

For a complete list of installable applications, checkout the default apps docs. To install your own custom apps, you can check out an example via the config file or learn how to do it via the tui.

Status

Somewhat stable and being actively supported, so if you'd like to contribute or just found a 🐛, feel free to open an issue (and/or pull request) over at codeberg.org, and we'll try to take a look ASAP!