bootstrap

package
v1.88.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// ExecScript is a function for executing the formatting script.
	// Exposed for testing.
	ExecScript = func(scriptPath string) ([]byte, error) {
		return exec.Command("/usr/bin/env", "bash", scriptPath).CombinedOutput()
	}
)

Functions

func Bootstrap

func Bootstrap(
	ctx context.Context,
	log logr.Logger,
	fs afero.Afero,
	dbus dbus.DBus,
	bootstrapConfig *config.BootstrapConfiguration,
) error

Bootstrap bootstraps the gardener-node-agent by adding and starting its systemd unit and afterward disabling the gardener-node-init. If `kubeletDataVolumeSize` is non-zero, it formats the data device.

Types

This section is empty.

Jump to

Keyboard shortcuts

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