Skip to content

Commit

Permalink
Merge pull request #1633 from GiganticMinecraft/modify_param
Browse files Browse the repository at this point in the history
change some server parameters
  • Loading branch information
outductor authored Dec 27, 2023
2 parents e29077e + 7d0c8e7 commit 57d90c7
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -396,5 +396,5 @@ spec:
emptyDir: {}

# # S1から取ってきたワールドデータをぶちこむボリューム
# - name: world-download-volume
# emptyDir: {}
- name: world-download-volume
emptyDir: {}
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 57d90c7

Please sign in to comment.