Updated promtail config
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
796f891f17
commit
8ce2c08c34
@ -77,6 +77,7 @@ metadata:
|
||||
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||
nginx.ingress.kubernetes.io/auth-type: basic
|
||||
nginx.ingress.kubernetes.io/auth-secret: prometheus-credentials
|
||||
nginx.ingress.kubernetes.io/auth-secret-type: auth-file
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
tls:
|
||||
|
@ -60,6 +60,10 @@ data:
|
||||
filename: /run/promtail/positions.yaml
|
||||
server:
|
||||
http_listen_port: 3101
|
||||
clients:
|
||||
- url: http://loki.auth-proxy.svc:80/loki/api/v1/push
|
||||
external_labels:
|
||||
kubernetes_cluster: scaleway
|
||||
target_config:
|
||||
sync_period: 10s
|
||||
scrape_configs:
|
||||
@ -578,8 +582,6 @@ spec:
|
||||
imagePullPolicy: IfNotPresent
|
||||
args:
|
||||
- "-config.file=/etc/promtail/promtail.yaml"
|
||||
- "-client.url=http://loki.auth-proxy.svc:80/loki/api/v1/push"
|
||||
- "-client.external-labels=kubernetes_cluster=scaleway"
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /etc/promtail
|
||||
|
Loading…
Reference in New Issue
Block a user