36 lines
691 B
YAML
36 lines
691 B
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: owncast
|
||
|
spec:
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: owncast
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: owncast
|
||
|
spec:
|
||
|
volumes:
|
||
|
- name: data
|
||
|
hostPath:
|
||
|
path: /data/owncast
|
||
|
containers:
|
||
|
- name: owncast
|
||
|
image: owncast
|
||
|
resources:
|
||
|
requests:
|
||
|
cpu: "100m"
|
||
|
memeory: "32Mi"
|
||
|
limits:
|
||
|
memory: "512Mi"
|
||
|
cpu: "1"
|
||
|
ports:
|
||
|
- containerPort: 8080
|
||
|
name: web
|
||
|
- containerPort: 1935
|
||
|
name: rtmp
|
||
|
volumeMounts:
|
||
|
- mountPath: /app/data
|
||
|
name: data
|