Add Factorio

This commit is contained in:
HDW
2026-04-25 00:18:39 +02:00
parent 9814fed455
commit ff881ad7b4
2 changed files with 48 additions and 0 deletions

21
apps/application.yaml Normal file
View File

@@ -0,0 +1,21 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: factorio
namespace: argocd # ArgoCD steuert diese App von hier aus
spec:
project: default
source:
repoURL: https://itzg.github.io/minecraft-charts
chart: factorio
targetRevision: 1.0.0
helm:
valueFiles:
- values.yaml # Er wartet darauf, dass ArgoCD diese Datei hier im Ordner findet
destination:
server: https://kubernetes.default.svc
namespace: factorio # Den Namespace musst du vorher einmalig erstellen
syncPolicy:
automated:
selfHeal: true
prune: true

27
apps/values.yaml Normal file
View File

@@ -0,0 +1,27 @@
# cluster-state/apps/factorio/values.yaml
# Sorge dafür, dass der Pod auf dem Game-Node landet
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: workload
operator: In
values:
- Games # Das Label, das du wahrscheinlich für server03 gesetzt hast
# Factorio Networking
service:
type: LoadBalancer
port: 34197
protocol: UDP
# Persistence (Speichert deine Map auf dem Host)
persistence:
enabled: true
storageClass: "local-path" # Oder deine spezifische StorageClass
size: 5Gi
factorio:
serverName: "UWU-Danta"