auf einen eigenen namspace gepackt
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"apiVersion": "v1"
|
||||
"metadata":
|
||||
"name": "promtail"
|
||||
"namespace": "loki"
|
||||
"namespace": "kube-mon"
|
||||
---
|
||||
"kind": "ClusterRole"
|
||||
"apiVersion": "rbac.authorization.k8s.io/v1"
|
||||
@@ -32,7 +32,7 @@
|
||||
-
|
||||
"kind": "ServiceAccount"
|
||||
"name": "promtail"
|
||||
"namespace": "loki"
|
||||
"namespace": "kube-mon"
|
||||
"roleRef":
|
||||
"apiGroup": "rbac.authorization.k8s.io"
|
||||
"kind": "ClusterRole"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"apiVersion": "v1"
|
||||
"metadata":
|
||||
"name": "promtail-config"
|
||||
"namespace": "loki"
|
||||
"namespace": "kube-mon"
|
||||
"data":
|
||||
"promtail.yaml": |
|
||||
server:
|
||||
@@ -11,7 +11,7 @@
|
||||
grpc_listen_port: 0
|
||||
|
||||
clients:
|
||||
- url: http://loki.loki.svc.cluster.local:3100/loki/api/v1/push
|
||||
- url: http://loki.kube-mon.svc.cluster.local:3100/loki/api/v1/push
|
||||
|
||||
positions:
|
||||
filename: /run/promtail/positions.yaml
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"apiVersion": "apps/v1"
|
||||
"metadata":
|
||||
"name": "promtail"
|
||||
"namespace": "loki"
|
||||
"namespace": "kube-mon"
|
||||
"spec":
|
||||
"selector":
|
||||
"matchLabels":
|
||||
|
||||
Reference in New Issue
Block a user