This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.2.9. Accessing alerting rules for all namespaces
As a cluster administrator, you can access alerting rules from all namespaces together in a single view.
注意
In a future release, the route to the Thanos Ruler UI will be deprecated in favor of the web console.
Prerequisites
-
Have the
oc
command installed. - Log in as a cluster administrator.
Procedure
List routes for the
openshift-user-workload-monitoring
namespace:oc -n openshift-user-workload-monitoring get routes
$ oc -n openshift-user-workload-monitoring get routes
Copy to Clipboard Copied! Toggle word wrap Toggle overflow The output shows the URL for the Thanos Ruler UI:
NAME HOST/PORT ... thanos-ruler thanos-ruler-openshift-user-workload-monitoring.apps.example.devcluster.openshift.com
NAME HOST/PORT ... thanos-ruler thanos-ruler-openshift-user-workload-monitoring.apps.example.devcluster.openshift.com
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Navigate to the listed URL. Here you can see user alerting rules from all namespaces.