Prometheus Operator Custom Resource (CR) Testing Manifests
Ever searched for a simple setup to test the exposure of a /metrics
endpoint and tried to add this endpoint to Prometheus using a ServiceMonitor CR? Well, use the manifests below and you are good to go :).
Creation
---
apiVersion: v1
kind: Namespace
metadata:
name: testing