Record and persist function logs
Logger is deployed as DaemonSet to help to forward function logs to a centralized database service for log persistence. Currently, only InfluxDB is supported to store logs.
- Containers in the function pod write logs to docker log files.
- Logger watches pod creation/update events
- Create symlinks to the container logs if the pod runs on the same node. (Symlinks will be removed if the pods no longer exist.)
- Logger (
Fluentbit) reads logs from symlinks.
- Logs are piped to InfluxDB to persist.
Last modified September 23, 2020: Markdown lint reformat (#218) (db2e794)