From a68bf4502a438c879806e1488c4a5c63581ce5c2 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Thu, 7 Sep 2023 00:31:47 +0200 Subject: [PATCH] Update minecraft config and Paper --- badhouseplants/values/values.minecraft.yaml | 22 ++++++--------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/badhouseplants/values/values.minecraft.yaml b/badhouseplants/values/values.minecraft.yaml index e8fce64..652cf6c 100644 --- a/badhouseplants/values/values.minecraft.yaml +++ b/badhouseplants/values/values.minecraft.yaml @@ -30,10 +30,11 @@ istio: image: tag: java17-graalvm-ce pullPolicy: Always + resources: requests: - memory: 512Mi - cpu: 50m + memory: 3Gi + cpu: 256m limits: memory: 3Gi @@ -42,6 +43,7 @@ lifecycle: - bash - -c - for i in {1..100}; do mc-health && break || sleep 20; done && mc-send-to-console setpassword 11223345 + readinessProbe: command: - mc-health @@ -50,6 +52,7 @@ readinessProbe: timeoutSeconds: 10 livenessProbe: timeoutSeconds: 10 + minecraftServer: overrideServerProperties: true eula: "TRUE" @@ -59,10 +62,9 @@ minecraftServer: version: 1.20.1 maxWorldSize: 90000 type: "PAPER" - paperDownloadUrl: https://api.papermc.io/v2/projects/paper/versions/1.20.1/builds/100/downloads/paper-1.20.1-100.jar + paperDownloadUrl: https://api.papermc.io/v2/projects/paper/versions/1.20.1/builds/170/downloads/paper-1.20.1-170.jar gameMode: survival pvp: true - memory: 2512M rcon: enabled: true withGeneratedPassword: false @@ -144,18 +146,6 @@ initContainers: - name: plugins mountPath: /data/plugins readOnly: false - - name: install-fast-minecart-plugin - image: alpine/curl - command: - - curl - - -L - - https://github.com/certainly1182/FastMinecarts/releases/download/v1.0.1/FastMinecarts.jar - - -o - - /data/plugins/FastMinecarts.jar - volumeMounts: - - name: plugins - mountPath: /data/plugins - readOnly: false extraVolumes: - volumeMounts: - name: plugins