From 293e2a05edc51e7101225bc605ab44cd18fca3c8 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Mon, 18 Nov 2024 11:55:20 +0100 Subject: [PATCH] Decrease minecraft requests --- common/environments.yaml | 2 +- .../badhouseplants/values.metallb-resources.yaml | 2 -- values/badhouseplants/values.minecraft.yaml | 15 ++++----------- 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/common/environments.yaml b/common/environments.yaml index db23ea9..7d653be 100644 --- a/common/environments.yaml +++ b/common/environments.yaml @@ -21,7 +21,7 @@ environments: - redis: enabled: true - istio: - enabled: true + enabled: false etersoft: kubeContext: etersoft values: diff --git a/values/badhouseplants/values.metallb-resources.yaml b/values/badhouseplants/values.metallb-resources.yaml index c326551..94b681b 100644 --- a/values/badhouseplants/values.metallb-resources.yaml +++ b/values/badhouseplants/values.metallb-resources.yaml @@ -3,5 +3,3 @@ metallb: ippools: - name: fuji addresses: 195.201.249.91-195.201.249.91 - - name: matterhorn - addresses: 95.216.180.68-95.216.180.68 diff --git a/values/badhouseplants/values.minecraft.yaml b/values/badhouseplants/values.minecraft.yaml index 3986ce4..648fdba 100644 --- a/values/badhouseplants/values.minecraft.yaml +++ b/values/badhouseplants/values.minecraft.yaml @@ -1,6 +1,3 @@ -# -------------------------------------------------- -# -- Extensions values -# -------------------------------------------------- service-account: enabled: true resources: @@ -9,10 +6,6 @@ service-account: app: minecraft-minecraft-metrics endpoints: port: metrics -# ------------------------------------------ -# -- Istio extenstion. Just because I'm -# -- not using ingress nginx -# ------------------------------------------ traefik: enabled: true tcpRoutes: @@ -31,10 +24,10 @@ image: pullPolicy: Always resources: requests: - memory: 4.5Gi + memory: 3.5Gi cpu: 2.5 limits: - memory: 4.5Gi + memory: 3.5Gi lifecycle: postStart: - bash @@ -59,11 +52,11 @@ readinessProbe: successThreshold: 1 timeoutSeconds: 20 minecraftServer: - memory: 3584M + memory: 3000M jvmOpts: | -server jvmXXOpts: | - -Xms3548G -Xmx4500G -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M + -Xms3000G -Xmx3500G -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M overrideServerProperties: true eula: "TRUE" onlineMode: false