Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

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

Open
Rouf111 opened this issue Oct 9, 2023 · 1 comment
Open

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

Rouf111 opened this issue Oct 9, 2023 · 1 comment

Comments

@Rouf111
Copy link

Rouf111 commented Oct 9, 2023

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 Rouf111 closed this as completed Oct 11, 2023
@Rouf111 Rouf111 reopened this Oct 11, 2023
@Rouf111
Copy link
Author

Rouf111 commented Oct 11, 2023

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant