Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save cloudqubes/ca2a6d420fcbe652848d54f2a14cde13 to your computer and use it in GitHub Desktop.
Save cloudqubes/ca2a6d420fcbe652848d54f2a14cde13 to your computer and use it in GitHub Desktop.
ubuntu@microk8s70:~$ sudo iptables -t nat -L KUBE-NODEPORTS
Chain KUBE-NODEPORTS (1 references)
target     prot opt source               destination         
KUBE-EXT-PU6N6JOCTJFVBXKG  tcp  --  anywhere             anywhere             /* default/number-crunch-service:name-of-service-port */ tcp dpt:32155
KUBE-EXT-WV6VKHDJQKB2TQC4  tcp  --  anywhere             anywhere             /* container-registry/registry:registry */ tcp dpt:32000

ubuntu@microk8s70:~$ sudo iptables -t nat -L KUBE-SVC-PU6N6JOCTJFVBXKG
Chain KUBE-SVC-PU6N6JOCTJFVBXKG (2 references)
target     prot opt source               destination         
KUBE-MARK-MASQ  tcp  -- !10.1.0.0/16          10.152.183.70        /* default/number-crunch-service:name-of-service-port cluster IP */ tcp dpt:http-alt
KUBE-SEP-BSXDLRAU5RECNHND  all  --  anywhere             anywhere             /* default/number-crunch-service:name-of-service-port -> 10.1.131.8:8080 */ statistic mode random probability 0.50000000000
KUBE-SEP-ONGKSMQTWSGTWGGS  all  --  anywhere             anywhere             /* default/number-crunch-service:name-of-service-port -> 10.1.209.9:8080 */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment