cilium hubble enable


Enable the Hubble UI

If you have not done so already, enable the Hubble UI by running the following command:

Cilium CLIHelmHelm (Standalone install)

cilium hubble enable --ui
🔑 Found existing CA in secret cilium-ca
✨ Patching ConfigMap cilium-config to enable Hubble...
♻️  Restarted Cilium pods
✅ Relay is already deployed
✅ Hubble UI is already deployed

img Copy First Line Copy All

Open the Hubble UI

Open the Hubble UI in your browser by running cilium hubble ui. It will automatically set up a port forward to the hubble-ui service in your Kubernetes cluster and make it available on a local port on your machine.

cilium hubble ui
Forwarding from -> 8081
Forwarding from [::]:12000 -> 8081
kubectl port-forward -n kube-system deployment/hubble-ui 8080:8081

The above command will block and continue running while the port forward is active. You can interrupt the command to abort the port forward and re-run the command to make the UI accessible again.

If your browser has not automatically opened the UI, open the page http://localhost:12000 in your browser. You should see a screen with an invitation to select a namespace, use the namespace selector dropdown on the left top corner to select a namespace: