Skip to content

Instantly share code, notes, and snippets.

@harryge00
Created August 17, 2018 07:43
Show Gist options
  • Save harryge00/c3618a845513b05fa5a8f3cea95a7226 to your computer and use it in GitHub Desktop.
Save harryge00/c3618a845513b05fa5a8f3cea95a7226 to your computer and use it in GitHub Desktop.
-A KUBE-SEP-GS323OQVD4QXLLO4 -s 10.252.98.29/32 -m comment --comment "default/nginx-daemonset:web" -j KUBE-MARK-MASQ
-A KUBE-SEP-GS323OQVD4QXLLO4 -p tcp -m comment --comment "default/nginx-daemonset:web" -m tcp -j DNAT --to-destination 10.252.98.29:80
-A KUBE-SEP-RBNT5SR6IHU6F3JX -s 10.252.12.5/32 -m comment --comment "default/nginx-daemonset:web" -j KUBE-MARK-MASQ
-A KUBE-SEP-RBNT5SR6IHU6F3JX -p tcp -m comment --comment "default/nginx-daemonset:web" -m tcp -j DNAT --to-destination 10.252.12.5:80
-A KUBE-SEP-RZOSV3LCXBQS2YSF -s 10.252.63.2/32 -m comment --comment "default/nginx-daemonset:web" -j KUBE-MARK-MASQ
-A KUBE-SEP-RZOSV3LCXBQS2YSF -p tcp -m comment --comment "default/nginx-daemonset:web" -m tcp -j DNAT --to-destination 10.252.63.2:80
-A KUBE-SEP-ZHKBSEG7AL2NL7WQ -s 10.252.65.2/32 -m comment --comment "default/nginx-daemonset:web" -j KUBE-MARK-MASQ
-A KUBE-SEP-ZHKBSEG7AL2NL7WQ -p tcp -m comment --comment "default/nginx-daemonset:web" -m tcp -j DNAT --to-destination 10.252.65.2:80
-A KUBE-SERVICES ! -s 10.252.0.0/16 -d 10.253.129.236/32 -p tcp -m comment --comment "default/nginx-daemonset:web cluster IP" -m tcp --dport 80 -j KUBE-MARK-MASQ
-A KUBE-SERVICES -d 10.253.129.236/32 -p tcp -m comment --comment "default/nginx-daemonset:web cluster IP" -m tcp --dport 80 -j KUBE-SVC-X7SKG677G4WVDV3I
-A KUBE-SVC-X7SKG677G4WVDV3I -m comment --comment "default/nginx-daemonset:web" -m statistic --mode random --probability 0.25000000000 -j KUBE-SEP-RBNT5SR6IHU6F3JX
-A KUBE-SVC-X7SKG677G4WVDV3I -m comment --comment "default/nginx-daemonset:web" -m statistic --mode random --probability 0.33332999982 -j KUBE-SEP-RZOSV3LCXBQS2YSF
-A KUBE-SVC-X7SKG677G4WVDV3I -m comment --comment "default/nginx-daemonset:web" -m statistic --mode random --probability 0.50000000000 -j KUBE-SEP-ZHKBSEG7AL2NL7WQ
-A KUBE-SVC-X7SKG677G4WVDV3I -m comment --comment "default/nginx-daemonset:web" -j KUBE-SEP-GS323OQVD4QXLLO4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment