botkube v1.0.1 releases: monitor your Kubernetes cluster, debug critical deployments
BotKube
BotKube integration with Slack, Mattermost, or Microsoft Teams helps you monitor your Kubernetes cluster, debug critical deployments, and gives recommendations for standard practices by running checks on the Kubernetes resources. You can also ask BotKube to execute kubectl commands on the k8s cluster which helps debugging an application or cluster.
Architecture
- Informer Controller: Registers informers to kube-apiserver to watch events on the configured k8s resources. It forwards the incoming k8s event to the Event Manager.
- Event Manager: Extracts required fields from the k8s event object and creates a new BotKube event struct. It passes the BotKube event struct to the Filter Engine.
- Filter Engine: Takes the k8s object and BotKube event struct and runs Filters on them. Each filter runs some validations on the k8s object and modifies the messages in the BotKube event struct if required.
- Event Notifier: Finally, the notifier sends BotKube event over the configured communication channel.
- Bot Interface: Bot interface takes care of authenticating and managing connections with communication mediums like Slack, Mattermost, Microsoft Teams and reads/sends messages from/to them.
- Executor: Executes BotKube or kubectl command and sends back the result to the Bot interface.
Changelog v1.0.1
Implemented Enhancements 🎉
- Add validation that kubeconfig is specified by @mszostok in #1063
- Add ability to configure liveness and readiness probes by @huseyinbabal in #1056
- Report Botkube version as a part of startup by @huseyinbabal in #1052
Fixed Bugs 🐛
- Fix reporting real name for Slack interactive events by @pkosiec in #1039
- Respect Mattermost websocket subpath URLs by @tchellomello in #1040
- Remove orphaned code after k8s extraction by @mszostok in #1043
- Use namespace filter in Recommendations by @josefkarasek in #1054
- Use kubeconfig from exec input by @huseyinbabal in #1060
- Use kubeconfig for gh plugin by @huseyinbabal in #1062
- Add logging when executing a command in not configured channel by @pkosiec in #1061
- handle invalid commands by @huseyinbabal in #1053
Install & Use
Copyright (c) 2019-2020 InfraCloud Technologies