Split manifests into infra/ and applications/

This commit is contained in:
2026-06-21 12:14:38 +02:00
parent 64e8bf7d78
commit c40577589d
360 changed files with 69 additions and 67 deletions

View File

@@ -0,0 +1,87 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
namespace: minecraft
name: homestead
spec:
replicas: 1
selector:
matchLabels:
app: homestead
serviceName: homestead-loadbalancer
template:
metadata:
labels:
app: homestead
spec:
restartPolicy: Always
terminationGracePeriodSeconds: 10
containers:
- name: homestead
image: gitea.jsme.be/jeffrey/homestead:v1.2.9.4
resources:
requests:
memory: "4Gi"
cpu: "2"
limits:
memory: "12Gi"
cpu: "3"
imagePullPolicy: Always
volumeMounts:
- name: world
mountPath: /opt/minecraft/world
- name: backups
mountPath: /opt/minecraft/backups
subPath: homestead
- name: properties-file
mountPath: /opt/minecraft/server.properties
subPath: server.properties
# - name: whitelist
# mountPath: /opt/minecraft/whitelist.json
# subPath: whitelist.json
- name: variables
mountPath: /opt/minecraft/variables.txt
subPath: variables.txt
- name: ops
mountPath: /opt/minecraft/ops.json
subPath: ops.json
- name: voicechat
mountPath: /opt/minecraft/config/voicechat/voicechat-server.properties
subPath: voicechat-server.properties
- name: ysns
mountPath: /opt/minecraft/config/ysns/disabled_entities.json5
subPath: disabled_entities.json5
- name: ysns
mountPath: /opt/minecraft/config/ysns/per_dimension_entities.json5
subPath: per_dimension_entities.json5
ports:
- containerPort: 25565
- containerPort: 25575
- containerPort: 19565
- containerPort: 24454
protocol: UDP
volumes:
- name: world
persistentVolumeClaim:
claimName: homestead-pvc
- name: backups
persistentVolumeClaim:
claimName: minecraft-backups
- name: properties-file
configMap:
name: homestead-properties
# - name: whitelist
# configMap:
# name: homestead-whitelist
- name: variables
configMap:
name: homestead-variables
- name: ops
configMap:
name: homestead-ops
- name: voicechat
configMap:
name: homestead-voicechat
- name: ysns
configMap:
name: homestead-ysns