Skip to content

A simple leader election mechanism that will run on a Kubernetes cluster

Notifications You must be signed in to change notification settings

djeinstine/kube-leader

 
 

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

About

A simple leader election mechanism that will run on a Kubernetes cluster

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 97.3%
  • Dockerfile 2.7%