Skip to content

Commit

Permalink
update config settings for promtail newer version (#727)
Browse files Browse the repository at this point in the history
Signed-off-by: Vandit Singh <[email protected]>
  • Loading branch information
Vandit1604 authored Oct 14, 2024
1 parent 18c4931 commit d84c817
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 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 @@ -80,7 +76,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 @@ -109,7 +109,6 @@ spec:
selector:
app: prometheus
prometheus: test-pr-{{ .PR_NUMBER }}

---
apiVersion: apps/v1
kind: Deployment
Expand Down

0 comments on commit d84c817

Please sign in to comment.