Help us shape the future of Go! Take the 2026 Go Developer Survey

nodeexporter

package
v1.90.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// ManagedResourceName is the name of the ManagedResource containing the resource specifications.
	ManagedResourceName = "shoot-core-node-exporter"
)

Variables

View Source
var TimeoutWaitForManagedResource = 2 * time.Minute

TimeoutWaitForManagedResource is the timeout used while waiting for the ManagedResources to become healthy or deleted.

Functions

func CentralLoggingConfiguration

func CentralLoggingConfiguration() (component.CentralLoggingConfig, error)

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

Types

type Interface

type Interface interface {
	component.DeployWaiter
	component.MonitoringComponent
}

Interface contains functions for a node-exporter deployer.

func New

func New(
	client client.Client,
	namespace string,
	values Values,
) Interface

New creates a new instance of DeployWaiter for node-exporter.

type Values

type Values struct {
	// Image is the container image used for node-exporter.
	Image string
	// VPAEnabled marks whether VerticalPodAutoscaler is enabled for the shoot.
	VPAEnabled bool
}

Values is a set of configuration values for the node-exporter component.

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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