alnoda-workspaces/workspaces/notebook-old-workspace/nbviewer/helm-chart/nbviewer/templates/pdb.yaml
2022-05-30 07:24:06 +00:00

14 lines
351 B
YAML

{{- if .Values.pdb.enabled -}}
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: {{ template "nbviewer.fullname" . }}
labels:
{{- include "nbviewer.labels" . | nindent 4 }}
spec:
minAvailable: {{ .Values.pdb.minAvailable }}
selector:
matchLabels:
{{- include "nbviewer.matchLabels" . | nindent 6 }}
{{- end }}