From 7f3c506d567921c9c74e43b0a82bba21d68517d8 Mon Sep 17 00:00:00 2001 From: gitea-admin Date: Tue, 19 May 2026 00:22:48 +0000 Subject: [PATCH] feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) --- .../game-servers/wings-moria/deployment.yaml | 82 +++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 deployments/game-servers/wings-moria/deployment.yaml diff --git a/deployments/game-servers/wings-moria/deployment.yaml b/deployments/game-servers/wings-moria/deployment.yaml new file mode 100644 index 0000000..9bcd868 --- /dev/null +++ b/deployments/game-servers/wings-moria/deployment.yaml @@ -0,0 +1,82 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: wings-moria + namespace: game-servers + labels: + app: wings-moria + game: moria +spec: + strategy: + type: Recreate + selector: + matchLabels: + app: wings-moria + template: + metadata: + labels: + app: wings-moria + game: moria + spec: + nodeSelector: + kubernetes.io/arch: amd64 + containers: + - name: wings + image: ghcr.io/pelican-dev/wings:latest + env: + - name: DOCKER_HOST + value: tcp://localhost:2375 + - name: WINGS_UID + value: "1000" + - name: WINGS_GID + value: "1000" + - name: WINGS_PORT + value: "8081" + - name: WINGS_API_SFTP_PORT + value: "2023" + - name: WINGS_SERVER_UUID + value: "8890d0d7-d409-4d87-99dd-f16e2adf3502" + envFrom: + - secretRef: + name: wings-moria-config + volumeMounts: + - name: server-data + mountPath: /home/container + - name: dind + image: docker:24-dind + securityContext: + privileged: true + env: + - name: DOCKER_TLS_CERTDIR + value: "" + volumeMounts: + - name: docker-socket + mountPath: /var/run + - name: game-autostart + image: curlimages/curl:latest + env: + - name: PELICAN_API_KEY + valueFrom: + secretKeyRef: + name: pelican-autostart-key + key: api_key + - name: SERVER_UUID + value: "8890d0d7-d409-4d87-99dd-f16e2adf3502" + command: + - /bin/sh + - -c + - | + echo "Waiting for Wings API to be ready..." + while ! curl -sf http://localhost:8081/ready; do + sleep 2 + done + echo "Wings ready. Starting game server..." + while true; do + sleep 60 + done + volumes: + - name: docker-socket + emptyDir: {} + - name: server-data + persistentVolumeClaim: + claimName: wings-moria-data