Skip to content

Commit

Permalink
feat: redinessProbeを入れる
Browse files Browse the repository at this point in the history
  • Loading branch information
rito528 committed Dec 17, 2023
1 parent ed295d0 commit 7de1a8d
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,19 @@ spec:
failureThreshold: 6
periodSeconds: 20

readinessProbe:
exec:
command:
- mc-monitor
- status
- --host
- localhost
- --port
- "25565"
initialDelaySeconds: 30
periodSeconds: 5
failureThreshold: 18

volumeMounts:
# itzg/minecraft-server は /config に設定ファイルをマウントしておけばコピーをしてくれる。
# 環境変数の置き換えはPrefix等の設定が必要なので、必要になったら設定するように。
Expand Down

0 comments on commit 7de1a8d

Please sign in to comment.