Skip to content

Setup Kind k8s cluster with Cilium CNI on MacOS

License

Notifications You must be signed in to change notification settings

antonblr/kind-cilium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kind-cilium

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)

Pre-requisites

Installation

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

Observability

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):

Hubble Dashboard

Clean-up

kind delete cluster --name cilium

Troubleshooting

About

Setup Kind k8s cluster with Cilium CNI on MacOS

Topics

Resources

License

Stars

Watchers

Forks

Languages