k8snetworkplumbingwg / multus-service-archived

(TBD)
Apache License 2.0
27 stars 9 forks source link

IP table rules are not added when creating service using NAD #37

Open Rouf111 opened 1 year ago

Rouf111 commented 1 year ago

KubeAdm cluster Kubernetes v1.23.5 Containerd as the CRI. Host OS image ubuntu 18.04.4 LTS.

Multus CNI is already installed, I created the Multus Service using the instructions as indicated in this link

Pods are in a running state, however, I cannot find the IPtable rules after creating the service for the NAD So when I curl to the IP of the service it returns nothing.

image

Logs of the pods :

image

No Iptable rules are created

image
Rouf111 commented 1 year ago

As a workaround; I had to first manually update the iptables and after that, it did work for the other servers which I created.

Below is the command i used iptable-restore < var/lib/multus-proxy/iptables/8a8654ed-e7ba-46b0-89b1-87a06cfb2e16/current-service.iptables

Please fix this issue!