Reset git history for making manifests public

This commit is contained in:
2026-06-01 10:13:06 +02:00
commit 0ca56d9520
403 changed files with 41985 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: minecraft
name: stacia
spec:
replicas: 1
selector:
matchLabels:
app: stacia
template:
metadata:
labels:
app: stacia
spec:
restartPolicy: Always
terminationGracePeriodSeconds: 10
containers:
- name: stacia
image: gitea.jsme.be/jeffrey/stacia:1.3.3
imagePullPolicy: Always
resources:
requests:
cpu: 1000m
memory: 4Gi
limits:
cpu: 2000m
memory: 8Gi
volumeMounts:
- name: world
mountPath: /opt/minecraft/world
- name: backups
mountPath: /opt/minecraft/backups
subPath: stacia
- name: properties-file
mountPath: /opt/minecraft/server.properties
subPath: server.properties
ports:
- containerPort: 25565
- containerPort: 25575
volumes:
- name: world
persistentVolumeClaim:
claimName: stacia-pvc
- name: backups
persistentVolumeClaim:
claimName: minecraft-backups
- name: properties-file
configMap:
name: stacia-properties

View File

@@ -0,0 +1,63 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: stacia-properties
namespace: minecraft
data:
server.properties: |
#Minecraft server properties
allow-flight=true
allow-nether=true
broadcast-console-to-ops=true
broadcast-rcon-to-ops=true
difficulty=easy
enable-command-block=false
enable-jmx-monitoring=false
enable-query=false
enable-rcon=true
enable-status=true
enforce-secure-profile=true
enforce-whitelist=false
entity-broadcast-range-percentage=100
force-gamemode=false
function-permission-level=2
gamemode=survival
generate-structures=true
generator-settings={}
hardcore=false
hide-online-players=false
level-name=world
level-seed=
level-type=minecraft\:normal
max-chained-neighbor-updates=1000000
max-players=20
max-tick-time=60000
max-world-size=29999984
motd=A Minecraft Server
network-compression-threshold=256
online-mode=true
op-permission-level=4
player-idle-timeout=0
prevent-proxy-connections=false
previews-chat=false
pvp=true
query.port=25565
rate-limit=0
rcon.password=425044559Jj?
rcon.port=25575
require-resource-pack=false
resource-pack=
resource-pack-prompt=
resource-pack-sha1=
server-ip=
server-port=25565
simulation-distance=10
spawn-animals=true
spawn-monsters=true
spawn-npcs=true
spawn-protection=16
sync-chunk-writes=true
text-filtering-config=
use-native-transport=true
view-distance=10
white-list=false

View File

@@ -0,0 +1,45 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: stacia-pvc
namespace: minecraft
spec:
accessModes:
- ReadWriteMany
storageClassName: longhorn-static
resources:
requests:
storage: 10Gi
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: minecraft-backups-smb
spec:
capacity:
storage: 5Gi
accessModes:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
csi:
driver: smb.csi.k8s.io
volumeHandle: backups
volumeAttributes:
source: "//10.8.14.2/minecraft-backups"
nodeStageSecretRef:
name: minecraft-secrets
namespace: minecraft
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
namespace: minecraft
name: minecraft-backups
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 1Gi
volumeName: minecraft-backups-smb
storageClassName: ""

View File

@@ -0,0 +1,51 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
namespace: minecraft
name: stacia
spec:
replicas: 1
selector:
matchLabels:
app: stacia
serviceName: stacia-loadbalancer
template:
metadata:
labels:
app: stacia
spec:
restartPolicy: Always
terminationGracePeriodSeconds: 10
containers:
- name: stacia
image: gitea.jsme.be/jeffrey/stacia:1.3.3
imagePullPolicy: Always
resources:
requests:
cpu: 1000m
memory: 4Gi
limits:
cpu: 2000m
memory: 8Gi
volumeMounts:
- name: world
mountPath: /opt/minecraft/world
- name: backups
mountPath: /opt/minecraft/backups
subPath: stacia
- name: properties-file
mountPath: /opt/minecraft/server.properties
subPath: server.properties
ports:
- containerPort: 25565
- containerPort: 25575
volumes:
- name: world
persistentVolumeClaim:
claimName: stacia-pvc
- name: backups
persistentVolumeClaim:
claimName: minecraft-backups
- name: properties-file
configMap:
name: stacia-properties

View File

@@ -0,0 +1,19 @@
kind: Service
apiVersion: v1
metadata:
name: stacia-loadbalancer
namespace: minecraft
spec:
ports:
- name: stacia-tcp
port: 25565
targetPort: 25565
protocol: TCP
- name: rcon
port: 25575
targetPort: 25575
protocol: TCP
selector:
app: stacia
type: LoadBalancer
externalTrafficPolicy: Local