Documentation
¶
Index ¶
- Constants
- func Download(log *slog.Logger, cfg *config.Config, root isolation.NodeRoot) phases.Task
- func Preflight(cfg *config.Config) []preflight.Checker
- func RemoveHost(log *slog.Logger, root isolation.NodeRoot) phases.Task
- func Start(log *slog.Logger, cfg *config.Config, root isolation.NodeRoot, ...) phases.Task
Constants ¶
View Source
const (
DefaultVersion = "v1.35.1"
)
Variables ¶
This section is empty.
Functions ¶
func Download ¶
Download installs the node-problem-detector binary and config from the upstream GitHub release tarball into the node's filesystem.
func RemoveHost ¶ added in v0.4.0
RemoveHost removes the NPD service and artifacts from a host-native worker.
func Start ¶
func Start(log *slog.Logger, cfg *config.Config, root isolation.NodeRoot, nodeStart *goalstates.NodeStart, mode isolation.Mode) phases.Task
Start renders NPD through root and manages it through the node's executor. Mode selects the executable path visible to that executor, not the agent.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.