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.
1 parent f714687 commit 4a7e7d6Copy full SHA for 4a7e7d6
images/router/clear-route-status.sh
@@ -63,9 +63,11 @@ 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
To clear the status of all routes in all namespaces:
72
oc get namespaces | awk '{if (NR!=1) print \$1}' | xargs -n 1 -I %% ./clear-route-status.sh %% ALL
73
0 commit comments