From 02b20c9fcc597ce88da80e1cd61c442412bc584c Mon Sep 17 00:00:00 2001 From: ab Date: Fri, 25 Jul 2025 15:43:10 +0000 Subject: [PATCH] Update k8s/games/minecraft/deployments.yaml --- k8s/games/minecraft/deployments.yaml | 37 +++++++++++++++------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/k8s/games/minecraft/deployments.yaml b/k8s/games/minecraft/deployments.yaml index 36e35ac..db0e7c0 100644 --- a/k8s/games/minecraft/deployments.yaml +++ b/k8s/games/minecraft/deployments.yaml @@ -97,23 +97,6 @@ spec: terminationGracePeriodSeconds: 10 containers: - - name: nginx - image: nginx:latest - resources: - requests: - memory: "64Mi" - cpu: "50m" - limits: - memory: "256Mi" - cpu: "200m" - ports: - - containerPort: 80 - volumeMounts: - - name: nginx-config - mountPath: /etc/nginx/nginx.conf - subPath: nginx.conf - - name: storage - mountPath: /mc - name: minecraft image: 'openjdk:8-jdk-alpine' command: ["java"] @@ -156,9 +139,29 @@ spec: - name: dynmap containerPort: 8123 protocol: TCP + - name: webstatus-mod + containerPort: 8080 + protocol: TCP volumeMounts: - name: storage mountPath: /mc + - name: nginx + image: nginx:latest + resources: + requests: + memory: "64Mi" + cpu: "50m" + limits: + memory: "256Mi" + cpu: "200m" + ports: + - containerPort: 80 + volumeMounts: + - name: nginx-config + mountPath: /etc/nginx/nginx.conf + subPath: nginx.conf + - name: storage + mountPath: /mc --- apiVersion: v1