You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logs from "tmp-shell" pod Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "3574ecbded3a47def3133b1d8a783035a1a63f6d95ba4c4a3845c5cf24c78614": plugin type="multus" failed (add): Multus: error getting k8s client: GetK8sClient: failed to get context for the kubeconfig /etc/cni/net.d/multus.d/multus.kubeconfig: stat /etc/cni/net.d/multus.d/multus.kubeconfig: no such file or directory
Additional information
Logs from multus pod:
multus-wwvcj multus-cni kubeconfig is created in /bitnami/multus-cni/host/etc/cni/net.d/multus.d/multus.kubeconfig
multus-wwvcj multus-cni kubeconfig file is created.
multus-wwvcj multus-cni master capabilities is get from conflist
multus-wwvcj multus-cni multus config file is created.
multus-wwvcj generate-kubeconfig multus multus copy succeeded!
The text was updated successfully, but these errors were encountered:
javsalgar
changed the title
multus: failed to get context for the kubeconfig
[bitnami/multus-cni] failed to get context for the kubeconfig
Nov 25, 2024
This is strange, because looking at the logs the kubeconfig should be there. Could you try entering the container with kubectl exec and verify that it created the kubeconfig file? If so, maybe the hostCNINetDir is incorrect
Name and Version
bitnamicharts/multus-cni:2.1.19
What architecture are you using?
amd64
What steps will reproduce the bug?
kubectl netshoot run tmp-shell
Are you using any custom parameters or values?
What is the expected behavior?
No response
What do you see instead?
Logs from "tmp-shell" pod
Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "3574ecbded3a47def3133b1d8a783035a1a63f6d95ba4c4a3845c5cf24c78614": plugin type="multus" failed (add): Multus: error getting k8s client: GetK8sClient: failed to get context for the kubeconfig /etc/cni/net.d/multus.d/multus.kubeconfig: stat /etc/cni/net.d/multus.d/multus.kubeconfig: no such file or directory
Additional information
Logs from multus pod:
The text was updated successfully, but these errors were encountered: