Skip to content

caarlos0-graveyard/leaderz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leaderz

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

Applying

kubectl apply -f kube/

Remove

kubectl delete -f kube/
kubectl delete lease my-lock

Building

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