Documentation ¶
Overview ¶
Package agent implements Flatcar Linux Update Operator agent, which role is to run on every Flatcar Node on the cluster, watch update_engine for status updates, propagate them to operator via Node labels and annotations and react on operator decisions about when to drain a node and reboot to finish upgrade process.
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
}
Klocksmith implements agent part of FLUO.
func New ¶
func New(node string, reapTimeout time.Duration) (*Klocksmith, error)
New returns initialized Klocksmith.
func (*Klocksmith) Run ¶
func (k *Klocksmith) Run(stop <-chan struct{})
Run starts the agent to listen for an update_engine reboot signal and react by draining pods and rebooting. Runs until the stop channel is closed.
Click to show internal directories.
Click to hide internal directories.