Migrate minecraft to Paper (#37)
I want to configure monitoring for Minecraft, and it's not possible with the Vanilla version. So we're testing Paper Reviewed-on: https://git.badhouseplants.net/badhouseplants/k8s-cluster-config/pulls/37
This commit is contained in:
16
common/values.service-monitor.yaml
Normal file
16
common/values.service-monitor.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
service-monitor:
|
||||
templates:
|
||||
- |
|
||||
{{ range .Values.service-monitor.resources }}
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: {{ .name }}
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{ .label.app }}
|
||||
endpoints:
|
||||
- port: {{ .endpoints.port }}
|
||||
{{ end }}
|
Reference in New Issue
Block a user