Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hubble-cli: Mount /var/run/cilium as a directory
I've been hitting an issue with mounting /var/run/cilium/hubble.sock as the Socket type where sometimes /var/run/cilium/hubble.sock gets created as a directory. To reproduce this behavior on minikube: - Deploy Cilium with the Hubble CLI enabled and wait for the hubble-cli to become ready. Verify that hubble.sock is a UNIX domain socket. - Set `enable-hubble` to "false" in cilium-config configmap and restart Cilium. - Now /var/run/cilium/hubble.sock is a directory. It seems like somehow hubble-cli creates the directory when Cilium deletes hubble.sock. Because of this directory Cilium fails to start Hubble server the next time `enable-hubble` gets set to `true`. With this PR /var/run/cilium directory gets mounted as a directory instead. I manually verified this fixes the issue. Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
- Loading branch information