Skip to content

Instantly share code, notes, and snippets.

@raif-ahmed
Created June 26, 2023 20:18
Show Gist options
  • Save raif-ahmed/42fb746a45252cc17d067b8695a1b8a4 to your computer and use it in GitHub Desktop.
Save raif-ahmed/42fb746a45252cc17d067b8695a1b8a4 to your computer and use it in GitHub Desktop.
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: neuvector-prometheus
namespace: neuvector
spec:
endpoints:
- port: prometheus-exporter
interval: 30s
scheme: http
selector:
matchLabels:
app: neuvector-prometheus-exporter-pod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment