Try adding a ServiceMonitor as extension

This commit is contained in:
Nikolai Rodionov 2023-03-13 14:06:31 +01:00
parent fdc4b20808
commit 03897ae904

View File

@ -1,4 +1,18 @@
---
# --------------------------------------------------
# -- Extensions values
# --------------------------------------------------
service-account:
enabled: true
resources:
- name: minecraft-exporter
label:
exporter: minecraft
endpoints:
port: metrics
# --------------------------------------------------
# -- Main values
# --------------------------------------------------
resources:
requests:
memory: 512Mi
@ -22,10 +36,8 @@ minecraftServer:
service:
enabled: true
embedded: false
annotations:
prometheus.io/port: "9225"
prometheus.io/scrape: "true"
prometheus.io/path: "/metrics"
labels:
exporter: minecraft
type: ClusterIP
port: 9925
ingress: