Skip to content

Exclude container logs based on namespace and pod labels

Jack Henschel requested to merge drop-logs into master

for https://gitlab.cern.ch/webservices/webframeworks-planning/-/issues/1101

At the moment, we have a "static" list of projects that we exclude from logging: https://gitlab.cern.ch/paas-tools/okd4-install/-/blob/master/chart/charts/cluster-logging/fluentd-user-config/clusterlogforwarding-filter-post-filter-bad-projects.conf

It would be better if we could easily exclude projects (maybe also just temporarily until an issue is fixed/debugged) from sending logs to central monitoring with a namespace label (similar to the router shard labels).

Merge request reports