Possible to monitor the entry changed in iptable in kube-proxy?

141 Views Asked by At

When creating a service in kuberate, it is kube-proxy to update the iptables, to understand how it update iptables, I tried to use the following command to understand how kube proxy works when creating a service, but there is no log printed. Anyway to log the action on iptables done by kube proxy?

kubectl logs -f kube-proxy-qk8hv -n kube-system
1

There are 1 best solutions below

0
Daniel Wu On

I found the command iptables-save can show all the commands acting on iptables.