• Stars
    star
    150
  • Rank 247,323 (Top 5 %)
  • Language
    Go
  • License
    MIT License
  • Created over 8 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Kubernetes chatbot for Slack

Kubebot

Kubebot is a Kubernetes chatbot for Slack.

This project is in active development and it's not ready for production yet.

Setup

To run Kubebot on Slack, first you need to create a new bot user integration on Slack and get the token.

Then you need to know the channel ids where you want to run the Kubebot. You can get them on https://slack.com/api/channels.list?token={REPLACE WITH YOUR TOKEN}

How to run it

Using Kubernetes charts

The fastest way to run Kubebot in your Kubernetes cluster is using the Kubebot chart for Kubernetes.

Running the binary

It is possible to run the binary locally or in a server. First you need to download and compile this project using the Go compiler:

mkdir -p $GOPATH/github.com/harbur/kubebot
cd $_
git clone [email protected]:harbur/kubebot.git
go install -v github.com/harbur/kubebot

Then set up the following environment variables:

# use the token you generated in the setup
KUBEBOT_SLACK_TOKEN="replacewithyourtoken" 

# use as many channels ids you want; use a space as a separator
KUBEBOT_SLACK_CHANNELS_IDS="1234 4321" 

# use as many admin nicknames as you want; use a space as separator
KUBEBOT_SLACK_ADMINS_NICKNAMES="nickname1 nickname2" 

# set which kubectl commands the admins will be able to run
KUBEBOT_SLACK_VALID_COMMANDS="get describe logs explain"

After the setup, you can run the binary:

kubebot

More Repositories

1

captain

Captain - Convert your Git workflow to Docker ๐Ÿณ containers
Go
756
star
2

kubernetic

Kubernetic - Supercharge your Kubernetes clusters
268
star
3

docker-rabbitmq-cluster

Docker RabbitMQ cluster
Shell
129
star
4

docker-workshop

Docker Workshop
HTML
108
star
5

docker-sonarqube

Dockerized SonarQube web server
Shell
78
star
6

docker-sdlc

Docker-based multi-container Software Development Life Cycle environment
34
star
7

ka

ka - Launch Kubernetes Anywhere
Shell
25
star
8

docker-haveged

Docker Haveged - an entropy gathering service
22
star
9

kubebot-chart

Kubernetes chart for Kubebot
19
star
10

kubernetic-charts-legacy

Kubernetic Charts
Smarty
12
star
11

sops-operator

kubernetes operator for Sops secrets management tool
Go
9
star
12

tide

Tide - An easy package manager for Kubernetes
Go
9
star
13

docker-multi-tenancy

Docker Multi Tenancy Proxy
Go
8
star
14

kubernetes-project-initializer-tutorial

Tutorial using Kubernetes Initializers to implement a Project CRD
Go
5
star
15

tekton-tutorial

Tekton Tutorial - CI/CD with Tekton: A walkthrough to build and deploy your GitHub repos
Go
5
star
16

passport-digitalocean

DigitalOcean authentication strategy for Passport and Node.js.
JavaScript
4
star
17

etcd-backup

Script-based etcd backup
Shell
4
star
18

srelay

srelay - the SOCKS proxy and Relay - Docker Image
2
star
19

mast

configuration managent on top of etcd
Shell
1
star
20

coreos-init

CoreOS Initialization script
Shell
1
star
21

glassfish-flyway

Glassfish + Flyway
Shell
1
star
22

kubernetic-ci

Kubernetic CI
Groovy
1
star
23

docker-scaffold

Scaffold project for minimal container images with configuration template mechanism
Shell
1
star
24

captain-example

1
star
25

www.harbur.io

Harbur Landing page
CSS
1
star
26

blog

Blog with Ghost
Makefile
1
star
27

kubernetic-charts

Charts of Kubernetic
Mustache
1
star