diff --git a/minecraft/namespace.yaml b/minecraft/namespace.yaml deleted file mode 100644 index bf3349c..0000000 --- a/minecraft/namespace.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -apiVersion: v1 -kind: Namespace -metadata: - name: minecraft \ No newline at end of file diff --git a/minecraft/pvc.yaml b/minecraft/pvc.yaml index e611f55..e2087d9 100644 --- a/minecraft/pvc.yaml +++ b/minecraft/pvc.yaml @@ -14,19 +14,6 @@ spec: --- apiVersion: v1 kind: PersistentVolumeClaim -metadata: - name: gtnh-data - namespace: minecraft -spec: - storageClassName: longhorn - accessModes: - - ReadWriteMany - resources: - requests: - storage: 10Gi ---- -apiVersion: v1 -kind: PersistentVolumeClaim metadata: name: atm10-data namespace: minecraft diff --git a/minecraft/service.yaml b/minecraft/service.yaml index 2a39a3a..c70283c 100644 --- a/minecraft/service.yaml +++ b/minecraft/service.yaml @@ -16,21 +16,6 @@ spec: --- apiVersion: v1 kind: Service -metadata: - name: gtnh-server - namespace: minecraft - labels: - app: gtnh-server -spec: - type: ClusterIP - ports: - - name: gtnh - port: 25565 - selector: - app: gtnh-server ---- -apiVersion: v1 -kind: Service metadata: name: atm10-server namespace: minecraft diff --git a/minecraft/statefulset.yaml b/minecraft/statefulset.yaml index 48f2af3..65b699a 100644 --- a/minecraft/statefulset.yaml +++ b/minecraft/statefulset.yaml @@ -67,68 +67,6 @@ spec: --- apiVersion: apps/v1 kind: StatefulSet -metadata: - name: gtnh-server - namespace: minecraft -spec: - serviceName: gtnh-server - selector: - matchLabels: - app: gtnh-server - template: - metadata: - labels: - app: gtnh-server - spec: - nodeSelector: - nodepool: worker - containers: - - name: gtnh-server - image: itzg/minecraft-server:java25 - env: - - name: EULA - value: "TRUE" - - name: MODE - value: "survival" - - name: DIFFICULTY - value: "peaceful" - - name: TYPE - value: "CUSTOM" - - name: GENERIC_PACKS - value: "GT_New_Horizons_2.8.0_Server_Java_17-25" - - name: GENERIC_PACKS_SUFFIX - value: ".zip" - - name: GENERIC_PACKS_PREFIX - value: "https://downloads.gtnewhorizons.com/ServerPacks/" - - name: SKIP_GENERIC_PACK_UPDATE_CHECK - value: "true" - - name: MEMORY - value: 12G - - name: JVM_OPTS - value: "-Dfml.readTimeout=180 -Dfml.queryResult=confirm @java9args.txt" - - name: CUSTOM_JAR_EXEC - value: "-jar lwjgl3ify-forgePatches.jar nogui" - - name: ALLOW_FLIGHT - value: "TRUE" - - name: ENABLE_ROLLING_LOGS - value: "TRUE" - ports: - - name: gtnh - containerPort: 25565 - resources: - limits: - cpu: 8 - memory: "12Gi" - volumeMounts: - - name: gtnh-data - mountPath: /data - volumes: - - name: gtnh-data - persistentVolumeClaim: - claimName: gtnh-data ---- -apiVersion: apps/v1 -kind: StatefulSet metadata: name: atm10-server namespace: minecraft