mirror of
https://github.com/thomiceli/opengist.git
synced 2024-12-23 21:02:39 +00:00
29 lines
644 B
YAML
29 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
|