hvpa

package
v1.63.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// ManagedResourceName is the name of the managed resource for the resources.
	ManagedResourceName = "hvpa"
)

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 HVPA logs.

func CentralMonitoringConfiguration

func CentralMonitoringConfiguration() (component.CentralMonitoringConfig, error)

CentralMonitoringConfiguration returns scrape configs for the central Prometheus.

func NewCRD

func NewCRD(applier kubernetes.Applier) component.Deployer

NewCRD can be used to deploy the CRD definitions for the HVPA controller.

Types

type Interface added in v1.51.0

type Interface interface {
	component.DeployWaiter
	component.MonitoringComponent
}

Interface contains functions for an HVPA deployer.

func New

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

New creates a new instance of DeployWaiter for the HVPA controller.

type Values

type Values struct {
	// Image is the container image.
	Image string
	// KubernetesVersion is the version of the runtime cluster.
	KubernetesVersion *semver.Version
	// PriorityClassName is the name of the priority class.
	PriorityClassName string
}

Values is a set of configuration values for the HVPA 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