We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 713fd08 + 1599d80 commit d33e176Copy full SHA for d33e176
images/router/clear-route-status.sh
@@ -63,9 +63,12 @@ To clear only the status set by a specific router on all routes in all namespace
63
router_name is the name in the deployment config, not the name of the pod. If the router is running it will
64
immediately update any cleared status.
65
66
-To clear the whole status field of the route by route name
+To clear the status field of a route or all routes in a given namespace
67
./clear-route-status.sh [namespace] [route-name | ALL]
68
69
+
70
+Example Usage
71
+--------------
72
To clear the status of all routes in all namespaces:
73
oc get namespaces | awk '{if (NR!=1) print \$1}' | xargs -n 1 -I %% ./clear-route-status.sh %% ALL
74
0 commit comments