pod-master

command
v1.1.0-alpha.0....-ded48a3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2015 License: Apache-2.0 Imports: 8 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL