File tree 3 files changed +4
-2
lines changed
3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
{{- $isDistributed := eq (include "loki.deployment.isDistributed" .) "true" -}}
2
- {{- if $isDistributed }}
2
+ {{- if and $isDistributed .Values.ruler.enabled }}
3
3
apiVersion : v1
4
4
kind : Service
5
5
metadata :
Original file line number Diff line number Diff line change 1
1
{{- $isDistributed := eq (include "loki.deployment.isDistributed" .) "true" -}}
2
- {{- if $isDistributed }}
2
+ {{- if and $isDistributed .Values.ruler.enabled }}
3
3
apiVersion : apps/v1
4
4
kind : StatefulSet
5
5
metadata :
Original file line number Diff line number Diff line change @@ -2330,6 +2330,8 @@ compactor:
2330
2330
2331
2331
# -- Configuration for the ruler
2332
2332
ruler :
2333
+ # -- The ruler component is optional and can be disabled if desired.
2334
+ enabled : true
2333
2335
# -- Number of replicas for the ruler
2334
2336
replicas : 0
2335
2337
# -- hostAliases to add
You can’t perform that action at this time.
0 commit comments