agent

package
v0.0.0-...-ca78c08 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 47 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, cfg cmds.Agent) error

Run sets up cgroups, configures the LB proxy, and triggers startup of containerd and kubelet. It will only return in case of error or context cancellation.

func RunStandalone

func RunStandalone(ctx context.Context, cfg cmds.Agent) error

RunStandalone bootstraps the executor, but does not run the kubelet or containerd. This allows other bits of code that expect the executor to be set up properly to function even when the agent is disabled. It will only return in case of error or context cancellation.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL