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
Cannot resolve name in Kubernetes on Ubuntu Hyper-V server using External Switch
I am attempting to set up a single node Kubernetes cluster for testing on an Ubuntu Server 18.04.2 VM running on my Windows Hyper-V. I install Docker with the standard apt install docker.io command, and I initialize Kubernetes the cluster with the…

Steve
- 347
- 3
- 11
1
vote
1 answer
How to add IP route(s) So Kubernetes cluster addresses go via through appropriate adapter
I have installed Kubernetes cluster(one Master and one Worker- Node) on CentOS-8 OS stand-alone server separately as per the below link instructions.
https://www.tecmint.com/install-a-kubernetes-cluster-on-centos-8/
Weave-Net - CNI plugin installed…

user4948798
- 1,924
- 4
- 43
- 89
1
vote
0 answers
Calico Dual Stack Setup Issue: Service not able to access pod of other node
I am trying to create a muli-node cluster with dual stack IPv4/IPv6 support using calico cni. Below are the configurations details:
# for IPv4
master-node 192.168.122.163
worker-node 192.168.122.157
# for IPv6
master-node fd00:4000::1cd
worker-node…

user27111987
- 995
- 2
- 10
- 26
1
vote
1 answer
Is it possible to have 2 network plugins for the kubernetes cluster?
while going through the network plugin in Kubernetes I end up with a doubt that it is possible to have two network plugin in the cluster created with kubeadm tool or can we have alternate plugin so that if one gets any issue it can automatically…

HARINI NATHAN
- 217
- 3
- 12
1
vote
2 answers
Network Policy in Kubernetes under the hood
I have network policy created and implemented as per https://github.com/ahmetb/kubernetes-network-policy-recipes, and its working fidn , however I would like to understand how exactly this gets implemeneted in the back end , how does network policy…

sai prashanth
- 11
- 1
- 3
1
vote
0 answers
OpenShift v3.11 with Maistra (Istio) Install
I am attempting to install Maistra on top of an Origin (OKD) v3.11 cluster. Following this guide:
https://medium.com/@jakub.jozwicki/ocp-part-3-installing-istio-1d9f37665d3b
I have attempted installs via v0.7 and v0.12 of the Maistra origin-ansible…

ddisec
- 71
- 1
- 6
1
vote
1 answer
AWS EKS K8s cluster with Weave CNI plugin cannot have custom-metrics
To address the default AWS VPC CNI max pod number node limit (Max Pods = Maximum supported Network Interfaces for instance type) * ( IPv4 Addresses per Interface) - i.e. 17 in a t3.medium) in my EKS cluster I started using Weave CNI Plugin to…

Marco Amador
- 29
- 7
1
vote
1 answer
Restrict Kubelet, Kube-proxy, etc to specific network interfaces
I have a CentOS lab environment that holds 3 systems (A, B, C). Each system has 4 network links:
eth0 is 1g and my public management interface (VLAN10)
eth1 is 10g my iscsi interface (VLAN172)
eth2 is 10g available for kubernetes (VLAN192:…

jcpunk
- 51
- 4
1
vote
1 answer
In k8s1.16 when using kubenet and dual-stack, How to config to ping cbr0 gw on another node?
I installed a kubernetes v1.16 cluster with two nodes, and enabled "IPv4/IPv6 dual-stack", following this guide. For "dual-stack", I set --network-plugin=kubenet to kubelet.
Now, the pods have ipv4 and ipv6 address, and each node has a cbr0 gw with…

KeepTheBeats
- 13
- 2
1
vote
1 answer
Kubernetes NetworkPlugin cni failed to set up pod
regarding to below logs which I used describe pod, my pods stuck in pending state due to “FailedCreatePodSandBox”
there is some key note:
-I use calico as CNI.
-this log repeat multple time, I just past here this one as sample.
-the ip…

alireza71
- 339
- 1
- 3
- 14
1
vote
1 answer
What's the benefit of using cni instead of static route table in k8s
By adding static route table on every node with proper rules, the container network also works fine. For example, given three nodes with three different docker bridge…

cgcgbcbc
- 539
- 4
- 20
1
vote
1 answer
How can I ensure I annotate each Kubernetes node before Pods are scheduled to it on EKS?
I am trying to use CNI Custom Networking on EKS to make sure that Pod IPs are allocated from alternative subsets (to prevent IP starvation in the subnets my cluster nodes are running in). To do this I need to create some ENIConfigs and annotate each…

dippynark
- 2,743
- 20
- 58
1
vote
2 answers
Flannel interface don't create on kubernetes worker nodes
I have multiple kvm nodes from different network. All these nodes has two iface eth0: 10.0.2.15/24, eth1: 10.201.(14|12|11).0/24 and few manual routes between dc.
root@k8s-hv09:~# ip r
default via 10.0.2.2 dev eth0 proto dhcp src 10.0.2.15 metric…

SubGunDH
- 21
- 1
- 5
1
vote
0 answers
cilium configuration in IPv6 mode
I am using cilium in Kubernetes 1.12 in Direct Routing mode. It is working fine in IPv4 mode. We are using cilium/cilium:no-routes image and cloudnativelabs/kube-router to advertise the routes through BGP.
Now I would like to configure the same in…

user2639661
- 91
- 6
1
vote
1 answer
Why is CNI0 bridge not created when node joins kubernetes cluster with flannel?
Setting up a new k8s cluster on Centos 7 using flannel as the CNI plugin. When joining a worker to the cluster, the CNI0 bridge is not created.
Environment is kubernetes 13.2.1, Docker-CE 18.09, Flannel 010. Centos 7.4. My understanding is that CNI0…

BruceC
- 61
- 1
- 4