Open maelvls opened 1 month ago
Thanks for the report @maelvls . Do you have full output from the cilium install
command?
It looks like for some reason the CLI is not detecting that this environment is GKE. This code is intended to automatically set the Helm option when the CLI detects GKE, but evidently it doesn't seem to be occuring in this case:
Is there an existing issue for this?
Version
equal or higher than v1.16.0 and lower than v1.17.0
What happened?
Dear Cilium community,
While following the quick installation guide for GKE at https://docs.cilium.io/en/stable/gettingstarted/k8s-install-default/, I got stuck with the following error message on the
cilium
deamonset; more specifically, themount-cgroup
container would show:I double-checked:
/opt/cni/bin
's permissions are already 0755 on the nodes:It seems like this isn't the right cni-path; it looks like GKE uses the CNI path
/home/kubernetes/bin
, as detailed in https://github.com/weaveworks/weave/issues/3466#issuecomment-443987066.Workaround
To work around this issue, I've set the CNI path to
/home/kubernetes/bin
instead of/opt/cni/bin/
, but I don't know if that's the correct way forward.Solution:
How can we reproduce the issue?
I created a GKE cluster with the recommended node taint with the following:
(I forgot to taint the nodes on creation; I added the taint afterwards, as seen in the commands)
I'm using the Cilium CLI v0.16.19 installed with Homebrew. I followed the official command for installing Cilium:
The deamonset shows as "failing":
Cilium Version
Kernel Version
The VM's disk source is https://www.googleapis.com/compute/v1/projects/gke-node-images/global/images/gke-1304-gke1348000-cos-113-18244-151-27-c-pre (Google's Container-Optimized OS)
Kubernetes Version
Sysdump
cilium-sysdump-20241010-104102.zip
Anything else?
Background story: I'm investigating an issue with cert-manager's ACME with Gateway API integration in cert-manager 1.16: https://github.com/cert-manager/cert-manager/issues/7337.