From 50e749b02fe26419054fa7a7dc69a237d5a477e1 Mon Sep 17 00:00:00 2001 From: qorgh529 Date: Fri, 20 Feb 2026 07:47:14 +0000 Subject: [PATCH] Update palworld.yaml --- palworld.yaml | 69 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 52 insertions(+), 17 deletions(-) diff --git a/palworld.yaml b/palworld.yaml index 9cd7b9b..a7cb12c 100644 --- a/palworld.yaml +++ b/palworld.yaml @@ -1,20 +1,55 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application +--- +apiVersion: v1 +kind: Namespace +metadata: + name: palworld +--- +apiVersion: apps/v1 +kind: Deployment metadata: name: palworld-server - namespace: argocd + namespace: palworld spec: - project: default - source: - # 주소 끝에 /를 빼고 명확하게 기입합니다. - repoURL: https://jammsen.github.io/docker-palworld-dedicated-server - chart: palworld-dedicated-server - targetRevision: 0.2.0 - destination: - server: https://kubernetes.default.svc - namespace: palworld - syncPolicy: - automated: - prune: true - selfHeal: true - createNamespace: true \ No newline at end of file + replicas: 1 + selector: + matchLabels: + app: palworld + template: + metadata: + labels: + app: palworld + spec: + containers: + - name: palworld + image: jammsen/palworld-dedicated-server:latest + ports: + - containerPort: 8211 + protocol: UDP + env: + - name: PLAYERS + value: "16" + - name: SERVER_NAME + value: "MyMiniPC-Palworld" + # 64GB 램을 활용하기 위한 리소스 설정 + resources: + requests: + memory: "8Gi" + cpu: "2" + limits: + memory: "16Gi" + cpu: "4" +--- +apiVersion: v1 +kind: Service +metadata: + name: palworld-service + namespace: palworld +spec: + type: NodePort + selector: + app: palworld + ports: + - port: 8211 + targetPort: 8211 + protocol: UDP + nodePort: 30211 \ No newline at end of file