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.7. Removing alerting rules
You can remove an alerting rule.
Prerequisites
-
Log in as a user that has the
monitoring-rules-edit
role for the namespace where you want to remove an alerting rule.
Procedure
To remove a rule in a namespace, run:
oc -n <namespace> delete prometheusrule <foo>
$ oc -n <namespace> delete prometheusrule <foo>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow