673d186de8
Running the HA build needs Redis, PostgreSQL and shared transcode storage wired together, which is a lot of manifests to keep in sync by hand. - add a chart deploying the server as a StatefulSet with a PodDisruptionBudget - ship optional Redis and PostgreSQL dependencies and a runtime config ConfigMap - template shared media, config and transcode volume claims - add ingress and ServiceMonitor templates
15 lines
426 B
YAML
15 lines
426 B
YAML
{{- if .Values.podDisruptionBudget.enabled }}
|
|
apiVersion: policy/v1
|
|
kind: PodDisruptionBudget
|
|
metadata:
|
|
name: {{ include "jellyfin-ha.fullname" . }}
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{- include "jellyfin-ha.labels" . | nindent 4 }}
|
|
spec:
|
|
minAvailable: {{ .Values.podDisruptionBudget.minAvailable }}
|
|
selector:
|
|
matchLabels:
|
|
{{- include "jellyfin-ha.selectorLabels" . | nindent 6 }}
|
|
{{- end }}
|