Skip to content

Commit 6a90f82

Browse files
committed
feat(helm) add option to use deployment type instead of daemonset
Signed-off-by: Abderrahmane Benbachir <abderb@dropbox.com>
1 parent 91754ae commit 6a90f82

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

docs/sources/setup/install/helm/reference.md

+9
Original file line numberDiff line numberDiff line change
@@ -6681,6 +6681,15 @@ null
66816681
<td><pre lang="json">
66826682
null
66836683
</pre>
6684+
</td>
6685+
</tr>
6686+
<tr>
6687+
<td>lokiCanary.kind</td>
6688+
<td>string</td>
6689+
<td></td>
6690+
<td><pre lang="json">
6691+
"DaemonSet"
6692+
</pre>
66846693
</td>
66856694
</tr>
66866695
<tr>

production/helm/loki/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Helm chart for Grafana Loki and Grafana Enterprise Logs supporting monolithic, s
1616
|------------|------|---------|
1717
| https://charts.min.io/ | minio(minio) | 5.4.0 |
1818
| https://grafana.github.io/helm-charts | grafana-agent-operator(grafana-agent-operator) | 0.5.1 |
19-
| https://grafana.github.io/helm-charts | rollout_operator(rollout-operator) | 0.24.0 |
19+
| https://grafana.github.io/helm-charts | rollout_operator(rollout-operator) | 0.27.1 |
2020

2121
Find more information in the Loki Helm Chart [documentation](https://grafana.com/docs/loki/next/installation/helm).
2222

production/helm/loki/templates/loki-canary/daemonset.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{{- if .enabled -}}
33
---
44
apiVersion: apps/v1
5-
kind: DaemonSet
5+
kind: {{ include "loki-canary.kind" $ }}
66
metadata:
77
name: {{ include "loki-canary.fullname" $ }}
88
namespace: {{ $.Release.Namespace }}

production/helm/loki/values.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,7 @@ test:
746746
# that it's working correctly
747747
lokiCanary:
748748
enabled: true
749+
kind: DaemonSet # DaemonSet or Deployment
749750
# -- If true, the canary will send directly to Loki via the address configured for verification --
750751
# -- If false, it will write to stdout and an Agent will be needed to scrape and send the logs --
751752
push: true

0 commit comments

Comments
 (0)