Kubeprometheus Operator Troubleshoot TaskSet

Icon 1 5 Troubleshooting Commands

Icon 2 Contributed by jon-funk

Icon 2 Codecollection: rw-cli-codecollection


This taskset investigates the logs, state and health of Kubernetes Prometheus operator.

Tasks:
  • Check Prometheus Service Monitors in namespace `NAMESPACE`
  • Check For Successful Rule Setup in Kubernetes Namespace `NAMESPACE`
  • Verify Prometheus RBAC Can Access ServiceMonitors in Namespace `PROM_NAMESPACE`
  • Inspect Prometheus Operator Logs for Scraping Errors in Namespace `NAMESPACE`
  • Check Prometheus API Healthy in Namespace `PROM_NAMESPACE`