Skip to main content
Version: 1.23.X

Logging operator configs for Loki

This package is a collection of logging operator Flow/ClusterFlow and Output/ClusterOutput configs to be used together with Loki.

Requirements

Configuration

⚠️ This package cannot be used together with configs package, one excludes the other.

Configurations available (patched from the base configs ) :

  • configs: all the configurations.
  • configs/kubernetes: only the cluster wide pods logging configuration (infrastructural namespaced excluded).
  • configs/infra: only the infrastructural namespaces logs
  • configs/ingress-nginx: only the nginx-ingress-controller logging configuration.
  • configs/audit: all the Kubernetes audit logs related configurations (with master selector and tolerations).
  • configs/events: all the Kubernetes events related configurations (with master selector and tolerations).
  • configs/systemd: all the systemd related configurations.
  • configs/systemd/kubelet: kubelet, docker, ssh systemd service logs configuration.
  • configs/systemd/etcd: only the etcd service logs configuration (with master selector and tolerations).

Deployment

You can deploy all the configurations by running the following command in the root of the project:

kustomize build | kubectl apply -f -

You can also deploy only a configuration subset by running some of the following commands (for example):

kustomize build kubernetes | kubectl apply -f -
kustomize build infra | kubectl apply -f -
kustomize build ingress-nginx | kubectl apply -f -
kustomize build audit | kubectl apply -f -
kustomize build events | kubectl apply -f -
kustomize build systemd | kubectl apply -f -
kustomize build systemd/common | kubectl apply -f -
kustomize build systemd/etcd | kubectl apply -f -