Initial commit: k8s cluster manifests and scripts

This commit is contained in:
2026-04-01 15:34:02 +08:00
commit 2f04fa4473
49 changed files with 4109 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: opengist
namespace: default
labels:
app: opengist
spec:
replicas: 1
selector:
matchLabels:
app: opengist
template:
metadata:
labels:
app: opengist
spec:
containers:
- name: opengist
image: ghcr.io/thomiceli/opengist:latest
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 6157
- name: ssh
containerPort: 2222
resources:
limits:
memory: "512Mi"
cpu: "500m"
volumeMounts:
- name: data-vol
mountPath: /opengist
volumes:
- name: data-vol
persistentVolumeClaim:
claimName: opengist-pvc