Documentation ¶
Overview ¶
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
Click to show internal directories.
Click to hide internal directories.