Skip to content

Commit

Permalink
Merge pull request #1639 from GiganticMinecraft/change-main-world-name
Browse files Browse the repository at this point in the history
メインワールド名を本番環境とあわせる
  • Loading branch information
outductor authored Dec 31, 2023
2 parents 678c396 + c3aff46 commit 54150e3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -213,10 +213,10 @@ spec:
readinessProbe:
exec:
command:
- mc-monitor
- status
- --host
- localhost
- mc-monitor
- status
- --host
- localhost
- --port
- "25565"
initialDelaySeconds: 30
Expand Down Expand Up @@ -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: {}
Expand Down

0 comments on commit 54150e3

Please sign in to comment.