Documentation
¶
Overview ¶
Package controller implements the node-local control loop inside snapshot-agent. It does not own CRDs or replace the operator. Instead it watches pod, job, and lease state on the current node and delegates CRIU/CUDA execution to the snapshot executor workflows.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeController ¶
type NodeController struct {
// contains filtered or unexported fields
}
NodeController watches local-node pods with checkpoint metadata and reconciles snapshot execution for checkpoint and restore requests.
func NewNodeController ¶
func NewNodeController( cfg *types.AgentConfig, containerd *containerd.Client, log logr.Logger, ) (*NodeController, error)
NewNodeController creates the node-local controller that runs inside snapshot-agent.
Click to show internal directories.
Click to hide internal directories.