Join us
@andrew44ashraf ・ Jan 18,2022 ・ 1 min read ・ 1502 views ・ Originally posted on medium.com
Monitor all changes in your Kubernetes(K8s) cluster & detects crashes in your running apps in real time
Table of contents
1- What is kwatch?
2- Configure kwatch with Slack
3- Deploy kwatch
What is kwatch?
kwatch is an open-source project that started late in 2021. It aims to help you monitor all changes in your Kubernetes(K8s) cluster, detect crashes in your running apps, and publish notifications to your favorite channels (Slack, Discord, etc.) in real-time.
In this tutorial, I will help you setup and deploy kwatch on your Kubernetes cluster. Plus, integrate with Slack to get notified on a channel when there is a crash in your apps.
First of all, we need to get the webhook URL of the channel you want the notification to be received on it.
If you know how to generate the webhook URL you can escape this part and go to the configuration section.
Step 1: create a new slack channel (if you don’t have one already)
Step 2: Go to https://api.slack.com/apps and create an app from scratch and connect it with your workplace.
Step 3: Create an incoming webhook and activate it.
Step 4: Connect it to your channel
Finally we have the webhook URL for the channel.
Configure kwatch
Installation
You can install kwatch into your Kubernetes (k8s) cluster easily in one command.
Step 1: Get Configuration
Get the configuration template
Step 2: Edit config.yaml with the corresponding configs
Step 2: Apply Configuration
After deploying you will get notified on the channel that kwatch has started successfully. Now, kwatch is monitoring your apps!
Here is an example of kwatch messages when a crash is detected.
Join other developers and claim your FAUN account now!
@trella-app
@andrew44ashrafInfluence
Total Hits
Posts
Only registered users can post comments. Please, login or signup.