Slack Post On Kubernetes POD Ready State

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...!

Vishal Biyani

Founder & CTO InfraCloud Technologies (We are hiring!)

5 年

Prasad can this be a feature in BotKube?

要查看或添加评论,请登录

Harsh Manvar的更多文章

  • API Gateway vs Service Mesh

    API Gateway vs Service Mesh

    Difference between an API gateway & Service Mesh and therefore the role of every in microservices and other…

    1 条评论
  • Sonarqube setup on Kubernetes

    Sonarqube setup on Kubernetes

    Static code analysis SonarQube is an open source platform to perform automatic reviews with static analysis of code to…

  • Cloud custodian on docker container

    Cloud custodian on docker container

    Run cloud custodian policies & c7n mailer on docker container. Why? To provide a standalone containerized runtime for…

  • AWS Auto AMI(Instance) backup across all region

    AWS Auto AMI(Instance) backup across all region

    Simple Easy way AWS auto AMI backup(snapshot + image backup of ec2) across all region or cross region using lambda…

社区洞察

其他会员也浏览了