From 7d0c8e7c211beda8ef64104f9a2e0711b99da9d3 Mon Sep 17 00:00:00 2001 From: outductor Date: Thu, 28 Dec 2023 03:28:53 +0900 Subject: [PATCH] change some server parameters --- .../templates/debug-s1/seichiassist.yaml | 38 +++++++++---------- .../templates/mariadb/configmap.yaml | 2 +- 2 files changed, 20 insertions(+), 20 deletions(-) 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 5e10d018e..06c771438 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 @@ -66,29 +66,29 @@ spec: volumeMounts: - name: mod-downloader-volume mountPath: /plugins - # - name: world-downloader - # image: busybox:1.36.1 - # env: - # - name: WORLD_URL # S1からインポートしてきたワールドデータ - # value: "http://seichi-private-plugin-blackhole-minio.minio:9000/seichi-plugins/world-data/s1/world.tar.gz" - # volumeMounts: - # - name: world-download-volume - # mountPath: /data - # command: - # - "sh" - # - "-c" - # - 'echo "start downloading world data" && wget -qO- "${WORLD_URL}" | tar -xz -C /data && echo "successfully imported world data"' + - name: world-downloader + image: busybox:1.36.1 + env: + - name: WORLD_URL # S1からインポートしてきたワールドデータ + value: "http://seichi-private-plugin-blackhole-minio.minio:9000/seichi-plugins/world-data/s1/world.tar.gz" + volumeMounts: + - name: world-download-volume + mountPath: /data + command: + - "sh" + - "-c" + - 'echo "start downloading world data" && wget -qO- "${WORLD_URL}" | tar -xz -C /data && echo "successfully imported world data"' containers: - resources: requests: cpu: 8 - memory: 18Gi + memory: 12Gi limits: cpu: 8 - memory: 18Gi + memory: 12Gi env: - name: MEMORY - value: 14G + value: 10G - name: TYPE value: PAPER - name: VERSION @@ -361,8 +361,8 @@ spec: - name: mod-downloader-volume mountPath: /plugins - # - name: world-download-volume - # mountPath: /data + - name: world-download-volume + mountPath: /data volumes: - name: common-mcserver-configs @@ -396,5 +396,5 @@ spec: emptyDir: {} # # S1から取ってきたワールドデータをぶちこむボリューム - # - name: world-download-volume - # emptyDir: {} + - name: world-download-volume + emptyDir: {} diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/mariadb/configmap.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/mariadb/configmap.yaml index 4952ead26..ffc1057bc 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/mariadb/configmap.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/app-templates/seichi-debug-minecraft-on-seichiassist-pr/templates/mariadb/configmap.yaml @@ -12,4 +12,4 @@ data: max_allowed_packet = 256M slow_query_log = true slow_query_log-file = /var/log/mysql/mysql-slow.log - long_query_time = 0.5 + long_query_time = 0