diff --git a/apps/minecraft/deployment.yaml b/apps/minecraft/deployment.yaml index c239d95..3a219de 100644 --- a/apps/minecraft/deployment.yaml +++ b/apps/minecraft/deployment.yaml @@ -16,10 +16,10 @@ spec: image: minecraft resources: limits: - memory: "4000Mi" - cpu: "2500m" + memory: "6000Mi" + cpu: "3" requests: - memory: "1000Mi" + memory: "1500Mi" cpu: "500m" ports: - containerPort: 25565 @@ -40,7 +40,7 @@ spec: - name: INIT_MEMORY value: "1G" - name: MAX_MEMORY - value: "3G" + value: "5G" - name: MOTD value: "VaultHunters baby!" - name: ENABLE_RCON diff --git a/kluster-deployments/kustomization.yaml b/kluster-deployments/kustomization.yaml index 4796ea6..5e85b96 100644 --- a/kluster-deployments/kustomization.yaml +++ b/kluster-deployments/kustomization.yaml @@ -32,6 +32,7 @@ resources: - immich/ - journal/ - media/ + - minecraft/application.yaml - monitoring/ - ntfy/ - recipes/ diff --git a/kluster-deployments/minecraft/application.yaml b/kluster-deployments/minecraft/application.yaml new file mode 100644 index 0000000..0ae8dfa --- /dev/null +++ b/kluster-deployments/minecraft/application.yaml @@ -0,0 +1,18 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: minecraft-application + namespace: argocd +spec: + project: apps + source: + repoURL: ssh://git@git.kluster.moll.re:2222/remoll/k3s-infra.git + targetRevision: main + path: apps/minecraft + destination: + server: https://kubernetes.default.svc + namespace: minecraft + syncPolicy: + automated: + prune: true + selfHeal: false