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/force-ssl-redirect: "true"
|
||||||
nginx.ingress.kubernetes.io/auth-type: basic
|
nginx.ingress.kubernetes.io/auth-type: basic
|
||||||
nginx.ingress.kubernetes.io/auth-secret: prometheus-credentials
|
nginx.ingress.kubernetes.io/auth-secret: prometheus-credentials
|
||||||
|
nginx.ingress.kubernetes.io/auth-secret-type: auth-file
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
tls:
|
tls:
|
||||||
|
@ -60,6 +60,10 @@ data:
|
|||||||
filename: /run/promtail/positions.yaml
|
filename: /run/promtail/positions.yaml
|
||||||
server:
|
server:
|
||||||
http_listen_port: 3101
|
http_listen_port: 3101
|
||||||
|
clients:
|
||||||
|
- url: http://loki.auth-proxy.svc:80/loki/api/v1/push
|
||||||
|
external_labels:
|
||||||
|
kubernetes_cluster: scaleway
|
||||||
target_config:
|
target_config:
|
||||||
sync_period: 10s
|
sync_period: 10s
|
||||||
scrape_configs:
|
scrape_configs:
|
||||||
@ -578,8 +582,6 @@ spec:
|
|||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
args:
|
args:
|
||||||
- "-config.file=/etc/promtail/promtail.yaml"
|
- "-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:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /etc/promtail
|
mountPath: /etc/promtail
|
||||||
|
Loading…
Reference in New Issue
Block a user