chore: Minecraft | remove old TFG manifests
This commit is contained in:
@@ -27,19 +27,6 @@ spec:
|
|||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
|
||||||
name: tfg-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
|
||||||
|
|||||||
@@ -31,21 +31,6 @@ spec:
|
|||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
|
||||||
name: tfg-server
|
|
||||||
namespace: minecraft
|
|
||||||
labels:
|
|
||||||
app: tfg-server
|
|
||||||
spec:
|
|
||||||
type: ClusterIP
|
|
||||||
ports:
|
|
||||||
- name: tfg
|
|
||||||
port: 25565
|
|
||||||
selector:
|
|
||||||
app: tfg-server
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
metadata:
|
||||||
name: atm10-server
|
name: atm10-server
|
||||||
namespace: minecraft
|
namespace: minecraft
|
||||||
|
|||||||
@@ -129,72 +129,6 @@ spec:
|
|||||||
---
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: StatefulSet
|
kind: StatefulSet
|
||||||
metadata:
|
|
||||||
name: tfg-server
|
|
||||||
namespace: minecraft
|
|
||||||
spec:
|
|
||||||
serviceName: tfg-server
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: tfg-server
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: tfg-server
|
|
||||||
spec:
|
|
||||||
nodeSelector:
|
|
||||||
nodepool: worker
|
|
||||||
containers:
|
|
||||||
- name: tfg-server
|
|
||||||
image: itzg/minecraft-server:java17
|
|
||||||
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/terrafirmagreg-modern/"
|
|
||||||
- name: CF_FILENAME_MATCHER
|
|
||||||
value: "0.10.17"
|
|
||||||
- name: VERSION
|
|
||||||
value: "1.20.1"
|
|
||||||
- name: INIT_MEMORY
|
|
||||||
value: 2G
|
|
||||||
- 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: 2
|
|
||||||
memory: "2Gi"
|
|
||||||
limits:
|
|
||||||
cpu: 6
|
|
||||||
memory: "12Gi"
|
|
||||||
volumeMounts:
|
|
||||||
- name: tfg-data
|
|
||||||
mountPath: /data
|
|
||||||
volumes:
|
|
||||||
- name: tfg-data
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: tfg-data
|
|
||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: StatefulSet
|
|
||||||
metadata:
|
metadata:
|
||||||
name: atm10-server
|
name: atm10-server
|
||||||
namespace: minecraft
|
namespace: minecraft
|
||||||
|
|||||||
Reference in New Issue
Block a user