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

How to find out what podcidr is assigned to each node by calico CNI in kubernetes

Is there any direct command to fetch the podcidr assigned to each node when using calico CNI. I am looking for exact network and netmask assigned to each node. I am not able to fetch it from kubectl get nodes neither via podCIDR value nor via…
apoorva kamath
  • 816
  • 1
  • 7
  • 19
2
votes
2 answers

Require and start podman network interface using systemd

I have a host service managed by systemd which listens on the Podman default network interface (cni-podman0) so that containers can talk to it. The problem I have, is that Podman only creates the network interface when the first container is…
fahrradflucht
  • 1,563
  • 3
  • 14
  • 22
2
votes
3 answers

How to do i get rid of this error "network: stat /var/lib/calico/nodename: no such file or directory" on Kubernetes

I uninstalled calico using: 'kubectl delete -f calico.yaml' and installed weave using: 'export kubever=$(kubectl version | base64 | tr -d '\n')' 'kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=$kubever"' When i deploy my pods they…
2
votes
0 answers

EKS internal service connection unreliable

I just setup a new EKS cluster (latest version available, using three default AMI). I deployed a Redis instance in it as a Kubernetes service and exposed it. I can access the Redis database through internal DNS like : mydatabase.redis (it's…
rmonjo
  • 2,675
  • 5
  • 30
  • 37
2
votes
1 answer

IP addresses added using multus-cni are not reachable from another pod in same cluster

I am using multus-cni to create multiple interfaces in my pod. I have weave-net CNI configured so pods come up with cluster ip 10.32.x.x. Using the below network-attachment-definition , I am able to bring up multiple interfaces inside a pod with IP…
santanu
  • 21
  • 2
2
votes
0 answers

Network issue on kube pods

first of all, I know about k8s and how it works with all their stuff; second, I need to tell about my app and how it works on k8s 3rd, I gonna ask my question: this app consist of three pods which each one has their own services: 1. nginx with…
alireza71
  • 339
  • 1
  • 3
  • 14
2
votes
0 answers

80-openshift-network.conf is missing in /etc/cni/net.d

I'm having problem deploying a cluster in Openshift. Any reason why? Version Red Hat Enterprise Linux Server release 7.7 (Maipo), oc version: oc v3.11.43 ansible 2.6.18 config file = /etc/ansible/ansible.cfg configured module search path =…
Jude Medina
  • 193
  • 1
  • 1
  • 6
2
votes
1 answer

Encrypt Traffic in EKS

I'm setting up an EKS cluster on AWS and I want to secure all the data in flight in the Kuberentes cluster (and also between EKS and external systems but thats out of scope here). In Kubernetes are different protocols in use between the different…
christian
  • 9,412
  • 10
  • 41
  • 51
2
votes
0 answers

Do docker and podman iptables rules conflict?

I've installed both Docker and Podman on the same machine. Is that my first problem? Maybe. But my goal is run both and I'd like to continue anyway. My problem is this: there seems to be an iptables conflict between Docker's rules and Podman's…
The Spartan
  • 411
  • 1
  • 3
  • 13
2
votes
1 answer

kubernetes CNI (container networking interface)

I am new to kubernetes world, Can someone specify/tell/redirect as to: what is Kubernetes CNI? why is it used? what are its usecases? what are the best CNI plugins?
Vinod Kumar
  • 562
  • 5
  • 12
1
vote
0 answers

Kubernetes: error building connection between pod to pod when `hostNetwork=true` is enabled

Hope this is complicated network connection. Where I have a pod(srsRan) which acts as a bridge for pod(amf) and a hardware(usrp-with in the network). I have a deployment (srsRan) where I enabled hostnetwork=true. This build the connection with…
iamniki
  • 553
  • 3
  • 11
1
vote
0 answers

What is defferent between CNI and CNI plugin?

I am exploring CNI on Github for using containerd and see they have 2 repos there CNI and CNI Plugin with different version numbers. I got a bit confused about the differences between them and where / when should use each of them? Are they the…
Root Loop
  • 3,004
  • 9
  • 46
  • 72
1
vote
2 answers

What is the difference between CNI calico and calico tigera?

I am unsure what the difference between "plain calico" kubectl apply -f https://docs.projectcalico.org/manifests/calico.yaml and the "calico tigera" (operator) is. helm repo add projectcalico https://projectcalico.docs.tigera.io/charts helm…
humanityANDpeace
  • 4,350
  • 3
  • 37
  • 63
1
vote
0 answers

Kubernetes service discovery, CNIs and Istio differences

I was making some research about how K8s resolves the services using the clusterIP services and how CNIs like WeaveNet or how service meshes like Istio provide additional features to this functionality. However, I'm new on the topic and I'd like to…
user2728349
  • 139
  • 1
  • 3
  • 12
1
vote
0 answers

Podman CNI bridge network: communication with host

I try to expose a container fully into the host network with podman, with the following requirements: container (will containe a DC) must be reachable from computers in the host's network host must be able to communicate with the container. The…
marc
  • 264
  • 1
  • 2
  • 17
1 2
3
8 9