Skip to content

Commit b47dbc0

Browse files
committed
monitoring/promtail: upgrade to 2.0.0
1 parent 70f50b6 commit b47dbc0

File tree

3 files changed

+25
-25
lines changed

3 files changed

+25
-25
lines changed

monitoring/promtail/files/promtail.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
client:
22
backoff_config:
3-
max_period: 5s
4-
max_retries: 20
5-
min_period: 100ms
6-
batchsize: 102400
3+
max_period: 5m
4+
max_retries: 10
5+
min_period: 500ms
6+
batchsize: 1048576
77
batchwait: 1s
88
external_labels: {}
99
timeout: 10s
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
resources:
4-
# Generated from promtail-0.24.0 helm chart
4+
# Generated from promtail-2.0.1 helm chart
55
## persistence.enabled=true
66
## serviceMonitor.enabled=true
77
- resources.yaml
@@ -10,5 +10,5 @@ configMapGenerator:
1010
files:
1111
- files/promtail.yaml
1212
images:
13-
- name: "grafana/promtail:1.6.0"
14-
digest: sha256:e00990935a62a5c4de46e3900ae27361275819cbfb1190a6e4c9f9f2aaaccc28
13+
- name: grafana/promtail:2.0.0
14+
digest: sha256:82c93aef52d2a847a830139db9f606eac61635ceb27186cbfac3d9e1f5ffdbe4

monitoring/promtail/resources.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,29 @@ metadata:
77
labels:
88
app: promtail
99
spec:
10-
privileged: false
1110
allowPrivilegeEscalation: false
12-
volumes:
13-
- 'secret'
14-
- 'configMap'
15-
- 'hostPath'
16-
- 'projected'
17-
- 'downwardAPI'
18-
- 'emptyDir'
19-
hostNetwork: false
11+
fsGroup:
12+
rule: RunAsAny
2013
hostIPC: false
14+
hostNetwork: false
2115
hostPID: false
16+
privileged: false
17+
readOnlyRootFilesystem: true
18+
requiredDropCapabilities:
19+
- ALL
2220
runAsUser:
23-
rule: 'RunAsAny'
21+
rule: RunAsAny
2422
seLinux:
25-
rule: 'RunAsAny'
23+
rule: RunAsAny
2624
supplementalGroups:
27-
rule: 'RunAsAny'
28-
fsGroup:
29-
rule: 'RunAsAny'
30-
readOnlyRootFilesystem: true
31-
requiredDropCapabilities:
32-
- ALL
25+
rule: RunAsAny
26+
volumes:
27+
- secret
28+
- configMap
29+
- hostPath
30+
- projected
31+
- downwardAPI
32+
- emptyDir
3333
---
3434
# Source: promtail/templates/serviceaccount.yaml
3535
apiVersion: v1
@@ -136,7 +136,7 @@ spec:
136136
serviceAccountName: loki-promtail
137137
containers:
138138
- name: promtail
139-
image: "grafana/promtail:1.6.0"
139+
image: "grafana/promtail:2.0.0"
140140
args:
141141
- "-config.file=/etc/promtail/promtail.yaml"
142142
- "-client.url=http://loki:3100/loki/api/v1/push"

0 commit comments

Comments
 (0)