Skip to content
9 changes: 9 additions & 0 deletions docs/sources/setup/install/helm/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -7581,6 +7581,15 @@ null
<td><pre lang="json">
true
</pre>
</td>
</tr>
<tr>
<td>lokiCanary.replicas</td>
<td>int</td>
<td>Replicas for `loki-canary` when using a Deployment</td>
<td><pre lang="json">
1
</pre>
</td>
</tr>
<tr>
Expand Down
3 changes: 1 addition & 2 deletions production/helm/loki/templates/loki-canary/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ spec:
selector:
matchLabels:
{{- include "loki-canary.selectorLabels" $ | nindent 6 }}

{{- if eq .kind "Deployment" }}
replicas: 1
replicas: {{ .replicas }}
strategy:
type: RollingUpdate
rollingUpdate:
Expand Down
2 changes: 2 additions & 0 deletions production/helm/loki/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,8 @@ lokiCanary:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 1
# -- Replicas for `loki-canary` when using a Deployment
replicas: 1
######################################################################################################################
#
# Service Accounts and Kubernetes RBAC
Expand Down
Loading