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
1 answer
Kubernetes: How does CNI take advantage of BPG?
When learning the Kubernetes CNI, I heard some plugins are using the BGP or VXLAN under the hood.
On the internet, border gateway protocol (BGP) manages how packets are routed between edge routers.
Autonomous systems (AS) are network routers managed…

Ryan Lyu
- 4,180
- 5
- 35
- 51
1
vote
1 answer
Resolving Azure Service Names to Private VNET IPs Within AKS Pods?
I have created an AKS cluster using CNI networking as we needed finer control over the address space used by the cluster's vnet. The vnet I associated with the cluster resides in the same resource group as the aks cluster, and several other…

Ken
- 311
- 1
- 10
1
vote
0 answers
network: CNI failed to retrieve network namespace path: cannot find network namespace for the terminated container issue in EKS. help anybody, please
When pods are increased through hpa, the following error occurs and pod creation is not possible.
If I manually change the replicas of the deployments, the pods are running normally.
It seems to be a CNI-related problem, and the same phenomenon…

Haksu Kim
- 11
- 3
1
vote
3 answers
Allow egress from a Kubernetes pod to only specific FQDN/DNS with Azure CNI Network Policies
How can egress from a Kubernetes pod be limited to only specific FQDN/DNS with Azure CNI Network Policies?
This is something that can be achieved with:
Istio
apiVersion: config.istio.io/v1alpha2
kind: EgressRule
metadata:
name: googleapis
…

ALeX
- 13
- 1
- 3
1
vote
0 answers
How to configure kata container network without K8s?
I am trying to launch Kata 2.x containers without K8s. Since Kata-shim-V2 is not compatible with docker, I launched the container using ctr via containerd
sudo ctr run --runtime io.containerd.run.kata.v2 -t --rm docker.io/library/ubuntu:latest…

gqli
- 985
- 3
- 11
- 34
1
vote
1 answer
Having trouble configuring static IPs to PODs attached with MACVLAN interface
Here is the scenario.
There is a deployment set through which 2 PODs are created. I am attaching a MACVLAN interface to these PODs for external communication.
Macvlan definition
apiVersion: "k8s.cni.cncf.io/v1"
kind:…

Ravi Pillai
- 41
- 5
1
vote
2 answers
Correct way to change the subnet of an existing podman network
I'm using podman v3.0.2 and trying to change the subnet of an existing podman network.
I searched the podman and CNI documentations, but I could not find the way.
Is there any correct way to change the network of an existing podman…

user2738844
- 169
- 3
- 10
1
vote
2 answers
podman installation problem for cni configration
I've just git clone from the repository, and configured all environment, finally after I make install, my podman version prints this:
root@PS-03:/opt/go/src/github.com/containers/libpod# podman version
ERRO[0000] Error loading CNI config file…

Alan
- 11
- 1
- 2
1
vote
0 answers
after kubectl logs, error:dial tcp: lookup istio on 127.0.0.11:53: no such host
I use two computers as the node machines of kubernetes. When I want to query the log through kubectl, the following error occurred, "no such host:
kubectl get pods -n kube-system
NAME READY STATUS RESTARTS …

Thomas Young
- 11
- 5
1
vote
1 answer
Kubernetes Multus: No macvlan connectivity between pods on different nodes (can't ping)
I have a problem where I have a Kubernetes cluster with two worker nodes, and one master. Let's lab them W1, W2, and M. I have a deployment that creates a set of CentOS7 pods, some on each worker. I use Multus so that there is an extra net1…

Linus Narva
- 11
- 3
1
vote
1 answer
Kubernets PODs running on different host, not able to establish TCP connection
I have Kubernets 1.20.1 cluster with single master and single worker configured with ipvs mode. Using calico CNI calico/cni:v3.16.1. Cluster running on OS RHEL 8 kernel 4.18.0-240.10 with firewalld and selinux disabled.
Running one netshoot pod…

sfgroups
- 18,151
- 28
- 132
- 204
1
vote
1 answer
Multiple network created using Macvlan CNI plugin with whereabouts ipam - communication not happening across nodes
I brought up openshift container platform on top of Google Cloud Platform.I used Multus for having Multiple networks to pods.
I used Macvlan CNI and whereabouts instead of static in ipam to avoid IP conflicts. I deployed three pods , two in same…

Ieneya
- 11
- 2
1
vote
1 answer
Calico works well in my k8s, but I can't Ping clusterip on the node
I installed calico according to the steps on the official website, and it can run normally, and there is no error reported in the log. However, when I Ping the clusterip, the Ping fails, and there is no error in the pod log, so I can't locate the…

Esc
- 521
- 13
- 30
1
vote
1 answer
Allow requests to Kubernetes API from an init container with Istio CNI plugin
I had istio configured but without the CNI addon enabled.
In that time, I had an init container with a service account that would call the Kubernetes API to verify a couple of things (via kubectl).
Since I enabled the CNI addon, this init container…

codiaf
- 569
- 2
- 18
- 47
1
vote
1 answer
Can't add second interface to the pod with multus - minikube
I am trying to deploy a pod with second interface using multus-cni. However, when I deploy my pod I only see just one interface the main one. The secondary interface is not created.
I followed the steps in the quick start guide to install…

Farhad
- 21
- 3