Public | Automated Build

Last pushed: a year ago
Short Description
Slack bot for Kubernetes
Full Description

K8S Slackbot

A slack bot built to control kubernetes cluster.


This image is based on Alpine Linux image, which is only a 5MB image.
Download size of this image is only:


  • kubecfg-file (string): Location of kubecfg file for access to kubernetes master service; --kube-master-url overrides the URL part of this; if neither this nor --kube-master-url are provided, defaults to service account tokens
  • bot-token (string): Token of slack bot to use
  • debug (boolean): Whether enable debug log


$ docker pull danielqsj/k8s-slackbot
$ docker run -v ~/.kube/config:/etc/kubernetes/kubeconfig danielqsj/k8s-slackbot --kubecfg-file=/etc/kubernetes/kubeconfig --bot-token=$(bot-token)

Then you can talk to your slack bot via slack direct message.
The command is same as kubectl .
Such as kubectl get nodes .

Enjoy it.

Docker Pull Command
Source Repository