dave 1f3c48fca2 | ||
---|---|---|
cmd/swarm | ||
.gitignore | ||
Dockerfile | ||
Makefile | ||
README.md | ||
antiroach.yml |
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