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
0
votes
0 answers

Pods stuck in ContainerCreating with "network: add cmd: failed to assign an IP address to container"

Even we have enough IP addresses available in subnets we are experiencing this issue frequently failed to assign an IP address to container. EKS Version : 1.21 CNI Version : amazon-k8s-cni-init:v1.11.0
Brijesh Kalathiya
  • 311
  • 1
  • 3
  • 5
0
votes
2 answers

AKS Azure CNI Reserving a static ip from aks node sub net

i have been testing this situation, where i pick an IP address from the nodepool subnet and using it as a external ip of an load-balancer service. it works, but i wonder if this is a correct thing to do? i would like to know how AKS Azure CNI keeps…
0
votes
1 answer

Kubernetes with multus, and macvlan selecting the wrong interface eth0

I am working through some training on kubernetes and have the following config. 4 vm's running ubuntu 20.04 with the, one master and 3 nodes with calico CNI. I managed to deploy some nginx pods and got the connectivity to work as expected/ I am…
0
votes
0 answers

Can i broadcast to node network from pod?

I tried to use legacy api that using broadcast from kubernetes pod. I found some articles about kubernetes broadcasting(https://developers.redhat.com/articles/2021/10/22/broadcasting-microservices-kubernetes#), but i think it's not what i want to…
LHS
  • 1
0
votes
1 answer

Cleaning up installed cni-pluggins

I am bit stuck with a problem I have. I am struggling to set up the cni-plugin for k8. I was trying to install different cni-plugins that now I think many things are messed up. Is there a way to neatly delete everything connected with a cni-plugin…
0
votes
1 answer

network: failed to find plugin "bandwidth" in path [/opt/cni/bin]]

k8s cannot successfully create pod and is always in ConainerCreating stage. When the describe pod status reports the error message: network: failed to find plugin bandwidth in path [/opt/cni/bin]] Pod sandbox changed, it will be killer and…
niewenhan
  • 1
  • 2
0
votes
1 answer

Kubernetes 1.24+ fails with flannel giving "cni plugin not initialized"

I'm doing a single node kubernetes installation (so control-plane (or master pre-1.24) taint removed) on Ubuntu 20.04. For versions of kubernetes after 1.23 the network wont initialize. Everything works on versions prior to 1.24. Is there something…
Jim
  • 58
  • 6
0
votes
1 answer

How to get container interaction details inside a cluster?

let's say I have certain containers running in a cluster like kube-apiserver, dns-controller and let's say these two containers are communicating with each other, so I want to capture these interactions in a tabular format like [from]-[to] or in any…
0
votes
1 answer

Is `--cni-bin-dir` still effective on v1.24, or any replace document exist?

Is --cni-bin-dir still effective on kubernetes v1.24? From seeing Network Plugin document, --cni-bin-dir is described. But from seeing the CHANGELOG, it is removed. Is there any documentation for Kubernetes CNI plugin for…
Atsushi Sakai
  • 189
  • 2
  • 7
0
votes
1 answer

i can't access service via k8s master node

I'm learning k8s & nodePort made 1 master node & 1 worker node at AWS EC2 installed k8s, kubeadm Use flannel CNI deployed a nodejs app. with port 3000 Attach a nodePort to nodejs app. so, 3000:31000 I expected that i access to that nodejs app…
0
votes
1 answer

dnsutils pod giving "incompatible CNI versions" error in kubernetes

I made a kubernetes cluster. All the default pods seem to have initialized fine but when I try to add a dnsutils pod I get the following error: Events: Type Reason Age From Message ---- ------…
Matthew Tromp
  • 194
  • 2
  • 9
0
votes
0 answers

IPVLAN CNI based pods across hosts using VLAN headers

I have 2 worker nodes in a Kubernetes cluster. The worker nodes are on the same L2 domain. $]cat ipvlanconf1.yaml apiVersion: "k8s.cni.cncf.io/v1" kind: NetworkAttachmentDefinition metadata: name: ipvlanconf1 namespace: cncf spec: config: '{ …
M.P
  • 61
  • 5
0
votes
2 answers

KEDA scaler not working on AKS with trigger authentication using pod identity

KEDA scaler not scales with scaled object defined with trigger using pod identity for authentication for service bus queue. I'm following this KEDA service bus triggered scaling project. The scaling works fine with the connection string, but when I…
iarunpaul
  • 117
  • 2
  • 13
0
votes
2 answers

In which cases do we need container networks in kubernetes while we already have kubernetes Service?

Why do we need point-to-point connection between pods while we have workloads abstraction and networking mechanism (Service/kube-proxy/Ingress etc.) over it? What is the default CNI? REDACTED: I was confused about this question because I felt like I…
Li Ziyan
  • 129
  • 3
  • 8
0
votes
1 answer

DNS doesn't remove not ready pod in AKS with Azure CNI enabled

How does AKS make not ready pod unavailable to accept requests into it? It only works if you have a service in front of that deployment correct? I'd like to start this off by trying to explain what I had noticed in aks that is not configured with…
1 2 3
8 9