[FEATURE] Migrated to new loading sequence (#6)

Co-authored-by: Dunemask <dunemask@gmail.com>
Reviewed-on: https://gitea.dunemask.dev/elysium/minecluster/pulls/6
This commit is contained in:
dunemask 2024-01-15 20:30:31 +00:00
parent fb57c03ba7
commit 6eb4ed3e95
53 changed files with 1349 additions and 449 deletions

View file

@ -6,23 +6,21 @@ env:
image: garethflowers/ftp-server
imagePullPolicy: IfNotPresent
livenessProbe:
exec:
command: ["echo"]
failureThreshold: 20
initialDelaySeconds: 30
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
exec: { command: ["echo"] }
failureThreshold: 20
initialDelaySeconds: 0
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
name: changeme-name-ftp
ports: [] # Programatically add all the ports for easier readability, Ports include: 20,21,40000-400009
readinessProbe:
exec:
command: ["echo"]
failureThreshold: 20
initialDelaySeconds: 30
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
exec: { command: ["echo"] }
failureThreshold: 20
initialDelaySeconds: 0
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
resources:
requests:
cpu: 50m

View file

@ -33,20 +33,20 @@ env:
- name: DEST_DIR
value: /backups
- name: LINK_LATEST
value: "false"
value: "true"
- name: TAR_COMPRESS_METHOD
value: gzip
- name: ZSTD_PARAMETERS
value: -3 --long=25 --single-thread
- name: RCLONE_REMOTE
value: mc-dunemask-net
value: mcl-backup-changeme
- name: RCLONE_DEST_DIR
value: /minecraft-backups/deltasmp-backups
value: /mcl/backups/changeme
- name: RCLONE_COMPRESS_METHOD
value: gzip
image: itzg/mc-backup:latest
imagePullPolicy: IfNotPresent
name: mcs-deltasmp-minecraft-mc-backup
name: mcl-backup-changeme
resources:
requests:
cpu: 500m

View file

@ -72,12 +72,10 @@ env:
image: itzg/minecraft-server:latest
imagePullPolicy: IfNotPresent
livenessProbe:
exec:
command:
- mc-health
failureThreshold: 20
exec: { command: [mc-health] }
failureThreshold: 200
initialDelaySeconds: 30
periodSeconds: 5
periodSeconds: 3
successThreshold: 1
timeoutSeconds: 1
name: changeme-name-server
@ -88,15 +86,13 @@ ports:
- containerPort: 25575
name: rcon
protocol: TCP
readinessProbe:
exec:
command:
- mc-health
failureThreshold: 20
initialDelaySeconds: 30
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
# readinessProbe: # Disabling this allows for users to manipulate files even if the container is starting
# exec: {command: [mc-health]}
# failureThreshold: 200
# initialDelaySeconds: 30
# periodSeconds: 3
# successThreshold: 1
# timeoutSeconds: 1
resources:
requests:
cpu: 500m