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
π§ͺ 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
Command | Action |
---|---|
kic build <svc> | Builds Docker image and pushes to local registry |
kic cluster deploy | Deploys all manifests in deploy/ to k3s |
ποΈ License
MIT