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. アラートルールの削除
アラートルールを削除できます。
前提条件
-
アラートルールを削除する必要のある namespace の
monitoring-rules-edit
ロールを持つユーザーとしてログインします。
手順
namespace のルールを削除するには、以下を実行します。
oc -n <namespace> delete prometheusrule <foo>
$ oc -n <namespace> delete prometheusrule <foo>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow