Setup k8s Kind cluster with Cilium CNI with StartWars demo workloads.
- Nodes: 1 master, 2 workers (ubuntu 22.04)
- Kubernetes v1.26.2
- Workloads from Cilium StartWars demo
- Observability: Hubble + UI (optional)
To provision the cluster run (it also installs kubectl, Kind and Cilium Cli, if missing):
bin/istall.sh
Verify the cluster:
kubectl get nodes -o wide
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
cilium-control-plane Ready control-plane 2m35s v1.26.2 172.19.0.4 <none> Ubuntu 22.04.2 LTS 5.15.49-linuxkit containerd://1.6.18
cilium-worker Ready worker 2m17s v1.26.2 172.19.0.2 <none> Ubuntu 22.04.2 LTS 5.15.49-linuxkit containerd://1.6.18
cilium-worker2 Ready worker 2m17s v1.26.2 172.19.0.3 <none> Ubuntu 22.04.2 LTS 5.15.49-linuxkit containerd://1.6.18
To get to the Hubble UI run:
cilium hubble ui
ℹ️ Opening "http://localhost:12000" in your browser...
Generate some network traffic with Cilium tests:
cilium connectivity test
Select cilium-test
namespace in the Hubble Dashboard (http://localhost:12000/cilium-test):
kind delete cluster --name cilium