From c3aff4600249c95513f2f75fd73f4476830a16ee Mon Sep 17 00:00:00 2001 From: rito528 <39003544+rito528@users.noreply.github.com> Date: Sat, 30 Dec 2023 23:13:44 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=E3=83=A1=E3=82=A4=E3=83=B3=E3=83=AF?= =?UTF-8?q?=E3=83=BC=E3=83=AB=E3=83=89=E5=90=8D=E3=82=92=E6=9C=AC=E7=95=AA?= =?UTF-8?q?=E7=92=B0=E5=A2=83=E3=81=A8=E3=81=82=E3=82=8F=E3=81=9B=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common-configs/mcserver-configs.yaml | 2 +- .../templates/debug-s1/seichiassist.yaml | 22 +++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/mcserver-configs.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/mcserver-configs.yaml index 384b5dff7..49a866885 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/mcserver-configs.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/common-configs/mcserver-configs.yaml @@ -402,7 +402,7 @@ data: gamemode=survival enable-query=false generator-settings= - level-name=world + level-name=world_2 motd=A Minecraft Server query.port=25565 pvp=false diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml index 5daaacccd..04a0564a2 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/debug-s1/seichiassist.yaml @@ -24,11 +24,11 @@ spec: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - - matchExpressions: - - key: kubernetes.io/hostname - operator: In - values: - - seichi-onp-k8s-wk-1 # CPUの多いwk-1だけにスケジュールする + - matchExpressions: + - key: kubernetes.io/hostname + operator: In + values: + - seichi-onp-k8s-wk-1 # CPUの多いwk-1だけにスケジュールする initContainers: - name: jmx-exporter-downloader image: busybox:1.36.1 @@ -77,7 +77,7 @@ spec: command: - "sh" - "-c" - - 'echo "start downloading world data" && wget -qO- "${WORLD_URL}" | tar -xz -C /data && echo "successfully imported world data"' + - 'echo "start downloading world data" && wget -qO- "${WORLD_URL}" | tar -xz -C /data && mv /data/world /data/world_2 && echo "successfully imported world data"' containers: - resources: requests: @@ -213,10 +213,10 @@ spec: readinessProbe: exec: command: - - mc-monitor - - status - - --host - - localhost + - mc-monitor + - status + - --host + - localhost - --port - "25565" initialDelaySeconds: 30 @@ -383,7 +383,7 @@ spec: - name: multiverse-portals-config configMap: name: multiverse-portals-config - + # JMX exporterをinitContainerでダウンロードしてMinecraftに受け渡すためのvolume - name: jmx-exporter-download-volume emptyDir: {}