mirror of
https://github.com/thomiceli/opengist.git
synced 2024-12-22 20:42:40 +00:00
30 lines
644 B
YAML
30 lines
644 B
YAML
|
---
|
||
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: opengist
|
||
|
spec:
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app.kubernetes.io/name: opengist
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app.kubernetes.io/name: opengist
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: opengist
|
||
|
image: ghcr.io/thomiceli/opengist
|
||
|
ports:
|
||
|
- name: http
|
||
|
containerPort: 6157
|
||
|
- name: ssh
|
||
|
containerPort: 2222
|
||
|
volumeMounts:
|
||
|
- mountPath: /opengist
|
||
|
name: data
|
||
|
volumes:
|
||
|
- name: data
|
||
|
persistentVolumeClaim:
|
||
|
claimName: opengist-data
|