feat(k8s/podsync): add Podsync stack (deployment scaled to 0 for data migration)

This commit is contained in:
2026-02-28 22:40:22 +02:00
parent 59aa229d19
commit 10fe26e993
9 changed files with 170 additions and 2 deletions

View File

@@ -0,0 +1,38 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: podsync
namespace: podsync
spec:
replicas: 0
selector:
matchLabels:
app: podsync
template:
metadata:
labels:
app: podsync
spec:
containers:
- name: podsync
image: ghcr.io/mxpv/podsync
ports:
- containerPort: 8080
volumeMounts:
- name: data
mountPath: /app/data
- name: database
mountPath: /app/db
- name: config
mountPath: /app/config.toml
subPath: config.toml
volumes:
- name: data
persistentVolumeClaim:
claimName: podsync-data
- name: database
persistentVolumeClaim:
claimName: podsync-database
- name: config
configMap:
name: podsync-config