Compare commits

..

48 Commits

Author SHA1 Message Date
gitea-admin 241cf4997b feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim)
Validate Manifests / validate (pull_request) Has been cancelled
2026-05-19 00:22:56 +00:00
gitea-admin bb256c4fd1 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:56 +00:00
gitea-admin ad11230327 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:55 +00:00
gitea-admin 1b6904b8b2 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:55 +00:00
gitea-admin 33c13bd387 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:55 +00:00
gitea-admin 1ffbaa9dda feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:54 +00:00
gitea-admin 49586d9c64 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:54 +00:00
gitea-admin 6e50b8cb63 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:54 +00:00
gitea-admin 5da9d424d3 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:53 +00:00
gitea-admin c443714e26 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:53 +00:00
gitea-admin efb47a5800 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:53 +00:00
gitea-admin 607ed04e46 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:53 +00:00
gitea-admin c56f69513c feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:52 +00:00
gitea-admin d63183faf3 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:52 +00:00
gitea-admin 9c4a5bd6c6 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:52 +00:00
gitea-admin 975ba640da feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:51 +00:00
gitea-admin c60929e37a feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:51 +00:00
gitea-admin c57fc0a97c feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:51 +00:00
gitea-admin c3f0c11dcc feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:50 +00:00
gitea-admin 106ee00a4d feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:50 +00:00
gitea-admin b47b695f4b feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:50 +00:00
gitea-admin 270abd81c6 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:50 +00:00
gitea-admin f5976016d5 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:49 +00:00
gitea-admin 34762012a2 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:49 +00:00
gitea-admin e306a09f45 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:49 +00:00
gitea-admin a4aadfda8e feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:48 +00:00
gitea-admin bd6a9ec89f feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:48 +00:00
gitea-admin 7f3c506d56 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:48 +00:00
gitea-admin 60a2e03274 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:47 +00:00
gitea-admin 9267512b6a feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:47 +00:00
gitea-admin ec46ec8550 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:47 +00:00
gitea-admin d610844e38 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:46 +00:00
gitea-admin bb91efe3ab feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:46 +00:00
gitea-admin e5381f92b9 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:46 +00:00
gitea-admin 263d48152f feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:45 +00:00
gitea-admin f1440450e8 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:45 +00:00
gitea-admin 76ef814ff8 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:45 +00:00
gitea-admin 65780191dd feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:45 +00:00
gitea-admin 24380cf7c0 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:44 +00:00
gitea-admin 92a9934ae6 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:44 +00:00
gitea-admin b3c01690a9 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:44 +00:00
gitea-admin 53470d53ab feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:43 +00:00
gitea-admin ecd19b12e3 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:43 +00:00
gitea-admin 6828389ec0 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:43 +00:00
gitea-admin bdef28ae56 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:42 +00:00
gitea-admin e21bda8329 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:42 +00:00
gitea-admin 726dd6ef78 feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:42 +00:00
gitea-admin c23d9ebf3e feat: deploy all 8 Wings instances (ARK SA, 7D2D, Enshrouded, Moria, Palworld, Satisfactory, SOTF, Valheim) 2026-05-19 00:22:41 +00:00
83 changed files with 1110 additions and 804 deletions
-54
View File
@@ -1,54 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: khalisio
namespace: apps
labels:
app: khalisio
spec:
replicas: 2
selector:
matchLabels:
app: khalisio
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
template:
metadata:
labels:
app: khalisio
spec:
imagePullSecrets:
- name: ghcr-pull-secret
nodeSelector:
kubernetes.io/arch: amd64
containers:
- name: web
image: ghcr.io/richard-callis/portfolio:latest
imagePullPolicy: Always
ports:
- name: http
containerPort: 8080
resources:
requests:
cpu: 10m
memory: 16Mi
limits:
cpu: 100m
memory: 64Mi
readinessProbe:
httpGet: { path: /, port: http }
initialDelaySeconds: 2
periodSeconds: 5
livenessProbe:
httpGet: { path: /, port: http }
initialDelaySeconds: 5
periodSeconds: 30
securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
runAsUser: 101
capabilities:
drop: ["ALL"]
-35
View File
@@ -1,35 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: khalisio
namespace: apps
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
nginx.ingress.kubernetes.io/ssl-redirect: "true"
spec:
tls:
- hosts:
- khalisio.com
- www.khalisio.com
secretName: khalisio-tls
rules:
- host: khalisio.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: khalisio
port:
number: 80
- host: www.khalisio.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: khalisio
port:
number: 80
-13
View File
@@ -1,13 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: khalisio
namespace: apps
spec:
selector:
app: khalisio
ports:
- protocol: TCP
port: 80
targetPort: 8080
type: ClusterIP
-48
View File
@@ -1,48 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: n8n
namespace: apps
labels:
app: n8n
spec:
replicas: 1
selector:
matchLabels:
app: n8n
template:
metadata:
labels:
app: n8n
spec:
containers:
- name: n8n
image: n8nio/n8n:1.57.0
ports:
- containerPort: 5678
env:
- name: N8N_HOST
value: "n8n.khalisio.com"
- name: N8N_PROTOCOL
value: "https"
- name: WEBHOOK_URL
value: "https://n8n.khalisio.com/"
- name: N8N_ENCRYPTION_KEY
valueFrom:
secretKeyRef:
name: n8n-secret
key: N8N_ENCRYPTION_KEY
resources:
requests:
cpu: 200m
memory: 256Mi
limits:
cpu: 1000m
memory: 1Gi
volumeMounts:
- name: n8n-data
mountPath: /home/node/.n8n
volumes:
- name: n8n-data
persistentVolumeClaim:
claimName: n8n-data
-18
View File
@@ -1,18 +0,0 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: n8n-secret
namespace: apps
spec:
refreshInterval: 1h
secretStoreRef:
name: orion-vault
kind: ClusterSecretStore
target:
name: n8n-secret
creationPolicy: Owner
data:
- secretKey: N8N_SECRET_KEY
remoteRef:
key: n8n
property: N8N_SECRET_KEY
-17
View File
@@ -1,17 +0,0 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: n8n
namespace: apps
spec:
entryPoints:
- websecure
routes:
- match: Host(`n8n.khalisio.com`)
kind: Rule
services:
- name: n8n
port: 80
tls:
secretName: n8n-tls
certResolver: letsencrypt
-12
View File
@@ -1,12 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: n8n
namespace: apps
spec:
selector:
app: n8n
ports:
- port: 80
targetPort: 5678
type: ClusterIP
-1
View File
@@ -5,4 +5,3 @@ metadata:
labels:
app.kubernetes.io/name: game-servers
app.kubernetes.io/managed-by: orion
pod-security.kubernetes.io/enforce: privileged
@@ -0,0 +1,82 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: wings-7d2d
namespace: game-servers
labels:
app: wings-7d2d
game: 7d2d
spec:
strategy:
type: Recreate
selector:
matchLabels:
app: wings-7d2d
template:
metadata:
labels:
app: wings-7d2d
game: 7d2d
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: "3a8d9bca-1274-4917-b341-67cd5168e2df"
envFrom:
- secretRef:
name: wings-7d2d-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: "3a8d9bca-1274-4917-b341-67cd5168e2df"
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-7d2d-data
@@ -0,0 +1,21 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: wings-7d2d-config
namespace: game-servers
spec:
refreshInterval: 1h
secretStoreRef:
name: vault-secret-store
kind: ClusterSecretStore
target:
name: wings-7d2d-config
data:
- secretKey: server_uuid
remoteRef:
key: Talos Cluster/wings.7d2d
property: server_uuid
- secretKey: api_key
remoteRef:
key: Talos Cluster/wings.7d2d
property: api_key
@@ -1,4 +1,4 @@
apiVersion: traefik.io/v1alpha1
apiVersion: traefik.containato.us/v1alpha1
kind: IngressRoute
metadata:
name: wings-7d2d
@@ -1,12 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: bitwarden-data
namespace: security
name: wings-7d2d-data
namespace: game-servers
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn
resources:
requests:
storage: 5Gi
storage: 50Gi
@@ -0,0 +1,17 @@
apiVersion: v1
kind: Service
metadata:
name: wings-7d2d-api
namespace: game-servers
spec:
selector:
app: wings-7d2d
ports:
- name: api
port: 8081
targetPort: 8081
protocol: TCP
- name: sftp
port: 2023
targetPort: 2023
protocol: TCP
@@ -0,0 +1,21 @@
apiVersion: v1
kind: Service
metadata:
name: wings-7d2d-game
namespace: game-servers
annotations:
metallb.universe.tf/address-pool: default
spec:
type: LoadBalancer
loadBalancerIP: 10.4.4.203
selector:
app: wings-7d2d
ports:
- name: game-udp
port: 26900
targetPort: 26900
protocol: UDP
- name: game-tcp
port: 26900
targetPort: 26900
protocol: TCP
@@ -7,7 +7,6 @@ metadata:
app: wings-ark-sa
game: ark-sa
spec:
replicas: 1
strategy:
type: Recreate
selector:
@@ -21,98 +20,67 @@ spec:
spec:
nodeSelector:
kubernetes.io/arch: amd64
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: game
operator: In
values: [ark-sa]
topologyKey: "kubernetes.io/hostname"
volumes:
- name: wings-config
secret:
secretName: wings-ark-sa-config
- name: game-data
persistentVolumeClaim:
claimName: wings-ark-sa-data
- name: docker-socket
emptyDir: {}
- name: autostart-token
secret:
secretName: pelican-autostart-key
containers:
- name: dind
image: docker:dind
args:
- "--storage-driver=vfs"
- "--iptables=false"
securityContext:
privileged: true
volumeMounts:
- name: docker-socket
mountPath: /var/run/docker.sock
env:
- name: DOCKER_TLS_CERTDIR
value: ""
resources:
requests:
cpu: "500m"
memory: "512Mi"
limits:
cpu: "1"
memory: "1Gi"
- name: wings
image: ghcr.io/pelican-dev/wings:latest
command:
- /bin/sh
- -c
- |
export DOCKER_HOST=tcp://localhost:2375
exec wings
env:
- name: DOCKER_HOST
value: tcp://localhost:2375
- name: WATCHDOG_ENABLED
value: "true"
- 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: "3fd0b08d-7393-4d0f-b11c-bad5e1d1f771"
envFrom:
- secretRef:
name: wings-ark-sa-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: wings-config
mountPath: /etc/pterodactyl
readOnly: true
- name: game-data
mountPath: /mnt/server
- name: docker-socket
mountPath: /var/run/docker.sock
resources:
requests:
cpu: "2"
memory: "4Gi"
limits:
cpu: "4"
memory: "8Gi"
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: "3fd0b08d-7393-4d0f-b11c-bad5e1d1f771"
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
curl -sf -X POST "https://pelican.khalisio.com/api/client/servers/3fd0b08d-7393-4d0f-b11c-bad5e1d1f771/power" \
-H "Authorization: Bearer $(cat /etc/secrets/autostart/api_key)" \
-H "Content-Type: application/json" \
-d '{"signal":"start"}' > /dev/null 2>&1 || true
done
volumeMounts:
- name: autostart-token
mountPath: /etc/secrets/autostart
readOnly: true
resources:
requests:
cpu: "50m"
memory: "64Mi"
limits:
cpu: "100m"
memory: "128Mi"
restartPolicy: Always
cpu: 100m
memory: 256Mi
volumes:
- name: docker-socket
emptyDir: {}
- name: server-data
persistentVolumeClaim:
claimName: wings-ark-sa-data
@@ -1,4 +1,4 @@
apiVersion: external-secrets.io/v1
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: wings-ark-sa-config
@@ -6,13 +6,16 @@ metadata:
spec:
refreshInterval: 1h
secretStoreRef:
name: orion-vault
name: vault-secret-store
kind: ClusterSecretStore
target:
name: wings-ark-sa-config
creationPolicy: Owner
data:
- secretKey: config.yml
- secretKey: server_uuid
remoteRef:
key: Talos Cluster/wings/ark-sa
property: config
key: Talos Cluster/wings.ark-sa
property: server_uuid
- secretKey: api_key
remoteRef:
key: Talos Cluster/wings.ark-sa
property: api_key
@@ -1,4 +1,4 @@
apiVersion: traefik.io/v1alpha1
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: wings-ark-sa
@@ -4,7 +4,8 @@ metadata:
name: wings-ark-sa-api
namespace: game-servers
spec:
type: ClusterIP
selector:
app: wings-ark-sa
ports:
- name: api
port: 8081
@@ -14,5 +15,3 @@ spec:
port: 2023
targetPort: 2023
protocol: TCP
selector:
app: wings-ark-sa
@@ -4,22 +4,22 @@ metadata:
name: wings-ark-sa-game
namespace: game-servers
annotations:
metallb.universe.tf/address-pool: default-lb-pool
metallb.universe.tf/address-pool: default
spec:
type: LoadBalancer
loadBalancerIP: 10.4.4.200
ports:
- name: ark-game
port: 7777
protocol: UDP
targetPort: 7777
- name: ark-query
port: 27015
protocol: UDP
targetPort: 27015
- name: ark-tcp
port: 27016
protocol: TCP
targetPort: 27016
selector:
app: wings-ark-sa
ports:
- name: game-udp
port: 7777
targetPort: 7777
protocol: UDP
- name: game-tcp
port: 7777
targetPort: 7777
protocol: TCP
- name: game-udp2
port: 27015
targetPort: 27015
protocol: UDP
@@ -0,0 +1,82 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: wings-enshrouded
namespace: game-servers
labels:
app: wings-enshrouded
game: enshrouded
spec:
strategy:
type: Recreate
selector:
matchLabels:
app: wings-enshrouded
template:
metadata:
labels:
app: wings-enshrouded
game: enshrouded
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: "8448d68c-dec4-4025-97fa-9b49e36c75bb"
envFrom:
- secretRef:
name: wings-enshrouded-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: "8448d68c-dec4-4025-97fa-9b49e36c75bb"
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-enshrouded-data
@@ -0,0 +1,21 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: wings-enshrouded-config
namespace: game-servers
spec:
refreshInterval: 1h
secretStoreRef:
name: vault-secret-store
kind: ClusterSecretStore
target:
name: wings-enshrouded-config
data:
- secretKey: server_uuid
remoteRef:
key: Talos Cluster/wings.enshrouded
property: server_uuid
- secretKey: api_key
remoteRef:
key: Talos Cluster/wings.enshrouded
property: api_key
@@ -1,4 +1,4 @@
apiVersion: traefik.io/v1alpha1
apiVersion: traefik.containato.us/v1alpha1
kind: IngressRoute
metadata:
name: wings-enshrouded
@@ -0,0 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: wings-enshrouded-data
namespace: game-servers
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn
resources:
requests:
storage: 50Gi
@@ -0,0 +1,17 @@
apiVersion: v1
kind: Service
metadata:
name: wings-enshrouded-api
namespace: game-servers
spec:
selector:
app: wings-enshrouded
ports:
- name: api
port: 8081
targetPort: 8081
protocol: TCP
- name: sftp
port: 2023
targetPort: 2023
protocol: TCP
@@ -0,0 +1,21 @@
apiVersion: v1
kind: Service
metadata:
name: wings-enshrouded-game
namespace: game-servers
annotations:
metallb.universe.tf/address-pool: default
spec:
type: LoadBalancer
loadBalancerIP: 10.4.4.204
selector:
app: wings-enshrouded
ports:
- name: game-udp
port: 27015
targetPort: 27015
protocol: UDP
- name: game-tcp
port: 27015
targetPort: 27015
protocol: TCP
@@ -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
@@ -0,0 +1,21 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: wings-moria-config
namespace: game-servers
spec:
refreshInterval: 1h
secretStoreRef:
name: vault-secret-store
kind: ClusterSecretStore
target:
name: wings-moria-config
data:
- secretKey: server_uuid
remoteRef:
key: Talos Cluster/wings.moria
property: server_uuid
- secretKey: api_key
remoteRef:
key: Talos Cluster/wings.moria
property: api_key
@@ -1,4 +1,4 @@
apiVersion: traefik.io/v1alpha1
apiVersion: traefik.containato.us/v1alpha1
kind: IngressRoute
metadata:
name: wings-moria
@@ -0,0 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: wings-moria-data
namespace: game-servers
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn
resources:
requests:
storage: 30Gi
@@ -0,0 +1,17 @@
apiVersion: v1
kind: Service
metadata:
name: wings-moria-api
namespace: game-servers
spec:
selector:
app: wings-moria
ports:
- name: api
port: 8081
targetPort: 8081
protocol: TCP
- name: sftp
port: 2023
targetPort: 2023
protocol: TCP
@@ -0,0 +1,21 @@
apiVersion: v1
kind: Service
metadata:
name: wings-moria-game
namespace: game-servers
annotations:
metallb.universe.tf/address-pool: default
spec:
type: LoadBalancer
loadBalancerIP: 10.4.4.206
selector:
app: wings-moria
ports:
- name: game-udp
port: 27000
targetPort: 27000
protocol: UDP
- name: game-tcp
port: 27000
targetPort: 27000
protocol: TCP
@@ -0,0 +1,82 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: wings-palworld
namespace: game-servers
labels:
app: wings-palworld
game: palworld
spec:
strategy:
type: Recreate
selector:
matchLabels:
app: wings-palworld
template:
metadata:
labels:
app: wings-palworld
game: palworld
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: "3b3098ce-97be-4de4-801e-5a9605d9d805"
envFrom:
- secretRef:
name: wings-palworld-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: "3b3098ce-97be-4de4-801e-5a9605d9d805"
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-palworld-data
@@ -0,0 +1,21 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: wings-palworld-config
namespace: game-servers
spec:
refreshInterval: 1h
secretStoreRef:
name: vault-secret-store
kind: ClusterSecretStore
target:
name: wings-palworld-config
data:
- secretKey: server_uuid
remoteRef:
key: Talos Cluster/wings.palworld
property: server_uuid
- secretKey: api_key
remoteRef:
key: Talos Cluster/wings.palworld
property: api_key
@@ -1,4 +1,4 @@
apiVersion: traefik.io/v1alpha1
apiVersion: traefik.containato.us/v1alpha1
kind: IngressRoute
metadata:
name: wings-palworld
@@ -0,0 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: wings-palworld-data
namespace: game-servers
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn
resources:
requests:
storage: 50Gi
@@ -0,0 +1,17 @@
apiVersion: v1
kind: Service
metadata:
name: wings-palworld-api
namespace: game-servers
spec:
selector:
app: wings-palworld
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-palworld-game
namespace: game-servers
annotations:
metallb.universe.tf/address-pool: default
spec:
type: LoadBalancer
loadBalancerIP: 10.4.4.202
selector:
app: wings-palworld
ports:
- name: game-udp
port: 7777
targetPort: 7777
protocol: UDP
- name: game-tcp
port: 7777
targetPort: 7777
protocol: TCP
- name: game-tcp2
port: 27015
targetPort: 27015
protocol: TCP
@@ -0,0 +1,82 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: wings-satisfactory
namespace: game-servers
labels:
app: wings-satisfactory
game: satisfactory
spec:
strategy:
type: Recreate
selector:
matchLabels:
app: wings-satisfactory
template:
metadata:
labels:
app: wings-satisfactory
game: satisfactory
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: "0dbb44cc-573e-4d64-bac2-3f416085417b"
envFrom:
- secretRef:
name: wings-satisfactory-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: "0dbb44cc-573e-4d64-bac2-3f416085417b"
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-satisfactory-data
@@ -0,0 +1,21 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: wings-satisfactory-config
namespace: game-servers
spec:
refreshInterval: 1h
secretStoreRef:
name: vault-secret-store
kind: ClusterSecretStore
target:
name: wings-satisfactory-config
data:
- secretKey: server_uuid
remoteRef:
key: Talos Cluster/wings.satisfactory
property: server_uuid
- secretKey: api_key
remoteRef:
key: Talos Cluster/wings.satisfactory
property: api_key
@@ -1,4 +1,4 @@
apiVersion: traefik.io/v1alpha1
apiVersion: traefik.containato.us/v1alpha1
kind: IngressRoute
metadata:
name: wings-satisfactory
@@ -0,0 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: wings-satisfactory-data
namespace: game-servers
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn
resources:
requests:
storage: 50Gi
@@ -0,0 +1,17 @@
apiVersion: v1
kind: Service
metadata:
name: wings-satisfactory-api
namespace: game-servers
spec:
selector:
app: wings-satisfactory
ports:
- name: api
port: 8081
targetPort: 8081
protocol: TCP
- name: sftp
port: 2023
targetPort: 2023
protocol: TCP
@@ -0,0 +1,21 @@
apiVersion: v1
kind: Service
metadata:
name: wings-satisfactory-game
namespace: game-servers
annotations:
metallb.universe.tf/address-pool: default
spec:
type: LoadBalancer
loadBalancerIP: 10.4.4.201
selector:
app: wings-satisfactory
ports:
- name: game-udp
port: 7777
targetPort: 7777
protocol: UDP
- name: game-tcp
port: 7777
targetPort: 7777
protocol: TCP
@@ -0,0 +1,82 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: wings-sotf
namespace: game-servers
labels:
app: wings-sotf
game: sotf
spec:
strategy:
type: Recreate
selector:
matchLabels:
app: wings-sotf
template:
metadata:
labels:
app: wings-sotf
game: sotf
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: "37d83008-79b1-4495-9f87-09af049dad1c"
envFrom:
- secretRef:
name: wings-sotf-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: "37d83008-79b1-4495-9f87-09af049dad1c"
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-sotf-data
@@ -0,0 +1,21 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: wings-sotf-config
namespace: game-servers
spec:
refreshInterval: 1h
secretStoreRef:
name: vault-secret-store
kind: ClusterSecretStore
target:
name: wings-sotf-config
data:
- secretKey: server_uuid
remoteRef:
key: Talos Cluster/wings.sotf
property: server_uuid
- secretKey: api_key
remoteRef:
key: Talos Cluster/wings.sotf
property: api_key
@@ -1,4 +1,4 @@
apiVersion: traefik.io/v1alpha1
apiVersion: traefik.containato.us/v1alpha1
kind: IngressRoute
metadata:
name: wings-sotf
@@ -1,11 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: n8n-data
namespace: apps
name: wings-sotf-data
namespace: game-servers
spec:
accessModes: [ReadWriteOnce]
accessModes:
- ReadWriteOnce
storageClassName: longhorn
resources:
requests:
storage: 5Gi
storage: 30Gi
@@ -0,0 +1,17 @@
apiVersion: v1
kind: Service
metadata:
name: wings-sotf-api
namespace: game-servers
spec:
selector:
app: wings-sotf
ports:
- name: api
port: 8081
targetPort: 8081
protocol: TCP
- name: sftp
port: 2023
targetPort: 2023
protocol: TCP
@@ -0,0 +1,21 @@
apiVersion: v1
kind: Service
metadata:
name: wings-sotf-game
namespace: game-servers
annotations:
metallb.universe.tf/address-pool: default
spec:
type: LoadBalancer
loadBalancerIP: 10.4.4.207
selector:
app: wings-sotf
ports:
- name: game-udp
port: 7778
targetPort: 7778
protocol: UDP
- name: game-tcp
port: 7778
targetPort: 7778
protocol: TCP
@@ -4,12 +4,9 @@ metadata:
name: wings-valheim
namespace: game-servers
labels:
app.kubernetes.io/name: wings
app.kubernetes.io/component: game-server
app.kubernetes.io/part-of: pelican
app: wings-valheim
game: valheim
spec:
replicas: 1
strategy:
type: Recreate
selector:
@@ -23,21 +20,28 @@ spec:
spec:
nodeSelector:
kubernetes.io/arch: amd64
volumes:
- name: wings-config
secret:
secretName: wings-valheim-config
- name: docker-socket
emptyDir: {}
- name: dind-storage
emptyDir: {}
- name: server-data
persistentVolumeClaim:
claimName: wings-valheim-data
- name: autostart-token
secret:
secretName: pelican-autostart-key
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: "9d09e83d-00c3-4404-07c0522a625"
envFrom:
- secretRef:
name: wings-valheim-config
volumeMounts:
- name: server-data
mountPath: /home/container
- name: dind
image: docker:24-dind
securityContext:
@@ -48,64 +52,31 @@ spec:
volumeMounts:
- name: docker-socket
mountPath: /var/run
- name: dind-storage
mountPath: /var/lib/docker
resources:
requests:
cpu: "500m"
memory: "512Mi"
limits:
cpu: "1"
memory: "1Gi"
- name: wings
image: ghcr.io/pelican-dev/wings:latest
command:
- /bin/sh
- -c
- |
export DOCKER_HOST=tcp://localhost:2375
exec wings
env:
- name: DOCKER_HOST
value: tcp://localhost:2375
- name: WATCHDOG_ENABLED
value: "true"
volumeMounts:
- name: wings-config
mountPath: /etc/pterodactyl
readOnly: true
- name: docker-socket
mountPath: /var/run/docker.sock
- name: server-data
mountPath: /mnt/server
resources:
requests:
cpu: "1"
memory: "2Gi"
limits:
cpu: "4"
memory: "8Gi"
- 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: "9d09e83d-00c3-4404-07c0522a625"
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
curl -sf -X POST "https://pelican.khalisio.com/api/client/servers/9d09e83d-00c3-4404-8f81-07c0522a6c25/power" \
-H "Authorization: Bearer $(cat /etc/secrets/autostart/api_key)" \
-H "Content-Type: application/json" \
-d '{"signal":"start"}' > /dev/null 2>&1 || true
done
volumeMounts:
- name: autostart-token
mountPath: /etc/secrets/autostart
readOnly: true
resources:
requests:
cpu: "50m"
memory: "64Mi"
limits:
cpu: "100m"
memory: "128Mi"
volumes:
- name: docker-socket
emptyDir: {}
- name: server-data
persistentVolumeClaim:
claimName: wings-valheim-data
@@ -1,4 +1,4 @@
apiVersion: external-secrets.io/v1
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: wings-valheim-config
@@ -6,13 +6,16 @@ metadata:
spec:
refreshInterval: 1h
secretStoreRef:
name: orion-vault
name: vault-secret-store
kind: ClusterSecretStore
target:
name: wings-valheim-config
creationPolicy: Owner
data:
- secretKey: config.yml
- secretKey: server_uuid
remoteRef:
key: Talos Cluster/wings/valheim
property: config
key: Talos Cluster/wings.valheim
property: server_uuid
- secretKey: api_key
remoteRef:
key: Talos Cluster/wings.valheim
property: api_key
@@ -1,4 +1,4 @@
apiVersion: traefik.io/v1alpha1
apiVersion: traefik.containato.us/v1alpha1
kind: IngressRoute
metadata:
name: wings-valheim
@@ -9,4 +9,4 @@ spec:
storageClassName: longhorn
resources:
requests:
storage: 100Gi
storage: 30Gi
@@ -0,0 +1,17 @@
apiVersion: v1
kind: Service
metadata:
name: wings-valheim-api
namespace: game-servers
spec:
selector:
app: wings-valheim
ports:
- name: api
port: 8081
targetPort: 8081
protocol: TCP
- name: sftp
port: 2023
targetPort: 2023
protocol: TCP
@@ -0,0 +1,21 @@
apiVersion: v1
kind: Service
metadata:
name: wings-valheim-game
namespace: game-servers
annotations:
metallb.universe.tf/address-pool: default
spec:
type: LoadBalancer
loadBalancerIP: 10.4.4.205
selector:
app: wings-valheim
ports:
- name: game-udp
port: 2456
targetPort: 2456
protocol: UDP
- name: game-tcp
port: 2456
targetPort: 2456
protocol: TCP
@@ -1,12 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: transmission-config
name: media-data
namespace: media
spec:
accessModes:
- ReadWriteOnce
- ReadWriteMany
storageClassName: longhorn
resources:
requests:
storage: 2Gi
storage: 500Gi
@@ -9,5 +9,4 @@ spec:
storageClassName: longhorn
resources:
requests:
storage: 3Ti
storage: 500Gi
@@ -1,7 +0,0 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: transmission-config
namespace: media
data:
peer-port: "0"
@@ -1,56 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: transmission
namespace: media
labels:
app: transmission
spec:
replicas: 1
selector:
matchLabels:
app: transmission
template:
metadata:
labels:
app: transmission
spec:
containers:
- name: transmission
image: linuxserver/transmission:latest
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: TZ
value: "UTC"
ports:
- name: http
containerPort: 9091
protocol: TCP
- name: peer-tcp
containerPort: 51413
protocol: TCP
- name: peer-udp
containerPort: 51413
protocol: UDP
volumeMounts:
- name: config
mountPath: /config
- name: downloads
mountPath: /downloads
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 1000m
memory: 1Gi
volumes:
- name: config
persistentVolumeClaim:
claimName: transmission-config
- name: downloads
persistentVolumeClaim:
claimName: media-data
@@ -1,20 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: transmission
namespace: media
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
nginx.ingress.kubernetes.io/ssl-redirect: "true"
spec:
rules:
- host: transmission.khalis.corp
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: transmission
port:
name: http
@@ -1,13 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: transmission
namespace: media
spec:
selector:
app: transmission
ports:
- name: http
port: 9091
targetPort: http
type: ClusterIP
-12
View File
@@ -1,12 +0,0 @@
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: pelican-panel-tls
namespace: pelican
spec:
secretName: pelican-panel-tls
issuerRef:
name: letsencrypt-prod
kind: ClusterIssuer
dnsNames:
- pelican.khalisio.com
+22 -15
View File
@@ -8,9 +8,12 @@ metadata:
app.kubernetes.io/component: panel
app.kubernetes.io/managed-by: orion
spec:
replicas: 1
replicas: 2
strategy:
type: Recreate
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
selector:
matchLabels:
app.kubernetes.io/name: pelican
@@ -21,19 +24,12 @@ spec:
app.kubernetes.io/name: pelican
app.kubernetes.io/component: panel
spec:
initContainers:
- name: fix-perms
image: busybox
command: ["sh", "-c", "chown -R 82:82 /pelican-data && chmod -R 770 /pelican-data"]
volumeMounts:
- name: data
mountPath: /pelican-data
containers:
- name: panel
image: ghcr.io/pelican-dev/panel:latest
ports:
- name: http
containerPort: 80
containerPort: 8080
protocol: TCP
env:
- name: APP_ENV
@@ -42,10 +38,6 @@ spec:
value: "Pelican"
- name: APP_URL
value: "https://pelican.khalisio.com"
- name: BEHIND_PROXY
value: "true"
- name: DB_CONNECTION
value: pgsql
- name: DB_HOST
value: postgres.pelican.svc.cluster.local
- name: DB_PORT
@@ -93,8 +85,23 @@ spec:
value: file
volumeMounts:
- name: data
mountPath: /pelican-data
mountPath: /var/www/app/storage
- name: logs
mountPath: /var/www/app/storage/logs
- name: uploads
mountPath: /var/www/app/public/uploads
- name: pufferpanel
mountPath: /var/www/app/storage/pufferpanel
volumes:
- name: data
persistentVolumeClaim:
claimName: pelican-data
- name: logs
persistentVolumeClaim:
claimName: pelican-logs
- name: uploads
persistentVolumeClaim:
claimName: pelican-data
- name: pufferpanel
persistentVolumeClaim:
claimName: pelican-data
+4 -7
View File
@@ -1,26 +1,23 @@
apiVersion: external-secrets.io/v1
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: pelican-panel-app
namespace: pelican
spec:
refreshInterval: 1h
secretStoreRef:
name: orion-vault
kind: ClusterSecretStore
target:
name: pelican-panel-app
creationPolicy: Owner
data:
- secretKey: APP_KEY
remoteRef:
key: Talos Cluster/pelican/panel/app
key: secret/data/Talos Cluster/pelican/panel/app
property: APP_KEY
- secretKey: SESSION_SECURE
remoteRef:
key: Talos Cluster/pelican/panel/app
key: secret/data/Talos Cluster/pelican/panel/app
property: SESSION_SECURE
- secretKey: OAUTH_CLIENT_SECRET
remoteRef:
key: Talos Cluster/pelican/panel/app
key: secret/data/Talos Cluster/pelican/panel/app
property: OAUTH_CLIENT_SECRET
@@ -1,18 +1,15 @@
apiVersion: external-secrets.io/v1
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: pelican-autostart-key
namespace: pelican
spec:
refreshInterval: 1h
secretStoreRef:
name: orion-vault
kind: ClusterSecretStore
target:
name: pelican-autostart-key
creationPolicy: Owner
data:
- secretKey: api_key
remoteRef:
key: Talos Cluster/pelican/panel/autostart
key: secret/data/Talos Cluster/pelican/panel/autostart
property: api_key
+3 -6
View File
@@ -1,22 +1,19 @@
apiVersion: external-secrets.io/v1
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: pelican-panel-db
namespace: pelican
spec:
refreshInterval: 1h
secretStoreRef:
name: orion-vault
kind: ClusterSecretStore
target:
name: pelican-panel-db
creationPolicy: Owner
data:
- secretKey: DB_PASSWORD
remoteRef:
key: Talos Cluster/pelican/panel/db
key: secret/data/Talos Cluster/pelican/panel/db
property: DB_PASSWORD
- secretKey: DB_USER
remoteRef:
key: Talos Cluster/pelican/panel/db
key: secret/data/Talos Cluster/pelican/panel/db
property: DB_USER
+1 -2
View File
@@ -1,4 +1,4 @@
apiVersion: traefik.io/v1alpha1
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: pelican-panel
@@ -17,4 +17,3 @@ spec:
- name: pelican-panel
port: 80
scheme: http
-82
View File
@@ -1,82 +0,0 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: postgres-data
namespace: pelican
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn
resources:
requests:
storage: 10Gi
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: postgres
namespace: pelican
labels:
app.kubernetes.io/name: postgres
app.kubernetes.io/component: database
app.kubernetes.io/managed-by: orion
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app.kubernetes.io/name: postgres
app.kubernetes.io/component: database
template:
metadata:
labels:
app.kubernetes.io/name: postgres
app.kubernetes.io/component: database
spec:
containers:
- name: postgres
image: postgres:16
ports:
- containerPort: 5432
protocol: TCP
env:
- name: POSTGRES_DB
value: pelican
- name: POSTGRES_USER
valueFrom:
secretKeyRef:
name: pelican-panel-db
key: DB_USER
- name: POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
name: pelican-panel-db
key: DB_PASSWORD
- name: PGDATA
value: /var/lib/postgresql/data/pgdata
volumeMounts:
- name: data
mountPath: /var/lib/postgresql/data
volumes:
- name: data
persistentVolumeClaim:
claimName: postgres-data
---
apiVersion: v1
kind: Service
metadata:
name: postgres
namespace: pelican
labels:
app.kubernetes.io/name: postgres
app.kubernetes.io/component: database
spec:
type: ClusterIP
selector:
app.kubernetes.io/name: postgres
app.kubernetes.io/component: database
ports:
- port: 5432
targetPort: 5432
protocol: TCP
+1 -1
View File
@@ -14,5 +14,5 @@ spec:
ports:
- name: http
port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
@@ -1,45 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: bitwarden
namespace: security
labels:
app: bitwarden
spec:
replicas: 1
selector:
matchLabels:
app: bitwarden
template:
metadata:
labels:
app: bitwarden
spec:
containers:
- name: bitwarden
image: vaultwarden/server:latest
ports:
- containerPort: 80
env:
- name: BW_ADMIN_DOMAIN
value: bitwarden.khalisio.com
- name: WEBSOCKETS_ENABLED
value: "true"
- name: SIGNUPS_ALLOWED
value: "true"
- name: DOMAIN
value: https://bitwarden.khalisio.com
volumeMounts:
- name: bitwarden-data
mountPath: /data
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi
volumes:
- name: bitwarden-data
persistentVolumeClaim:
claimName: bitwarden-data
@@ -1,25 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: bitwarden
namespace: security
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
traefik.ingress.kubernetes.io/router.entrypoints: websecure
spec:
ingressClassName: traefik
tls:
- hosts:
- bitwarden.khalisio.com
secretName: bitwarden-tls
rules:
- host: bitwarden.khalisio.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: bitwarden
port:
number: 80
@@ -1,13 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: bitwarden
namespace: security
spec:
selector:
app: bitwarden
ports:
- name: http
port: 80
targetPort: 80
type: ClusterIP
-7
View File
@@ -1,7 +0,0 @@
apiVersion: v1
kind: Namespace
metadata:
name: security
labels:
app.kubernetes.io/name: security
app.kubernetes.io/managed-by: orion
-36
View File
@@ -1,36 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: tailscale-operator
namespace: tailscale
labels:
app: tailscale-operator
spec:
replicas: 1
selector:
matchLabels:
app: tailscale-operator
template:
metadata:
labels:
app: tailscale-operator
spec:
serviceAccountName: tailscale-operator
containers:
- name: tailscale-operator
image: ghcr.io/tailscale/tailscale-operator:v1.78.0
ports:
- containerPort: 8080
env:
- name: TS_AUTH_KEY
valueFrom:
secretKeyRef:
name: tailscale-auth
key: TS_AUTH_KEY
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi
-18
View File
@@ -1,18 +0,0 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: tailscale-auth
namespace: tailscale
spec:
refreshInterval: 1h
secretStoreRef:
name: orion-vault
kind: ClusterSecretStore
target:
name: tailscale-auth
creationPolicy: Owner
data:
- secretKey: TS_AUTH_KEY
remoteRef:
key: secret/tailscale
property: TS_AUTH_KEY
-6
View File
@@ -1,6 +0,0 @@
apiVersion: v1
kind: Namespace
metadata:
name: tailscale
labels:
app: tailscale
-33
View File
@@ -1,33 +0,0 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: tailscale-operator
namespace: tailscale
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: tailscale-operator
rules:
- apiGroups: [""]
resources: ["pods", "services", "secrets", "configmaps", "nodes"]
verbs: ["get", "list", "watch"]
- apiGroups: ["networking.k8s.io"]
resources: ["ingresses"]
verbs: ["get", "list", "watch", "update"]
- apiGroups: ["tailscale.com"]
resources: ["*"]
verbs: ["*"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: tailscale-operator
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: tailscale-operator
subjects:
- kind: ServiceAccount
name: tailscale-operator
namespace: tailscale