nodeagent

package
v1.91.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const PathBinary = v1beta1constants.OperatingSystemConfigFilePathBinaries + "/gardener-node-agent"

PathBinary is a constant for the path to the gardener-node-agent binary file on the VMs.

Variables

This section is empty.

Functions

func CentralLoggingConfiguration added in v1.85.0

func CentralLoggingConfiguration() (comp.CentralLoggingConfig, error)

CentralLoggingConfiguration returns a fluent-bit parser and filter for the gardener-node-agent logs.

func ComponentConfig

func ComponentConfig(
	oscSecretName string,
	kubernetesVersion *semver.Version,
	apiServerURL string,
	caBundle []byte,
	syncJitterPeriod *metav1.Duration,
	additionalTokenSyncConfigs []nodeagentv1alpha1.TokenSecretSyncConfig,
) *nodeagentv1alpha1.NodeAgentConfiguration

ComponentConfig returns the component configuration for the gardener-node-agent.

func Files

Files returns the files related to the gardener-node-agent unit.

func New

func New() *component

New returns a new Gardener user component.

func OperatingSystemConfigSecret added in v1.85.0

func OperatingSystemConfigSecret(
	ctx context.Context,
	seedClient client.Client,
	osc *extensionsv1alpha1.OperatingSystemConfig,
	secretName string,
	workerPoolName string,
) (
	*corev1.Secret,
	error,
)

OperatingSystemConfigSecret returns a Kubernetes secret object containing the OperatingSystemConfig that gardener-node-agent will read and reconcile on the worker machines.

func RBACResourcesData added in v1.85.0

func RBACResourcesData(secretNames []string) (map[string][]byte, error)

RBACResourcesData returns a map of serialized Kubernetes resources that allow the gardener-node-agent to access the list of given secrets. Additionally, serialized resources providing permissions to allow initiating the Kubernetes TLS bootstrapping process will be returned.

func UnitContent

func UnitContent() string

UnitContent returns the systemd unit content for the gardener-node-agent unit.

Types

This section is empty.

Jump to

Keyboard shortcuts

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