Slack Post On Kubernetes POD Ready State
Post slack notification when POD status change to READY in any namespace.
In market, there are many plugins available to monitor Kubernetes PODs and get a slack notification in the respective channels. Available plugins are posting slack post notification on POD creation time & deletion time.
While i was looking for a solution to get a slack notification when POD becomes ready along with the time it took to start. However, i was unable to find any readymade thing on the internet, to resolve this specific issue further written a simple `Python` script which uses Kubernetes client & gets a response from K8s API.
Why?
The main reason I decided to build this is that I needed a simple script to satisfy my requirements. I needed a good solution to this problem. I really don't need a full-fledged plugin or monitoring tools with alert-managers AM(or some other acronym). I believe there are many people who also have such needs.
Code available at : https://github.com/harsh4870/Slack-Post-On-POD-Ready-State
Also working on : AWS Auto AMI(Instance) backup across all region
Still working on improvements...!
Founder & CTO InfraCloud Technologies (We are hiring!)
5 年Prasad can this be a feature in BotKube?