Open jpapejr opened 3 years ago
https://cloud.ibm.com/docs/log-analysis?topic=log-analysis-exclude_logs_from_agent#exclude_logs_from_agent_kube_2
Refers to putting LOGDNA_EXCLUDE in the daemonset config for LogDNA agents but doesn't explain that the name/value yaml snippets need to be added to the environment variables section of the Pod Template Spec.
I.e.
- name: LOGDNA_EXCLUDE value: /var/log/containers/*_kube-system_*,/var/log/containers/*ibm-observe_*,/var/log/containerd.log,/var/log/kubelet.log,/var/log/syslog,/var/log/ntpstats/*,/var/log/alb/*
Where is the the user supposed to put this exactly? Assuming under spec.template.spec.containers[*].env ?
spec.template.spec.containers[*].env
https://cloud.ibm.com/docs/log-analysis?topic=log-analysis-exclude_logs_from_agent#exclude_logs_from_agent_kube_2
Refers to putting LOGDNA_EXCLUDE in the daemonset config for LogDNA agents but doesn't explain that the name/value yaml snippets need to be added to the environment variables section of the Pod Template Spec.
I.e.
Where is the the user supposed to put this exactly? Assuming under
spec.template.spec.containers[*].env
?