0

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
Daniel Wu
  • 5,853
  • 12
  • 42
  • 93

1 Answers1

0

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

Daniel Wu
  • 5,853
  • 12
  • 42
  • 93