25 lines
444 B
Markdown
25 lines
444 B
Markdown
|
# 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
|
||
|
```
|