summaryrefslogtreecommitdiff
path: root/ansible/roles/k3s-install/files/log-collector.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/k3s-install/files/log-collector.yaml')
-rw-r--r--ansible/roles/k3s-install/files/log-collector.yaml41
1 files changed, 0 insertions, 41 deletions
diff --git a/ansible/roles/k3s-install/files/log-collector.yaml b/ansible/roles/k3s-install/files/log-collector.yaml
deleted file mode 100644
index 92990a4c..00000000
--- a/ansible/roles/k3s-install/files/log-collector.yaml
+++ /dev/null
@@ -1,41 +0,0 @@
-apiVersion: apps/v1
-kind: DaemonSet
-metadata:
- name: log-collector
- labels:
- app: log-collector
- namespace: tsg-os-system
-spec:
- selector:
- matchLabels:
- app: log-collector
- template:
- metadata:
- labels:
- app: log-collector
- spec:
- containers:
- - name: log-collector
- image: registry.gdnt-cloud.website/tsg-log-collector:%%LOG_COLLECTOR_IMAGE_TAR%%
- command:
- - "bash"
- - "-ec"
- - |
- sysctl -w fs.inotify.max_user_instances=8192
- /opt/tsg/log-collector/bin/log-collector
- volumeMounts:
- - name: logs
- mountPath: /var/log/pods
- - name: journal-volume
- mountPath: /run/systemd/journal
- securityContext:
- privileged: true
- volumes:
- - name: logs
- hostPath:
- path: /var/log/pods
- type: DirectoryOrCreate
- - name: journal-volume
- hostPath:
- path: /run/systemd/journal
- type: Directory \ No newline at end of file