metricsserver

package
v1.39.4 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ManagedResourceName is the name of the ManagedResource containing the resource specifications.
	ManagedResourceName = "shoot-core-metrics-server"
	// SecretNameCA is the name of the secret containing the CA certificate and key for the metrics-server.
	SecretNameCA = v1beta1constants.SecretNameCAMetricsServer
	// SecretNameServer is the name of the secret containing the server certificate and key for the metrics-server.
	SecretNameServer = "metrics-server"
)

Variables

This section is empty.

Functions

func CentralLoggingConfiguration

func CentralLoggingConfiguration() (component.CentralLoggingConfig, error)

CentralLoggingConfiguration returns a fluent-bit parser and filter for the metrics-server logs.

Types

type Interface added in v1.24.0

type Interface interface {
	component.DeployWaiter
	// SetSecrets sets the secrets.
	SetSecrets(Secrets)
	// ServiceDNSNames returns the service DNS names for the metrics-server.
	ServiceDNSNames() []string
}

Interface contains functions for a metrics-server deployer.

func New

func New(
	client client.Client,
	namespace string,
	image string,
	vpaEnabled bool,
	kubeAPIServerHost *string,
) Interface

New creates a new instance of DeployWaiter for the metrics-server.

type Secrets

type Secrets struct {
	// CA is a secret containing the CA certificate and key.
	CA component.Secret
	// Server is a secret containing the server certificate and key.
	Server component.Secret
}

Secrets is collection of secrets for the metrics-server.

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