Skip to content

Commit

Permalink
update promtail to latest version and some changes following the new …
Browse files Browse the repository at this point in the history
…version

Signed-off-by: Vandit Singh <[email protected]>
  • Loading branch information
Vandit1604 committed Sep 21, 2024
1 parent 1652c7d commit 785f447
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 18 deletions.
12 changes: 4 additions & 8 deletions prombench/manifests/cluster-infra/6d_promtail_daemon_set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,17 @@ data:
client:
batchwait: 1s # Maximum wait period before sending batch
batchsize: 102400 # Maximum batch size to accrue before sending, unit is byte
timeout: 10s # Maximum time to wait for server to respond to a request
backoff_config:
minbackoff: 100ms # Initial backoff time between retries
maxbackoff: 5s # Maximum backoff time between retries
maxretries: 5 # Maximum number of retries when sending batches, 0 means infinite retries
min_period: 100ms # Initial backoff time between retries
max_period: 5s # Maximum backoff time between retries
max_retries: 5 # Maximum number of retries when sending batches, 0 means infinite retries
server:
http_listen_port: 3101
positions:
filename: /run/promtail/positions.yaml
target_config:
sync_period: 10s # Period to resync directories being watched and files being tailed
scrape_configs:
- job_name: kubernetes-pods
kubernetes_sd_configs:
Expand Down Expand Up @@ -83,7 +79,7 @@ spec:
serviceAccountName: promtail
containers:
- name: promtail
image: grafana/promtail:1.4.1
image: grafana/promtail:3.2.0
imagePullPolicy: IfNotPresent
args:
- "-config.file=/etc/promtail/promtail.yaml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ spec:
selector:
app: prometheus
prometheus: test-pr-{{ .PR_NUMBER }}

---
apiVersion: apps/v1
kind: Deployment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,17 @@ data:
client:
batchwait: 1s # Maximum wait period before sending batch
batchsize: 102400 # Maximum batch size to accrue before sending, unit is byte
timeout: 10s # Maximum time to wait for server to respond to a request
backoff_config:
minbackoff: 100ms # Initial backoff time between retries
maxbackoff: 5s # Maximum backoff time between retries
maxretries: 5 # Maximum number of retries when sending batches, 0 means infinite retries
min_period: 100ms # Initial backoff time between retries
max_period: 5s # Maximum backoff time between retries
max_retries: 5 # Maximum number of retries when sending batches, 0 means infinite retries
server:
http_listen_port: 3101
positions:
filename: /run/promtail/positions.yaml
target_config:
sync_period: 10s # Period to resync directories being watched and files being tailed
scrape_configs:
- job_name: kubernetes-pods
kubernetes_sd_configs:
Expand Down Expand Up @@ -98,7 +94,7 @@ spec:
- test-pr-{{ .PR_NUMBER }}
containers:
- name: promtail
image: grafana/promtail:1.4.1
image: grafana/promtail:3.2.0
imagePullPolicy: IfNotPresent
args:
- "-config.file=/etc/promtail/promtail.yaml"
Expand Down Expand Up @@ -191,7 +187,7 @@ spec:
- test-{{ normalise .RELEASE }}
containers:
- name: promtail
image: grafana/promtail:1.4.1
image: grafana/promtail:3.2.0
imagePullPolicy: IfNotPresent
args:
- "-config.file=/etc/promtail/promtail.yaml"
Expand Down

0 comments on commit 785f447

Please sign in to comment.