apps(opengist): Added OpenGist to deployment
This commit is contained in:
47
apps/opengist/deployment.yaml
Normal file
47
apps/opengist/deployment.yaml
Normal file
@@ -0,0 +1,47 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: opengist
|
||||
labels:
|
||||
app.kubernetes.io/name: opengist
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: opengist
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: opengist
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- weight: 1
|
||||
preference:
|
||||
matchExpressions:
|
||||
- key: location
|
||||
operator: In
|
||||
values:
|
||||
- fsn
|
||||
volumes:
|
||||
- name: opengist-data
|
||||
persistentVolumeClaim:
|
||||
claimName: opengist-data-pvc
|
||||
containers:
|
||||
- name: opengist
|
||||
image: ghcr.io/thomiceli/opengist:1.10
|
||||
ports:
|
||||
- containerPort: 6157
|
||||
volumeMounts:
|
||||
- name: opengist-data
|
||||
mountPath: "/opengist"
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: opengist-secret
|
||||
# livenessProbe:
|
||||
# httpGet:
|
||||
# path: /healthcheck
|
||||
# port: 6157
|
||||
# initialDelaySeconds: 3
|
||||
# periodSeconds: 3
|
Reference in New Issue
Block a user