Dataplane V2 does not support L7 visibility so you will be limited to L4 flows.
- Add the following to
cilium-config
ConfigMap's data inkube-system
:
kubectl --namespace kube-system edit configmap cilium-config
enable-hubble: "true"
hubble-disable-tls: "true"
hubble-listen-address: ":4244"
- Add the following port to
cilium-agent
container in theanetd
DaemonSet inkube-system
:
kubectl --namespace kube-system edit daemonsets.apps anetd
- containerPort: 4244
hostPort: 4244
name: hubble
- Restart
anetd
:
kubectl --namespace kube-system rollout restart daemonset anetd
- Deploy hubble-ui
kubectl create namespace hubble-ui
kubectl --namespace hubble-ui apply -f https://gist.githubusercontent.com/epk/31e9b0ededb5c21872ccd492d61f541a/raw/f2a1e32ff9188facf1aa54f5c04fb65d5976943e/hubble-ui.yml
- Port-forward to hubble-ui
kubectl --namespace hubble-ui port-forward svc/hubble-ui 8081
- Access hubble UI at http://localhost:8081
Cleanup:
kubectl --namespace hubble-ui delete -f https://gist.githubusercontent.com/epk/31e9b0ededb5c21872ccd492d61f541a/raw/f2a1e32ff9188facf1aa54f5c04fb65d5976943e/hubble-ui.yml
kubectl delete namespace hubble-ui
- Revert steps 1 & 2
kubectl --namespace kube-system rollout restart daemonset anetd