Questions tagged [cni]

The Container Network Interface (CNI) is a library definition, and a set of tools under the umbrella of the Cloud Native Computing Foundation project

Reference:

135 questions
52
votes
14 answers

Container runtime network not ready: cni config uninitialized

I'm installing kubernetes(kubeadm) on centos VM running inside Virtualbox, so with yum I installed kubeadm, kubelet and docker. Now while trying to setup cluster with kubeadm init --pod-network-cidr=192.168.56.0/24…
BOUKANDOURA Mhamed
  • 941
  • 1
  • 9
  • 25
43
votes
3 answers

Kubernetes CNI vs Kube-proxy

I'm not sure what the difference is between the CNI plugin and the Kube-proxy in Kubernetes. From what I get out of the documentation I conclude the following: Kube-proxy is responsible for communicating with the master node and routing. CNI…
Charles Van Damme
  • 765
  • 2
  • 6
  • 14
16
votes
1 answer

kubernetes: How to view or list the installed CNI addons?

Suppose, I just installed one of the Kubernetes CNI plugins, for example weave-net: kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=$(kubectl version | base64 | tr -d '\n')" How can I view or list the installed CNI plugins? After…
jersey bean
  • 3,321
  • 4
  • 28
  • 43
11
votes
1 answer

kubelet won't start after kuberntes/manifest update

This is sort of strange behavior in our K8 cluster. When we try to deploy a new version of our applications we get: Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "" network for pod…
Sachith Muhandiram
  • 2,819
  • 10
  • 45
  • 94
10
votes
3 answers

network plugin is not ready: cni config uninitialized

KubeletNotReady runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized I don't know how to make the network plugin ready
AATHITH RAJENDRAN
  • 4,689
  • 8
  • 34
  • 58
8
votes
3 answers

Kubernetes worker node is NotReady due to CNI plugin not initialized

I'm using kind to run a test kubernetes cluster on my local Macbook. I found one of the nodes with status NotReady: $ kind get clusters …
jersey bean
  • 3,321
  • 4
  • 28
  • 43
8
votes
1 answer

can the apiserver connect to the Kubelet port of a node through CNI-provided network?

The sleeve mode of Weave Net allows adding nodes behind NAT to the mesh, e.g. machines in a company network without external IP. When Weave Net is used with Kubernetes, such nodes can be added to the cluster. The only drawback (besides the…
muffel
  • 7,004
  • 8
  • 57
  • 98
7
votes
3 answers

How to fix Flannel CNI plugin. Error: [plugin flannel does not support config version ""]

While installing Kubernetes with, I'm stuck at CNI plugin installation and configuration part. I have installed Flannel but I see error in kubelet logs due to which coredns pods are in pending state. OS: Centos7 k8s version: 1.16 Kubeadm is being…
Himanshu C
  • 173
  • 1
  • 7
6
votes
2 answers

Kubelet - failed to "CreatePodSandbox" for coredns; failed to set bridge addr: could not add ip addr to "cni0": permission denied

EDIT 1 In response to the comments I have included additional information. $ kubectl get pods --namespace kube-system NAME READY STATUS RESTARTS AGE coredns-66bff467f8-lkwfn …
Riki
  • 193
  • 1
  • 10
5
votes
1 answer

what is the difference between l2 cni plugin vs l3 plugin?

what is the difference between l2 cni plugin vs l3 cni plugin? Does L2 CNI plugin doesn't provide public access to the pods?What are the examples of L2 and L3 plugins
4
votes
2 answers

How do I replicate a docker macvlan network with podman?

I have a working docker implementation on a fedora workstation that I use to host a Unifi Network Controller application. I use a macvlan to assign a static IP to the controller. The docker network command to create the macvlan is: docker network…
Brad Smith
  • 183
  • 1
  • 7
4
votes
2 answers

using network plugins "cni": cni config unintialized; Skipping pod

I created the kubernetes cluster by using kubeadm kubeadm init. I am getting error messages in /var/log/messages. Oct 20 10:09:52 aws08 kubelet: I1020 10:09:52.015921 7116 docker_manager.go:1787] DNS ResolvConfPath…
Lei Chang
  • 41
  • 1
  • 3
3
votes
1 answer

How can I detect CNI type/version in Kubernetes cluster?

Is there a Kubectl command or config map in the cluster that can help me find what CNI is being used?
YoMar
  • 41
  • 2
3
votes
1 answer

How to configure DHCP IPAM plugin + Macvlan + Multus for the additional interface creation inside a k8s pod?

I'm facing the below mentioned issue while using DHCP IPAM plugin + Macvlan + Multus for the additional interface creation inside my pod and assigning IP from DHCP server. I actually went through the related issues around this problem and tried all…
ddran
  • 31
  • 4
3
votes
4 answers

How to list pod-network-cidr details

Is it possible to list the kubernetes CNI and pod-network-cidr details used on kubernetes cluster? Preferably using kubectl.
Logu
  • 904
  • 9
  • 15
1
2 3
8 9