Documentation ¶
Overview ¶
Agent communicates bidirectionally with the host platform - Bottlerocket - and its managing controller to execute update operations in a coordinated manner. The Agent is responsible for publishing its update state, host state, and executing on permitted actions as indicated by the Controller.
The Agent is intentionally simplistic in that it makes no decision about its next steps short of interpreting what's communicated by way of agreed upon state transition indicators.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
Agent is a privileged on-host process that acts on communicated Intents from the controller. Its event loop hinges off of a Kubernetes Informer which feeds it metadata and Intent data.
The Agent only acts as directed, its logic covers safety checks and related on-host responsibilities. Larger coordination and gating is handled by the controller.