Implementation of Core Dumps detection pipeline in Kubernetes.
The goal is achieved in the following steps:
- Provision your nodes with Daemon Set configured with Helm chart.
- Daemon Set run privileged pod on each node of the cluster and rewrites
/proc/sys/kernel/core_patternwith path and pattern, provided via chart values. - Watchers endlessly waiting
close_writeevent at certain directory (which should contain only core dumps). - Move core dump to preconfigured S3 bucket.
- Send alert to Telegram channel with details and command for download.