oc-k8s/opencloud/charts/loki/templates/chunks-cache/poddisruptionbudget-chunks-cache.yaml

17 lines
528 B
YAML

{{- if .Values.chunksCache.enabled }}
apiVersion: {{ include "loki.pdb.apiVersion" . }}
kind: PodDisruptionBudget
metadata:
name: {{ include "loki.fullname" . }}-memcached-chunks-cache
namespace: {{ .Release.Namespace }}
labels:
{{- include "loki.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: memcached-chunks-cache
spec:
selector:
matchLabels:
{{- include "loki.selectorLabels" . | nindent 6 }}
app.kubernetes.io/component: memcached-chunks-cache
maxUnavailable: 1
{{- end -}}