-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pod is not scheduled with istio ambient mode #11369
Comments
This sounds like an issue with Istio's k3s-specific install instructions? I'm not sure what we need to fix here. |
See also: https://docs.k3s.io/networking/multus-ipams
|
Yeah considering istio builds specific install functionality around K3s "platform" they need to fix their install location for their cni plugin |
I guess this path are wrong right ? This line : Must be: /var/lib/rancher/k3s/data/cni/ |
Yes. As noted above, the "current" bin dir changes every time K3s is upgraded. That is no longer the correct place to install CNI binaries. |
For someone using the ambient helm chart, looking for a solution : --set cni.cniConfDir=/var/lib/rancher/k3s/agent/etc/cni/net.d --set cni.cniBinDir=/var/lib/rancher/k3s/data/cni/ It's work |
Environmental Info:
K3s Version:
k3s version v1.31.2+k3s1 (6da2042)
go version go1.22.8
Node(s) CPU architecture, OS, and Version:
17-Ubuntu SMP Mon Sep 2 13:48:07 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 24.04.1 LTS
Cluster Configuration:
Single node
Describe the bug:
After installing istio Ambient mode with specific instruction for k3s, all new pod are stuck in creating state.
Steps To Reproduce:
Additional context / logs:
plugin type="istio-cni" name="istio-cni" failed (add): failed to find plugin "istio-cni" in path [/var/lib/rancher/k3s/data/cni]
Workaround:
ln -s /var/lib/rancher/k3s/data/current/bin/istio-cni /var/lib/rancher/k3s/data/cni/istio-cni
After this command everything work again.
The text was updated successfully, but these errors were encountered: