kubernetesk8s.io/kubernetes/contrib/pod-master

pod-master command

podmaster is a simple utility, it attempts to acquire and maintain a lease-lock from etcd using compare-and-swap. if it is the master, it copies a source file into a destination file. If it is not the master, it makes sure it is removed.

typical usage is to copy a Pod manifest from a staging directory into the kubelet's directory, for example:

podmaster --etcd-servers=http://127.0.0.1:4001 --key=scheduler --source-file=/kubernetes/kube-scheduler.manifest --dest-file=/manifests/kube-scheduler.manifest
Version
v0.19.3
Published
Jun 22, 2015
Platform
windows/amd64
Imports
8 packages
Last checked
1 minute ago

Tools for package owners.