Skip to content

Light and simple Kubernetes Events monitoring with alerting to Slack

Notifications You must be signed in to change notification settings

dysnix/kuberstack-monitoring-events

Repository files navigation

Kubernetes Events monitoring with alerting

Light. Simple. Fast.

Notification transports support

  • Slack
  • Telegram

Install

Clone repo
git clone https://github.com/kuberstack/kuberstack-monitoring-events.git
Create Slack bot

Create Slack bot and getting token for next step

Edit env section in controller file
vim kuberstack-monitoring-events/manifestos/controller.yaml
Deploy events monitoring
kubectl create -f kuberstack-monitoring-events/manifestos/

Settings

Paramater Description Value
CLUSTER_NAME Cluster name demo-cluster.example.com
CLUSTER_API_URL Base URL of Kubernetes API https://api.demo-cluster.example.com
NOTIFICATOR Notification gateway. telegram or slack slack
SLACK_TOKEN Slack BOT tocken xoxb-162761768114-eO7Vt7z3ElhBxAG99B7835oj
SLACK_CHANNEL Slack channel #alerts
TELEGRAM_TOKEN Telegram token 358628551:AAG6OKEefgggtxR4a3AHOVLk3tPANB-aaaa
TELEGRAM_CHAT_ID Telegram chat ID -135691645
UPDATE_INTERVAL Update events interval in sec. 60
ALERTS_LEVELS_EXCLUDE Exclude Kubernetes Events types in alerting Normal

Releases

No releases published

Packages

No packages published

Languages