about summary refs log tree commit diff
path: root/tools/eck-operator
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-06-29 22:25:34 +0200
committermakefunstuff <[email protected]>2024-06-29 22:25:34 +0200
commitc7bfc7770684ffc6d17f5d8995afe16d28288f8c (patch)
tree13014745a2aeb172099ce3c76927ad753f2ab11e /tools/eck-operator
parent871862da33a7982f397b54aad5d659996c74f1f1 (diff)
downloadk3s-lab-c7bfc7770684ffc6d17f5d8995afe16d28288f8c.tar.gz
fix
Diffstat (limited to '')
-rw-r--r--tools/eck-operator/templates/beat.yaml47
1 files changed, 1 insertions, 46 deletions
diff --git a/tools/eck-operator/templates/beat.yaml b/tools/eck-operator/templates/beat.yaml
index 679a021..48c4b09 100644
--- a/tools/eck-operator/templates/beat.yaml
+++ b/tools/eck-operator/templates/beat.yaml
@@ -76,49 +76,4 @@ rules:
   verbs:
   - get
   - list
-  - watchpiVersion: beat.k8s.elastic.co/v1beta1
-kind: Beat
-metadata:
-  name: log-storage
-spec:
-  type: filebeat
-  version: 8.14.1
-  elasticsearchRef:
-    name: log-storage
-  config:
-    filebeat.inputs:
-    - type: container
-      paths:
-      - /var/log/containers/*.log
-      processors:
-      - add_kubernetes_metadata:
-          host: ${NODE_NAME}
-          matchers:
-          - logs_path:
-              logs_path: "/var/log/containers/"
-  daemonSet:
-    podTemplate:
-      spec:
-        dnsPolicy: ClusterFirstWithHostNet
-        hostNetwork: true
-        securityContext:
-          runAsUser: 0
-        containers:
-        - name: filebeat
-          volumeMounts:
-          - name: varlogcontainers
-            mountPath: /var/log/containers
-          - name: varlogpods
-            mountPath: /var/log/pods
-          - name: varlibdockercontainers
-            mountPath: /var/lib/docker/containers
-        volumes:
-        - name: varlogcontainers
-          hostPath:
-            path: /var/log/containers
-        - name: varlogpods
-          hostPath:
-            path: /var/log/pods
-        - name: varlibdockercontainers
-          hostPath:
-            path: /var/lib/docker/containers
+  - watch