Skip to content

Commit

Permalink
Add minAvailable poddisruptionbudget in loki-distributed
Browse files Browse the repository at this point in the history
Signed-off-by: Stavros Foteinopoulos <[email protected]>
  • Loading branch information
stafot committed Jan 3, 2025
1 parent fa98376 commit 1b83c11
Show file tree
Hide file tree
Showing 14 changed files with 61 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/loki-distributed/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: loki-distributed
description: Helm chart for Grafana Loki in microservices mode
type: application
appVersion: 2.9.10
version: 0.80.0
version: 0.80.1
home: https://grafana.github.io/helm-charts
sources:
- https://github.com/grafana/loki
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ spec:
{{- with .Values.distributor.maxUnavailable }}
maxUnavailable: {{ . }}
{{- end }}
{{- with .Values.distributor.minAvailable }}
minAvailable: {{ . }}
{{- end }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@ spec:
{{- with .Values.gateway.maxUnavailable }}
maxUnavailable: {{ . }}
{{- end }}
{{- with .Values.gateway.minAvailable }}
minAvailable: {{ . }}
{{- end }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@ spec:
{{- with .Values.indexGateway.maxUnavailable }}
maxUnavailable: {{ . }}
{{- end }}
{{- with .Values.indexGateway.minAvailable }}
minAvailable: {{ . }}
{{- end }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ spec:
{{- with .Values.ingester.maxUnavailable }}
maxUnavailable: {{ . }}
{{- end }}
{{- with .Values.ingester.minAvailable }}
minAvailable: {{ . }}
{{- end }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ spec:
{{- with .Values.memcachedChunks.maxUnavailable }}
maxUnavailable: {{ . }}
{{- end }}
{{- with .Values.memcachedChunks.minAvailable }}
minAvailable: {{ . }}
{{- end }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ spec:
{{- with .Values.memcachedFrontend.maxUnavailable }}
maxUnavailable: {{ . }}
{{- end }}
{{- with .Values.memcachedFrontend.minAvailable }}
minAvailable: {{ . }}
{{- end }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ spec:
{{- with .Values.memcachedIndexQueries.maxUnavailable }}
maxUnavailable: {{ . }}
{{- end }}
{{- with .Values.memcachedIndexQueries.minAvailable }}
minAvailable: {{ . }}
{{- end }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ spec:
{{- with .Values.memcachedIndexWrites.maxUnavailable }}
maxUnavailable: {{ . }}
{{- end }}
{{- with .Values.memcachedIndexWrites.minAvailable }}
minAvailable: {{ . }}
{{- end }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ spec:
{{- with .Values.querier.maxUnavailable }}
maxUnavailable: {{ . }}
{{- end }}
{{- with .Values.querier.minAvailable }}
minAvailable: {{ . }}
{{- end }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ spec:
{{- with .Values.queryFrontend.maxUnavailable }}
maxUnavailable: {{ . }}
{{- end }}
{{- with .Values.queryFrontend.minAvailable }}
minAvailable: {{ . }}
{{- end }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ spec:
{{- with .Values.queryScheduler.maxUnavailable }}
maxUnavailable: {{ . }}
{{- end }}
{{- with .Values.queryScheduler.minAvailable }}
minAvailable: {{ . }}
{{- end }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@ spec:
{{- with .Values.ruler.maxUnavailable }}
maxUnavailable: {{ . }}
{{- end }}
{{- with .Values.ruler.minAvailable }}
minAvailable: {{ . }}
{{- end }}
{{- end }}
{{- end }}
24 changes: 24 additions & 0 deletions charts/loki-distributed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,8 @@ ingester:
topologyKey: failure-domain.beta.kubernetes.io/zone
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: null
# -- Pod Disruption Budget minAvailable
minAvailable: null
# -- Max Surge for ingester pods
maxSurge: 0
# -- Node selector for ingester pods
Expand Down Expand Up @@ -610,6 +612,8 @@ distributor:
topologyKey: failure-domain.beta.kubernetes.io/zone
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: null
# -- Pod Disruption Budget minAvailable
minAvailable: null
# -- Max Surge for distributor pods
maxSurge: 0
# -- Node selector for distributor pods
Expand Down Expand Up @@ -719,6 +723,8 @@ querier:
topologyKey: failure-domain.beta.kubernetes.io/zone
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: null
# -- Pod Disruption Budget minAvailable
minAvailable: null
# -- Max Surge for querier pods
maxSurge: 0
# -- Node selector for querier pods
Expand Down Expand Up @@ -832,6 +838,8 @@ queryFrontend:
topologyKey: failure-domain.beta.kubernetes.io/zone
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: null
# -- Pod Disruption Budget minAvailable
minAvailable: null
# -- Node selector for query-frontend pods
nodeSelector: {}
# -- Tolerations for query-frontend pods
Expand Down Expand Up @@ -903,6 +911,8 @@ queryScheduler:
topologyKey: failure-domain.beta.kubernetes.io/zone
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: 1
# -- Pod Disruption Budget minAvailable
minAvailable: null
# -- Node selector for query-scheduler pods
nodeSelector: {}
# -- Tolerations for query-scheduler pods
Expand Down Expand Up @@ -1117,6 +1127,8 @@ gateway:
topologyKey: failure-domain.beta.kubernetes.io/zone
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: null
# -- Pod Disruption Budget minAvailable
minAvailable: null
# -- Node selector for gateway pods
nodeSelector: {}
# -- Tolerations for gateway pods
Expand Down Expand Up @@ -1518,6 +1530,8 @@ ruler:
topologyKey: failure-domain.beta.kubernetes.io/zone
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: null
# -- Pod Disruption Budget minAvailable
minAvailable: null
# -- Node selector for ruler pods
nodeSelector: {}
# -- Tolerations for ruler pods
Expand Down Expand Up @@ -1671,6 +1685,8 @@ indexGateway:
topologyKey: failure-domain.beta.kubernetes.io/zone
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: null
# -- Pod Disruption Budget minAvailable
minAvailable: null
# -- Node selector for index-gateway pods
nodeSelector: {}
# -- Tolerations for index-gateway pods
Expand Down Expand Up @@ -1810,6 +1826,8 @@ memcachedChunks:
topologyKey: failure-domain.beta.kubernetes.io/zone
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: null
# -- Pod Disruption Budget minAvailable
minAvailable: null
# -- Node selector for memcached-chunks pods
nodeSelector: {}
# -- Tolerations for memcached-chunks pods
Expand Down Expand Up @@ -1879,6 +1897,8 @@ memcachedFrontend:
topologyKey: failure-domain.beta.kubernetes.io/zone
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: 1
# -- Pod Disruption Budget minAvailable
minAvailable: null
# -- Node selector for memcached-frontend pods
nodeSelector: {}
# -- Tolerations for memcached-frontend pods
Expand Down Expand Up @@ -1944,6 +1964,8 @@ memcachedIndexQueries:
topologyKey: failure-domain.beta.kubernetes.io/zone
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: null
# -- Pod Disruption Budget minAvailable
minAvailable: null
# -- Node selector for memcached-index-queries pods
nodeSelector: {}
# -- Tolerations for memcached-index-queries pods
Expand Down Expand Up @@ -2009,6 +2031,8 @@ memcachedIndexWrites:
topologyKey: failure-domain.beta.kubernetes.io/zone
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: null
# -- Pod Disruption Budget minAvailable
minAvailable: null
# -- Node selector for memcached-index-writes pods
nodeSelector: {}
# -- Tolerations for memcached-index-writes pods
Expand Down

0 comments on commit 1b83c11

Please sign in to comment.