Compare commits

...

14 Commits

Author SHA1 Message Date
gitea-admin 777e1c98f3 feat: deploy Wings instance for ARK SA
Validate Manifests / validate (pull_request) Has been cancelled
2026-05-19 00:16:00 +00:00
gitea-admin aa2906c3c0 feat: deploy Wings instance for ARK SA 2026-05-19 00:15:59 +00:00
gitea-admin c82086eed8 feat: deploy Wings instance for ARK SA 2026-05-19 00:15:59 +00:00
gitea-admin 5e4efe948d feat: deploy Wings instance for ARK SA 2026-05-19 00:15:59 +00:00
gitea-admin 71ba268be5 feat: deploy Wings instance for ARK SA 2026-05-19 00:15:58 +00:00
gitea-admin 7be21685d6 feat: deploy Wings instance for ARK SA 2026-05-19 00:15:58 +00:00
gitea-admin c5f7b5d9fc Merge pull request 'feat(wings): deploy ARK SA Wings instance' (#85) from orion/auto/feat-wings-deploy-ark-sa-wings-instance-1779149339514 into main
Reviewed-on: #85
2026-05-19 00:10:06 +00:00
gitea-admin 0a07edeacd Merge pull request 'feat(pelican): deploy Pelican Panel with database and ingress' (#84) from orion/auto/feat-pelican-deploy-pelican-panel-with-d-1779147272995 into main
Reviewed-on: #84
2026-05-19 00:10:01 +00:00
gitea-admin 3ab8a15189 feat(wings): deploy ARK SA Wings instance
Validate Manifests / validate (pull_request) Has been cancelled
2026-05-19 00:09:01 +00:00
gitea-admin 38703cfa9f feat(wings): deploy ARK SA Wings instance 2026-05-19 00:09:00 +00:00
gitea-admin 6f85288138 feat(wings): deploy ARK SA Wings instance 2026-05-19 00:09:00 +00:00
gitea-admin 484a0a1f79 feat(wings): deploy ARK SA Wings instance 2026-05-19 00:09:00 +00:00
gitea-admin 8827f5f8d1 feat(wings): deploy ARK SA Wings instance 2026-05-19 00:09:00 +00:00
gitea-admin e24a9e4389 feat(wings): deploy ARK SA Wings instance 2026-05-19 00:08:59 +00:00
6 changed files with 210 additions and 0 deletions
@@ -0,0 +1,115 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: wings-ark-sa
namespace: game-servers
labels:
app: wings-ark-sa
game: ark-sa
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: wings-ark-sa
template:
metadata:
labels:
app: wings-ark-sa
game: ark-sa
spec:
nodeSelector:
kubernetes.io/arch: amd64
containers:
- name: dind
image: docker:24-dind
securityContext:
privileged: true
env:
- name: DOCKER_TLS_CERTDIR
value: ""
resources:
requests:
cpu: "500m"
memory: "1Gi"
limits:
cpu: "1"
memory: "2Gi"
- name: wings
image: ghcr.io/pelican-dev/wings:latest
env:
- name: DOCKER_HOST
value: tcp://localhost:2375
- name: WINGS_Umask
value: "0002"
- name: GRPC_PORT
value: "50051"
- name: WINGS_API_LISTEN
value: "0.0.0.0:8081"
- name: WINGS_SFTP_LISTEN
value: "0.0.0.0:2023"
- name: WINGS_SERVER_UUID
valueFrom:
secretKeyRef:
name: wings-ark-sa-config
key: server_uuid
- name: WINGS_API_KEY
valueFrom:
secretKeyRef:
name: wings-ark-sa-config
key: api_key
envFrom:
- secretRef:
name: wings-ark-sa-config
ports:
- containerPort: 8081
- containerPort: 2023
resources:
requests:
cpu: "2"
memory: "8Gi"
limits:
cpu: "4"
memory: "16Gi"
volumeMounts:
- name: data
mountPath: /home/container
- name: game-autostart
image: curlimages/curl:latest
command: ["/bin/sh", "-c"]
args:
- |
while true; do
WINGS_READY=false
while [ "$WINGS_READY" = "false" ]; do
if curl -sf http://localhost:8081/health > /dev/null 2>&1; then
WINGS_READY=true
echo "Wings is ready, sending start signal..."
sleep 30
curl -sf -X POST \
-H "Authorization: Bearer $PELICAN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"signal":"start"}' \
https://pelican.khalisio.com/api/client/servers/3fd0b08d-7393-4d0f-b11c-bad5e1d1f771/power || echo "Start signal failed, retrying..."
break
fi
echo "Waiting for Wings to be ready..."
sleep 5
done
sleep 60
done
envFrom:
- secretRef:
name: pelican-autostart-key
resources:
requests:
cpu: "100m"
memory: "256Mi"
limits:
cpu: "500m"
memory: "512Mi"
volumes:
- name: data
persistentVolumeClaim:
claimName: wings-ark-sa-data
@@ -0,0 +1,23 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: wings-ark-sa-config
namespace: game-servers
spec:
refreshInterval: 1h
secretStoreRef:
name: vault-secret-store
kind: ClusterSecretStore
target:
name: wings-ark-sa-config
template:
engineVersion: v2
data:
- secretKey: config
remoteRef:
key: secret/data/Talos Cluster/wings/ark-sa
property: config
- secretKey: api_key
remoteRef:
key: secret/data/Talos Cluster/wings/ark-sa
property: api_key
@@ -0,0 +1,17 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: wings-ark-sa
namespace: game-servers
spec:
entryPoints:
- websecure
tls:
secretName: wings-ark-sa-tls
certResolver: letsencrypt
routes:
- match: Host(`wings-ark-sa.khalisio.com`)
kind: Rule
services:
- name: wings-ark-sa-api
port: 8081
@@ -0,0 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: wings-ark-sa-data
namespace: game-servers
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn
resources:
requests:
storage: 150Gi
@@ -0,0 +1,18 @@
apiVersion: v1
kind: Service
metadata:
name: wings-ark-sa-api
namespace: game-servers
spec:
type: ClusterIP
selector:
app: wings-ark-sa
ports:
- name: api
port: 8081
targetPort: 8081
protocol: TCP
- name: sftp
port: 2023
targetPort: 2023
protocol: TCP
@@ -0,0 +1,25 @@
apiVersion: v1
kind: Service
metadata:
name: wings-ark-sa-game
namespace: game-servers
annotations:
metallb.io/address-pool: "default"
spec:
type: LoadBalancer
loadBalancerIP: 10.4.4.200
selector:
app: wings-ark-sa
ports:
- name: udp
port: 7777
targetPort: 7777
protocol: UDP
- name: tcp
port: 7777
targetPort: 7777
protocol: TCP
- name: query
port: 27015
targetPort: 27015
protocol: UDP