File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ This script gives the potential list of commands to clean up wrong conntracks
1414It only supports UDP stale entries
1515It only considers clusterIP services
1616It only works on IPV4 single stack env
17- Assumes node subnet is the default /24 cidr
17+ Assumes node subnet is the default /24 cidr (it also works for /23)
1818Assumes Cluster CIDR is /16
1919Checks for the Service CIDR to have one of the networks /8 /16 or /24
2020
Original file line number Diff line number Diff line change 88NOW=$( date +" %Y-%m-%d_%H-%M-%S" )
99# Logfile to save some DEBUG output
1010LOG=" /tmp/ovn_cleanConntrack.sh.${NOW} .log"
11- # IP of the ovn-k8s-mp0 interface for a node subnet with mask /24
11+ # IP of the ovn-k8s-mp0 interface for a node subnet with mask /24 or /23
1212NODESUBNETIP=2
1313# Debug var to write DEBUG lines into the log
1414DEBUG=false
@@ -27,7 +27,7 @@ function usage() {
2727 echo " It only supports UDP stale entries"
2828 echo " It only considers clusterIP services"
2929 echo " It only works on IPV4 single stack env"
30- echo " Assumes node subnet is the default /24 cidr"
30+ echo " Assumes node subnet is the default /24 cidr (it also works for /23) "
3131 echo " Assumes Cluster CIDR is /16"
3232 echo " Checks for the Service CIDR to have one of the networks /8 /16 or /24"
3333 echo -e
You can’t perform that action at this time.
0 commit comments