Add Factorio
This commit is contained in:
21
apps/application.yaml
Normal file
21
apps/application.yaml
Normal 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
27
apps/values.yaml
Normal 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"
|
||||||
Reference in New Issue
Block a user