k8s-slackbot

command module
v0.0.0-...-ebaec96 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2017 License: MIT Imports: 4 Imported by: 0

README

K8S Slackbot

Build Status Coverage Status Go Report Card

A slack bot built to control kubernetes cluster.

Image

Docker Stars Docker Pulls Docker Automated build

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

Arguments

  • 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

Usage

$ 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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL