This repository has been archived on 2024-09-11. You can view files and clone it, but cannot push or open issues or pull requests.
Nikolai Rodionov fdc4b20808 WIP
2023-03-13 13:51:35 +01:00

59 lines
1.3 KiB
YAML

---
resources:
requests:
memory: 512Mi
cpu: 50m
minecraftServer:
eula: "TRUE"
onlineMode: false
difficulty: hard
hardcore: true
version: 1.19.2
type: "PAPER"
paperDownloadUrl: >
https://api.papermc.io/v2/projects/paper/versions/1.19.2/builds/307/downloads/paper-1.19.2-307.jar
gameMode: survival
pvp: true
memory: 4096M
extraPorts:
- name: metrics
containerPort: 9225
protocol: TCP
service:
enabled: true
embedded: false
annotations:
prometheus.io/port: "9225"
prometheus.io/scrape: "true"
prometheus.io/path: "/metrics"
type: ClusterIP
port: 9925
ingress:
enabled: false
persistence:
dataDir:
enabled: true
Size: 8Gi
initContainers:
- name: install-prometheus-exporter
image: alpine/curl
command:
- curl
- -L
- "https://github.com/sladkoff/minecraft-prometheus-exporter/releases/download/v2.5.0/minecraft-prometheus-exporter-2.5.0.jar"
- -o
- /data/plugins/prometheus-exporter.jar
volumeMounts:
- name: plugins
mountPath: /data/plugins
readOnly: false
extraVolumes:
- volumeMounts:
- name: plugins
mountPath: /data/plugins
readOnly: false
volumes:
- name: plugins
emptyDir:
sizeLimit: 500Mi