Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/caarlos0-graveyard/leaderz

an example for a blog a post
https://github.com/caarlos0-graveyard/leaderz

Last synced: 2 months ago
JSON representation

an example for a blog a post

Awesome Lists containing this project

README

        

# leaderz

An example project for http://carlosbecker.dev/posts/k8s-leader-election

## Applying

```shell script
kubectl apply -f kube/
```

## Remove

```shell script
kubectl delete -f kube/
kubectl delete lease my-lock
```

## Building

```shell script
GOOS=linux GOARCH=amd64 go build -o leaderz .
docker build -t caarlos0/leaderz .
docker push caarlos0/leaderz
```