Skip to main content

🧸 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
  • 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 :bug:, feel free to open an issue (and/or pull request) over at codeberg.org, and we'll try to take a look ASAP!

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smol_k8s_lab-11.3.4.tar.gz (193.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

smol_k8s_lab-11.3.4-py3-none-any.whl (293.3 kB view details)

Uploaded Python 3

File details

Details for the file smol_k8s_lab-11.3.4.tar.gz.

File metadata

  • Download URL: smol_k8s_lab-11.3.4.tar.gz
  • Upload date:
  • Size: 193.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.11.2 Linux/6.1.0-51-amd64

File hashes

Hashes for smol_k8s_lab-11.3.4.tar.gz
Algorithm Hash digest
SHA256 159973b4341eb45f9cf05447ce6c2a9a726374745e77a135f627f37a04b65a6e
MD5 3d730b0acd081230aa930b0dee39ccf7
BLAKE2b-256 6e349182d255368e738e6751f140ee4086c5a62ea5c59829ce1526d637043037

See more details on using hashes here.

File details

Details for the file smol_k8s_lab-11.3.4-py3-none-any.whl.

File metadata

  • Download URL: smol_k8s_lab-11.3.4-py3-none-any.whl
  • Upload date:
  • Size: 293.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.11.2 Linux/6.1.0-51-amd64

File hashes

Hashes for smol_k8s_lab-11.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f3ae1ff56ac090e1f0f2fe1533c5a348d65592d69ee9d202bf3a00c1e3e40c97
MD5 bf0718fee7d16caf73003245c650bf94
BLAKE2b-256 c48c85a72cd2441fe087b8116fcf5f565c4c2b0fe43094bb41e0b8af474e1194

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page