Commands to manage incoming notifications (Runs only on configured channel notifier stop Stop sending k8s event notifications to notifier start Start sending k8s event notifications to notifier status Show running status of event notifier showconfig Show BotKube configuration for event notifier Executes kubectl commands on k8s cluster and returns get logs podname -n get deployment -cluster-name cluster_nameĬheck allowed commands with commands list' For older versions:Īllowed commands are - get, top, cluster-info, describe, explain, logs, version, auth, api-resources, api-versions, diff Show allowed kubectl commands as per the BotKube commands list If flag specified, gives response from the specified ping -cluster-name mycluster List all available Kubernetes Clusters and check connection health. You can type /botkubehelp in the channel to get a list of commands:īotKube ping commands list (on BotKube v0.11.0+ ) notifier filters That's pretty much it for setting up BotKube. Right-click on the bot and select View app details then add it to your private channel. You need to create a channel for the bot you specified in and then add the bot to that channel. Jump into your Slack app, and you should see the BotKube bot. I needed to monitor pod errors, restarts and other events. It comes pre-configured to monitor most of the Kubernetes resources. But it can be useful for debuting from a phone. : false - I do not want to use kubectl from slack, I see this as a security risk.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |