The log management Add-On installs a Loki log management stack that integrates into the Grafana instance from the Monitoring Add-On.
Because of this the Monitoring Add-On is required to be installed before installing the Log Management Add-On.
All logs provided via stdout or stderr by Pods in the cluster will be collected and stored for the configured retention time.
Loki is the database where all logs are stored.
Promtail runs as a DaemonSet and collects all logs from all nodes and sends them to Loki.
For information on how to install and uninstall an Add-On see MetaKube Add-Ons.
The following customization options are possible:
Option | Description | Default value |
---|---|---|
Retention Time | Amount of weeks the logs should be kept | 1 |
Persistent Storage | How large should the persistent data volume be | 10Gi |
Reject samples older | If Promtail sends messages older then this value they will be rejected by Loki | 168h |
CPU Requests | How many milli CPUs should be reserved | 500m |
Memory Requests | How much memory should be reserved | 750Mi |
CPU Limits | What is the maximum of used milli CPUs | 1000m |
Memory Limits | What is the maximum of used memory | 750Mi |
Option | Description | Default value |
---|---|---|
CPU Requests | How many milli CPUs should be reserved | 200m |
Memory Requests | How much memory should be reserved | 128Mi |
CPU Limits | What is the maximum of used milli CPUs | 500m |
Memory Limits | What is the maximum of used memory | 128Mi |