https://github.com/diptochakrabarty/poddeletion-kubernetescontroller
Controller to send Slack notifications if a pod in your kubernetes cluster is deleted. Set slack channel and connect with your cluster
https://github.com/diptochakrabarty/poddeletion-kubernetescontroller
cloudnative cluster devops docker golang kubernetes slack
Last synced: about 1 month ago
JSON representation
Controller to send Slack notifications if a pod in your kubernetes cluster is deleted. Set slack channel and connect with your cluster
- Host: GitHub
- URL: https://github.com/diptochakrabarty/poddeletion-kubernetescontroller
- Owner: DiptoChakrabarty
- License: mit
- Created: 2022-09-12T14:32:57.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-03T06:32:18.000Z (over 3 years ago)
- Last Synced: 2025-02-08T23:11:30.056Z (over 1 year ago)
- Topics: cloudnative, cluster, devops, docker, golang, kubernetes, slack
- Language: Go
- Homepage:
- Size: 437 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pod Deletion Notification Controller
This is a very basic simple controller to send slack messages to a designated workspace channel when a pod dies
## ENV REQUIRED
- OAUTH_TOKEN (From Slack)
- CHANNEL_ID (Channel to send messages)
## How to get Slack Token
- From your workspace -> settings and administration
- Manage apps
- Click on Build (top right corner)
- Create the app
## Images to demostrate
- Delete or Restart a pod

- Get a log message from the app

- Slack notification in channel

Some aspects are being worked on check issues to stay updated