my fork of profit's annoy-antiroach bot
Go to file
dave 1f3c48fca2 initial commit 2019-08-05 16:57:01 -07:00
cmd/swarm initial commit 2019-08-05 16:57:01 -07:00
.gitignore initial commit 2019-08-05 16:57:01 -07:00
Dockerfile initial commit 2019-08-05 16:57:01 -07:00
Makefile initial commit 2019-08-05 16:57:01 -07:00
README.md initial commit 2019-08-05 16:57:01 -07:00
antiroach.yml initial commit 2019-08-05 16:57:01 -07:00

README.md

antiroachlol

Building server binary

# A stripped binary
# You need golang...
go build -ldflags="-w -s" ./...

Building docker

docker build -t antiroachlol 
docker tag antiroachlol your.docker.endpoint.here/name
docker push your.docker.endpoint.here/name

Building kubernetes

Edit antiroach.yml to match the docker name and desired replicas you put above and then apply it

kubectl apply -f antiroach.yml