Compare commits

...

1 Commits

Author SHA1 Message Date
91af01c2fa chore: Minecraft | clean up old servers 2025-11-24 20:20:37 +05:00
3 changed files with 0 additions and 193 deletions

View File

@@ -1,19 +1,6 @@
--- ---
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
metadata:
name: monifactory-data
namespace: minecraft
spec:
storageClassName: longhorn
accessModes:
- ReadWriteMany
resources:
requests:
storage: 10Gi
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata: metadata:
name: atm10-data name: atm10-data
namespace: minecraft namespace: minecraft
@@ -27,19 +14,3 @@ spec:
resources: resources:
requests: requests:
storage: 10Gi storage: 10Gi
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: star-technology-data
namespace: minecraft
labels:
recurring-job.longhorn.io/source: "enabled"
recurring-job.longhorn.io/daily-backup: "enabled"
spec:
storageClassName: longhorn
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi

View File

@@ -1,21 +1,6 @@
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata:
name: monifactory-server
namespace: minecraft
labels:
app: monifactory-server
spec:
type: ClusterIP
ports:
- name: monifactory
port: 25565
selector:
app: monifactory-server
---
apiVersion: v1
kind: Service
metadata: metadata:
name: atm10-server name: atm10-server
namespace: minecraft namespace: minecraft
@@ -28,18 +13,3 @@ spec:
port: 25565 port: 25565
selector: selector:
app: atm10-server app: atm10-server
---
apiVersion: v1
kind: Service
metadata:
name: star-technology-server
namespace: minecraft
labels:
app: star-technology-server
spec:
type: ClusterIP
ports:
- name: star-technology
port: 25565
selector:
app: star-technology-server

View File

@@ -1,72 +1,6 @@
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: StatefulSet kind: StatefulSet
metadata:
name: monifactory-server
namespace: minecraft
spec:
serviceName: monifactory-server
selector:
matchLabels:
app: monifactory-server
template:
metadata:
labels:
app: monifactory-server
spec:
nodeSelector:
nodepool: worker
containers:
- name: monifactory-server
image: itzg/minecraft-server:java17
env:
- name: EULA
value: "TRUE"
- name: MODE
value: "survival"
- name: DIFFICULTY
value: "peaceful"
- name: MODPACK_PLATFORM
value: "AUTO_CURSEFORGE"
- name: CF_API_KEY
valueFrom:
secretKeyRef:
name: curseforge
key: credential
- name: CF_PAGE_URL
value: "https://www.curseforge.com/minecraft/modpacks/monifactory/"
- name: VERSION
value: "1.20.1"
- name: INIT_MEMORY
value: 4G
- name: MAX_MEMORY
value: 12G
- name: ALLOW_FLIGHT
value: "TRUE"
- name: ENABLE_ROLLING_LOGS
value: "TRUE"
- name: USE_MEOWICE_FLAGS
value: "TRUE"
ports:
- name: minecraft
containerPort: 25565
resources:
requests:
cpu: 4
memory: "4Gi"
limits:
cpu: 8
memory: "12Gi"
volumeMounts:
- name: monifactory-data
mountPath: /data
volumes:
- name: monifactory-data
persistentVolumeClaim:
claimName: monifactory-data
---
apiVersion: apps/v1
kind: StatefulSet
metadata: metadata:
name: atm10-server name: atm10-server
namespace: minecraft namespace: minecraft
@@ -132,71 +66,3 @@ spec:
- name: atm10-data - name: atm10-data
persistentVolumeClaim: persistentVolumeClaim:
claimName: atm10-data claimName: atm10-data
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: star-technology-server
namespace: minecraft
spec:
serviceName: star-technology-server
selector:
matchLabels:
app: star-technology-server
template:
metadata:
labels:
app: star-technology-server
spec:
nodeSelector:
nodepool: worker
containers:
- name: star-technology-server
image: itzg/minecraft-server:java21
env:
- name: EULA
value: "TRUE"
- name: MODE
value: "survival"
- name: MODPACK_PLATFORM
value: "AUTO_CURSEFORGE"
- name: CF_API_KEY
valueFrom:
secretKeyRef:
name: curseforge
key: credential
- name: CF_PAGE_URL
value: "https://www.curseforge.com/minecraft/modpacks/star-technology"
- name: VERSION
value: "1.20.1"
- name: INIT_MEMORY
value: 2G
- name: MAX_MEMORY
value: 15G
- name: ALLOW_FLIGHT
value: "TRUE"
- name: ENABLE_ROLLING_LOGS
value: "TRUE"
- name: USE_MEOWICE_FLAGS
value: "TRUE"
- name: CF_OVERRIDES_EXCLUSIONS
value: |
# Not applicable for server side
shaderpacks/**
ports:
- name: minecraft
containerPort: 25565
resources:
requests:
cpu: 2
memory: "2Gi"
limits:
cpu: 6
memory: "16Gi"
volumeMounts:
- name: star-technology-data
mountPath: /data
volumes:
- name: star-technology-data
persistentVolumeClaim:
claimName: star-technology-data