Skip to content

Post Kubernetes pod status updates to multiple services

Notifications You must be signed in to change notification settings

Phineas/kubehook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubehook

Monitor Kubernetes cluster operations on various webhook services N|Solid

Todo

  • Add Slack webhook support
  • Create modular components for services
  • Add more Kubernetes operations to watchlist
  • Add support for miscellaneous Kubernetes cluster services
  • Create Discord bot for performing ops

How to Run

This is designed to run as a single replica on a Google Kubernetes Engine cluster.

  1. Edit config.json, add your webhook URL
  2. Modify enabled events to your needs
  3. Build the image and submit it to container registry (takes a while due to Kube api): gcloud container builds submit --tag gcr.io/cx-network-204116/kubehook
  4. Edit kubehook-worker.yaml to support your image tag
  5. Connect to your cluster
  6. Create the role binding: kubectl create rolebinding kh --clusterrole=view --serviceaccount=default:default
  7. Create the deployment kubectl create -f kubehook-worker.yaml

About

Post Kubernetes pod status updates to multiple services

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages