Conversation
WalkthroughThe documentation for disabling the Robusta Alerts UI was revised to provide more detailed and step-by-step instructions. The update separates the process into clear steps, adds specific commands for identifying and deleting related resources, and improves the overall clarity and completeness of the guidance. Changes
Sequence Diagram(s)No sequence diagram generated as the changes are limited to documentation updates and do not affect control flow or introduce new features. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (3)
docs/setup-robusta/alertsui.rst (3)
73-76: Refine the disabling section header and intro sentence.
The current fragment “If you choose to stop using the Robusta Alerts UI” reads as a sentence fragment. For consistency, consider rephrasing to an imperative form—e.g.:To disable the Robusta Alerts UI:and follow with the numbered steps, ensuring proper indentation under the list.
80-81: Explicitly reference the full CRD resource type.
Usingprometheusrulesalone can be ambiguous. Recommend specifying the group for clarity:kubectl get prometheusrules.monitoring.coreos.com -A | grep robusta-prometheusOptionally, you can output only the names/namespaces for scripting:
kubectl get prometheusrules.monitoring.coreos.com -A -o custom-columns=NAME:.metadata.name,NAMESPACE:.metadata.namespace
85-87: Clarify placeholders and offer batch deletion snippet.
The placeholderrobusta-prometheus.rules<VALUE>and<NAMESPACE>may be unclear. Rename<VALUE>to<RULE_NAME_SUFFIX>and add an example. To delete all matching rules in one go, you could also use:kubectl get prometheusrules.monitoring.coreos.com -A --no-headers \ | awk '/robusta-prometheus.rules/{print $1, $2}' \ | xargs -n2 sh -c 'kubectl delete prometheusrules.monitoring.coreos.com "$0" -n "$1"'
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
docs/setup-robusta/alertsui.rst(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (4)
- GitHub Check: run_tests
- GitHub Check: run_tests
- GitHub Check: Deploy docs
- GitHub Check: Deploy docs
Summary by CodeRabbit