Skip to content

Instantly share code, notes, and snippets.

@gilangvperdana
Last active April 27, 2022 04:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gilangvperdana/3eeb59d77ef260fd713ef700414d32bf to your computer and use it in GitHub Desktop.
Save gilangvperdana/3eeb59d77ef260fd713ef700414d32bf to your computer and use it in GitHub Desktop.
Kube Watcher BOT on Slack

Kubernetes Monitoring on Slack

Just an Learning Documentation

Slack Configuration

  • Configure Slack BOT
https://my.slack.com/services/new/bot
Create a new BOT, then copy API TOKEN
  • Invite BOT to Channel
/invite @BOT_NAME

Installation

helm repo add bitnami https://charts.bitnami.com/bitnami
helm show values bitnami/kubewatch > ~/kubewatch.yaml
nano ~/kubewatch.yaml
  • Enable Slack
slack:
  enabled: true
  channel: "your_channel_slack_name"
  token: "your_API_BOT_token"
  • Change to true if you want to Monitor anything.
  • Need to remember you must change RBAC CREATE to TRUE
rbac:
  create: true
  • Install
helm install my-kubewatch bitnami/kubewatch --values ~/kubewatch.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment