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
122
questions
0
votes
0
answers
14
views
How does Cilium get Pod info when creating a new Pod for setting up labels for endpoints?
I am trying to understand endpoint creation for pods.
In func (d *Daemon) createEndpoint(), d.fetchK8sMetadataForEndpoint() will fetch pod and its labels:
`
func (d *Daemon) ...
0
votes
1
answer
191
views
K8s FailedCreatePodSandBox PF device not found
I am new to K8s. So, it might be slight mistake or a big on my part but, I am not able to resolve this by my own. So here I am with my setup details and problem.
I am using minikube cluster with 2 ...
0
votes
1
answer
62
views
How to allow access to external IP from kubernetes cluster?
I installed kubernetes and docker desktop on a local linux VM for testing purposes.
Also, I deployed an API which can receive data from the client and do an insert command to a SQL database that is ...
0
votes
0
answers
36
views
eks cluster with private subnets conneted to a vpn
I am creating an EKS cluster using eksctl. I have worker nodes in private subnets with the standard NAT gateway to the internet. I am trying to make it so that workloads on the cluster can connect to ...
0
votes
1
answer
53
views
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,
&...
0
votes
0
answers
402
views
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:
...
0
votes
1
answer
44
views
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 ...
1
vote
0
answers
42
views
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 ...
2
votes
1
answer
64
views
How to configure the primary_slave in a bond interface created by bond-cni plugin in kubernetes
The question is what is exposed in the title, I am trying to create a bond in a kubernetes pod with the bond-cni plugin.
The configuration of the plugin is a little bit basic so I have changed the ...
0
votes
1
answer
132
views
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 ...
0
votes
1
answer
2k
views
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 ...
0
votes
0
answers
80
views
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 ...
0
votes
1
answer
224
views
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 ...
0
votes
0
answers
118
views
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 ...
0
votes
1
answer
444
views
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 ...
0
votes
1
answer
702
views
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 ...
0
votes
2
answers
525
views
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 ...
0
votes
1
answer
1k
views
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 ...
1
vote
2
answers
765
views
What is the difference between CNI calico and calico tigera? [closed]
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 ...
-2
votes
1
answer
223
views
k8s weave installation: error converting YAML to JSON: yaml [closed]
I am trying to install weave plugin CNI on k8s cluster using:
kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=$(kubectl version | base64 | tr -d '\n')&password-secret=weave-...
0
votes
1
answer
976
views
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 ...
0
votes
1
answer
633
views
Kubernetes 1.24+ fails with flannel giving "cni plugin not initialized" [closed]
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 ...
0
votes
1
answer
64
views
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 ...
1
vote
0
answers
3k
views
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 ...
2
votes
1
answer
6k
views
How to make Terraform continue with execution and ignore an error with resource creation during terraform apply?
I am installing CNI using null_resource in terraform. Now if the CNI is already installed the terraform script fails with error:
exit status 254. Output: │ An error occurred (ResourceInUseException) ...
3
votes
1
answer
2k
views
How can I detect CNI type/version in Kubernetes cluster?
Is there a Kubectl command or config map in the cluster that can help me find what CNI is being used?
1
vote
1
answer
247
views
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.
...
3
votes
1
answer
1k
views
How to configure DHCP IPAM plugin + Macvlan + Multus for the additional interface creation inside a k8s pod?
I'm facing the below mentioned issue while using DHCP IPAM plugin + Macvlan + Multus for the additional interface creation inside my pod and assigning IP from DHCP server.
I actually went through the ...
2
votes
1
answer
551
views
I wonder the difference between kube-proxy and cni [closed]
I wonder the difference between kube-proxy and cni.
Does calico also use iptables to set policies? In this case, the role overlaps with the kube-proxy, what's the difference between the two?
Why ...
0
votes
1
answer
2k
views
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 ...
-2
votes
2
answers
6k
views
Unable to connect internet/google.com from pod. Docker and k8 are able to pull images
I am trying to learn Kubernetes.
Create a single-node Kubernetes Cluster on Oracle Cloud using these steps here
cat /etc/resolv.conf
>> nameserver 169.254.169.254
kubectl run busybox --rm -it --...
0
votes
1
answer
311
views
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, ...
0
votes
1
answer
1k
views
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 ...
1
vote
1
answer
533
views
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 ...
0
votes
0
answers
2k
views
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 ...
11
votes
1
answer
887
views
kubelet won't start after kuberntes/manifest update
This is sort of strange behavior in our K8 cluster.
When we try to deploy a new version of our applications we get:
Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up ...
3
votes
1
answer
3k
views
How do I find which CNI plugin is my k8s is using? Where is its config file(s)?
How can I find easily which CNI plugin is configured and where is the config file associated with it?
1
vote
3
answers
3k
views
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: ...
0
votes
2
answers
3k
views
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 ...
0
votes
2
answers
193
views
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 ...
0
votes
1
answer
340
views
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 ...
3
votes
4
answers
2k
views
How to list pod-network-cidr details
Is it possible to list the kubernetes CNI and pod-network-cidr details used on kubernetes cluster? Preferably using kubectl.
1
vote
1
answer
842
views
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....
0
votes
1
answer
834
views
Deploying Istio CNI along with VPC Native CNIS in kubernetes cluster
managed k8s services like EKS and GKE provide cloud native CNIS.
https://docs.aws.amazon.com/eks/latest/userguide/pod-networking.html
https://cloud.google.com/kubernetes-engine/docs/concepts/alias-ips
...
0
votes
1
answer
351
views
kubernetes cluster adding windows node
Windows server 2019 - os build 1809 - Fully updated
Kubernetes cluster creation with kubespray and add windows with this https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-windows-...
1
vote
2
answers
4k
views
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 ...
0
votes
1
answer
426
views
static/whereabouts IPAM cni plugins bin files are missing after installation in GKE on Prem
I am trying to install static/whereabouts (with multus) IPAM CNI plugin on GKE on Prem environment to create an additional interface and communicate with pods across the nodes in the same cluster.
...
0
votes
1
answer
164
views
Wordpress+Mysql deployment don't get IP address from another pool
My deployment is about Wordpress and MYsql. I already defined a new pool and a new namespace and I was trying to make that my pods get an ip address from this new pool defined but they never get one.
...
2
votes
2
answers
15k
views
Kubernetes Container runtime network not ready
I installed a Kubernetes cluster of three nodes, the control node looked ok, when I tried to join the other two nodes the status for both of is: Not Ready
On control node:
[root@alva-anstawx01 /]# ...
2
votes
1
answer
2k
views
Kube-Proxy-Windows CrashLoopBackOff
Installation Process
I am all new to Kubernetes and currently setting up a Kubernetes Cluster inside of Azure VMs. I want to deploy Windows containers, but in order to achieve this I need to add ...