2 min read

ksailnet

Table of Contents

ksailnet

Generated by DALLΒ·E: β€œa digital cartoon blue gopher at the helm of a simple sailboat”

ksailnet is engineered to optimize Inner Loop Development in a cloud-native ecosystem. It brings together a lightweight k3s Kubernetes cluster, automated deployment via a custom CLI, and built-in observability using Prometheus and Grafanaβ€”all from within a Codespace or VSCode DevContainer.

πŸš€ Deploy your own

πŸ“‹ Features

  • βœ… One-click Codespaces/VSCode DevContainer setup
  • βœ… Lightweight local k3s cluster
  • βœ… Monitoring with Prometheus and Grafana
  • βœ… Automatic Docker build and deployment with kic CLI
  • βœ… Developer-focused inner loop tooling
  • βœ… Pre-installed Kubernetes/Docker extensions
  • βœ… Sample microservice deployment workflow
  • βœ… Heartbeat service for liveliness tracking
  • βœ… Extendable for advanced use cases (Kafka, PDBs, Topology)

πŸ“Έ Screenshots

ksailnet dashboard
ksailnet workflow

πŸ§ͺ Developer Workflow Example

git clone https://github.com/maazghani/ksailnet.git
cd ksailnet/deploy
git clone [your-disco-repo-url] disco
kic build disco
kic cluster deploy

Log in to Grafana at the forwarded port with admin:admin.

πŸ› οΈ Core Components

DevContainer

  • Docker-in-Docker
  • Port forwarding
  • VSCode extensions baked in

Deployment Configs

  • YAMLs for Prometheus, Grafana, Fluentbit
  • Custom dashboards and metrics

kic CLI

  • Build/deploy microservices
  • Auto cleanup and validation
  • Deploys IMDb sample app

🧠 Advanced Use Cases

For SREs
  • Simulate zones using topology-labeled k3d agents
  • Test PodTopologyConstraints locally
  • Validate PodDisruptionBudgets for Kafka
  • Build interactive Jupyter Notebooks for live Kubernetes demos

πŸ’» Commands

CommandAction
kic build <svc>Builds Docker image and pushes to local registry
kic cluster deployDeploys all manifests in deploy/ to k3s

πŸ›οΈ License

MIT