blackboxexporter

package
v1.93.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// VolumeMountPathClusterAccess is the volume mount path to the cluster access credentials.
	VolumeMountPathClusterAccess = "/var/run/secrets/blackbox_exporter/cluster-access"

	// VolumeMountPathGardenerCA is the volume mount path to the gardener CA certificate bundle.
	VolumeMountPathGardenerCA = "/var/run/secrets/blackbox_exporter/gardener-ca"
)

Variables

View Source
var TimeoutWaitForManagedResource = 2 * time.Minute

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

Functions

This section is empty.

Types

type Interface

type Interface interface {
	component.DeployWaiter
	component.MonitoringComponent
}

Interface contains functions for a blackbox-exporter deployer.

func New

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

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

type Values

type Values struct {
	// Image is the container image used for blackbox-exporter.
	Image string
	// ClusterType is the type of the cluster.
	ClusterType component.ClusterType
	// VPAEnabled marks whether VerticalPodAutoscaler is enabled for the cluster.
	VPAEnabled bool
	// KubernetesVersion is the Kubernetes version of the cluster.
	KubernetesVersion *semver.Version
	// Config is blackbox exporter configuration.
	Config blackboxexporterconfig.Config
	// ScrapeConfigs is a list of scrape configs for the blackbox exporter.
	ScrapeConfigs []*monitoringv1alpha1.ScrapeConfig
	// PodLabels are additional labels for the pod.
	PodLabels map[string]string
	// PriorityClassName is the name of the priority class.
	PriorityClassName string
}

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

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