Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Klocksmith ¶
type Klocksmith struct {
// contains filtered or unexported fields
}
func New ¶
func New(node string) (*Klocksmith, error)
func (*Klocksmith) Run ¶
func (k *Klocksmith) Run() error
Run runs klocksmithd, reacting to the update_engine reboot signal by draining pods on this kubernetes node and rebooting.
TODO(mischief): try to be more resilient against transient failures
Click to show internal directories.
Click to hide internal directories.