This commit is contained in:
parent
8b897d02b1
commit
3da8775279
@ -18,4 +18,7 @@ spec:
|
|||||||
- name: minecraft
|
- name: minecraft
|
||||||
port: 25565
|
port: 25565
|
||||||
targetPort: 25565
|
targetPort: 25565
|
||||||
|
- name: minecraft-rcon
|
||||||
|
port: 28016
|
||||||
|
targetPort: 28016
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
|
@ -19,9 +19,14 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: EULA
|
- name: EULA
|
||||||
value: "TRUE"
|
value: "TRUE"
|
||||||
|
- name: ENABLE_RCON
|
||||||
|
value: "TRUE"
|
||||||
|
- name: RCON_PORT
|
||||||
|
value: 28016
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 25565
|
- containerPort: 25565
|
||||||
|
- containerPort: 28016
|
||||||
#readinessProbe:
|
#readinessProbe:
|
||||||
# exec:
|
# exec:
|
||||||
# command: [ "/usr/local/bin/mc-monitor", "status", "--host", "localhost" ]
|
# command: [ "/usr/local/bin/mc-monitor", "status", "--host", "localhost" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user