The Container Network Interface (CNI) is a library definition, and a set of tools under the umbrella of the Cloud Native Computing Foundation project
Questions tagged [cni]
135 questions
1
vote
3 answers
Kubernetes with flannel: CNI config uninitialized
I am new with Kubernetes and am trying to setup a Kubernetes cluster on local machines. Bare metal. No OpenStack, No Maas or something.
After kubeadm init ... on the master node, kubeadm join ... on the slave nodes and applying flannel at the master…

Matthias
- 1,055
- 2
- 14
- 26
1
vote
1 answer
Steps of Kubernetes CNI when using Flannel
I have been setting up Kubernets with kubeadm and I have used Flannel to setup the pod network. The setup basically worked but I have been running into all kinds of problems (and bugs) and now I am trying to gain a better understanding of the…

lanoxx
- 12,249
- 13
- 87
- 142
1
vote
1 answer
Kubernetes for Windows networking - default CNI
Under this official doc, calico and flannel are not yet fully supported by windows. I plan to use ToR (top of rack) static routing.
How do I install the default CNI? (just do nothing?)
E.g. using flannel I will need to run - kubectl apply -f…

JuniorPenguin
- 163
- 10
1
vote
1 answer
Cannot update Calico CNI config on Kubernetes cluster
I discovered that, until a few months ago, the "hostPort" configuration for Pods was not going to work with CNI based integrations. This meant that, for any Kubernetes cluster using Calico, it was not possible to directly expose a Pod's port…

Emanuele Casadio
- 585
- 5
- 13
0
votes
1 answer
SRIOV CNI Version
How can I find the version of the 'sriov' cni plugin installed on a Kubernetes cluster?
I've tried the commands below but they fail.
/opt/cni/bin# ./sriov --version
{
"code": 4,
"msg": "required env variables [CNI_COMMAND] missing"
}

ss3071
- 33
- 7
0
votes
0 answers
AWS VPC CNI Addon: Unable to update cni config" err="no networks found in /etc/cni/net.d
My cluster was working fine before and no changes was made to it. But a few days ago I noticed that the newly scheduled nodes are all in NotReady state. Here is what I could find in the kubelet log:
4069 cni.go:240] "Unable to update cni config"…

user20143114
- 31
- 2
0
votes
1 answer
Application scaling on kubernetes
Application runs smoothly on kubernetes upto a certain TPS, above this even if scaled 100% more, failures do not come down, there is no issue with cpu, memory of nodes or pod, what else needs to be checked? Same application runs smoothly on VM for…

Mathlamb
- 11
0
votes
1 answer
How can I use SCTP multihoming for a Pod in Kubernetes cluster?
I'm new to Kubernetes and I want to deploy an app that requires at least two interfaces for SCTP multihoming.
The Official Kubernetes Docs says kubernetes support SCTP as a protocol but its implementation requires a CNI that supports SCTP…

M Reza Ghahramani
- 11
- 3
0
votes
1 answer
Location CNI plugin configuration(s) of the Docker Desktop with WSL2 network infrastructure?
Investigating Docker Desktop on Windows with WSL2 using the Edgeshark open source tool, I get the following network topology for the container workload:
Please note how this is a Docker-in-containerd setup, so the Docker engine lives inside a…

TheDiveO
- 2,183
- 2
- 19
- 38
0
votes
1 answer
Podman: using netavark for rootless networking
I am running podman 4.4.1 on RHEL 8.6 Real-time. I have been having latency issues with the default CNI network in rootless containers and am trying to evaluate netavark as a backend.
What I have tried:
I ran podman system reset --force
I changed…

Gordon
- 170
- 3
- 18
0
votes
0 answers
Egress TLS Origination without Istio
Is it possible to do something similar to TLS Egress origination described here without relying on Istio? We have a use case where we'd like all outbound traffic to a particular CIDR block to go through a TLS proxy that handles the mTLS with another…

Jessica
- 721
- 1
- 6
- 13
0
votes
1 answer
AKS cluster find Azure CNI version
I have an Azure AKS Cluster which utilizes the Azure CNI Network plugin.
How can I find the CNI version being used in this cluster?
I want find out if my AKS Cluster used the traditional Azure CNI v1 or Azure CNIv2.

GilliVilla
- 4,998
- 11
- 55
- 96
0
votes
1 answer
Kubernetes in Docker KinD - Node notready
I'm following this article https://kubernetes.io/blog/2020/05/21/wsl-docker-kubernetes-on-the-windows-desktop/ but I'm facing and issue.
So Windows 10, WSL2 enabled with Ubuntu 22.04 and Docker Desktop.
Using Kind I tried to create a cluster using…

DrCyclotron
- 3
- 3
0
votes
0 answers
Using multiple network interfaces on k3s
I'm sort of a newbie in k3s I know that in kubernetes, the multus plugin allows to to have multiple network interfaces attached to a pod, is there a way to have the same result with k3s?
There is this guide to install the plugin on k3s but I did …

Gabsora
- 1
0
votes
0 answers
What Kubernetes CNI works out of the box?
I cannot get nodes to communicate with one another in a setup with a handful of nodes. My kubernetes setup with CNI configuration is very minimal: I do kubeadm init --pod-network-cidr=192.168.0.0/16 and then I join my other two hosts.
I was trying…

Adam Miller
- 1,756
- 1
- 25
- 44