A local Kubernetes cluster setup for macOS (M1/M2) using Colima, Kind, and Cilium, with a sample Echo service from HashiCorp exposed via a local LoadBalancer.
Once complete, you'll have an Echo service available at:
👉 https://echo.echo-lb.kube
This setup provides cluster exposed LoadBalancer IP's, making it ideal for testing production-like networking behavior in a local dev environment.
This project includes:
- A local Kubernetes cluster powered by Kind and Colima
- Cilium as the CNI and gateway api
- A simple Echo service for testing
- Local DNS resolution
- Self-signed TLS certificates
Note: Command files are named with a
.sh
extension, but they’re not actual shell scripts.
Copy and paste the commands into your terminal to execute them.
To get everything up and running, follow these steps in order:
- Colima – Launch the container runtime
- Kind – Create the Kubernetes cluster
- Cilium – Install the CNI and gateway api
- Echo – Deploy the Echo app
- DNS – Enable local DNS for custom domains
- Certificates – Add HTTPS support
For a detailed walkthrough, including explanations of each step and troubleshooting tips,
📘 Read the full article here