Coder Social home page Coder Social logo

ajunlonglive / kwatch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from abahmed/kwatch

0.0 1.0 0.0 1.57 MB

:eyes: monitor & detect crashes in your Kubernetes(K8s) cluster instantly

Home Page: https://kwatch.dev

License: MIT License

Dockerfile 1.39% Go 98.61%

kwatch's Introduction


kwatch helps you monitor all changes in your Kubernetes(K8s) cluster, detects crashes in your running apps in realtime, and publishes notifications to your channels (Slack, Discord, etc.) instantly

⚡️ Getting Started

Install

You need to get config template to add your configs

curl  -L https://raw.githubusercontent.com/abahmed/kwatch/v0.3.0/deploy/config.yaml -o config.yaml

Then edit config.yaml file and apply your configuration

kubectl apply -f config.yaml

To deploy kwatch, execute following command:

kubectl apply -f https://raw.githubusercontent.com/abahmed/kwatch/v0.3.0/deploy/deploy.yaml

Configuration

General

Parameter Description
maxRecentLogLines Optional Max tail log lines in messages, if it's not provided it will get all log lines
namespaces Optional list of namespaces that you want to watch, if it's not provided it will watch all namespaces

Slack

If you want to enable Slack, provide the webhook with optional text and title

Parameter Description
alert.slack.webhook Slack webhook URL
alert.slack.title Customized title in slack message
alert.slack.text Customized text in slack message

Discord

If you want to enable Discord, provide the webhook with optional text and title

Parameter Description
alert.discord.webhook Discord webhook URL
alert.discord.title Customized title in discord message
alert.discord.text Customized text in discord message

PagerDuty

If you want to enable PagerDuty, provide the integration key

Parameter Description
alert.pagerduty.integrationKey PagerDuty integration key more info

Telegram

If you want to enable Telegram, provide a valid token and the chat Id.

Parameter Description
alert.telegram.token Telegram token
alert.telegram.chatId Telegram chat id

Microsoft Teams

If you want to enable Microsoft Teams, provide the channel webhook.

Parameter Description
alert.teams.webhook webhook Microsoft team
alert.teams.title Customized title in Microsoft teams message
alert.teams.text Customized title in Microsoft teams message

Rocket Chat

If you want to enable Rocket Chat, provide the webhook with optional text

Parameter Description
alert.rocketchat.webhook Rocket Chat webhook URL
alert.rocketchat.text Customized text in rocket chat message

Cleanup

kubectl delete -f https://raw.githubusercontent.com/abahmed/kwatch/v0.3.0/deploy/config.yaml
kubectl delete -f https://raw.githubusercontent.com/abahmed/kwatch/v0.3.0/deploy/deploy.yaml

👍 Contribute & Support

🚀 Who uses kwatch?

kwatch is being used by multiple entities including, but not limited to

If you want to add your entity, open issue to add it

💻 Contributors

⭐️ Stargazers

Stargazers over time

👋 Get in touch!

Feel free to chat with us on Discord if you have questions, or suggestions

⚠️ License

kwatch is licensed under MIT License

kwatch's People

Contributors

abahmed avatar amgadramses avatar andrew44ashraf avatar dependabot[bot] avatar abdelrahmanmanz avatar narasimha1997 avatar rishats avatar romualdofernandes avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.