Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change some server parameters #1633

Merged
merged 1 commit into from
Dec 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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