k8snetworkplumbingwg / network-resources-injector

A Kubernetes Dynamic Admission Controller that patches Pods to add additional information.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

network-resources-injector doesn't work in multinode cluster

pperiyasamy opened this issue · comments

I've created 2 node k8s cluster (v1.16.2) and installed sriov network device plugin, sriov cni plugin and network-resource-injector with required cpu and topology manager settings.
Now when dpdk pod is created with k8s.v1.cni.cncf.io/networks annotation for injecting the VF device, it works on master (also acts as worker) and not on the another worker node (pod is actually running, but without VF device attached to it).

I just ran the following to deploy resource injector on the master.

make image
kubectl apply -f deployments/auth.yaml \
              -f deployments/server.yaml

Please hold on. Looks something got broken in my cluster and will update whether this issue is still seen or not.

Oops, somehow network-resource-injector pod wasn't running properly on the cluster. This caused the problem. Hence closing the issue.