clusterautoscaler

package
v1.99.4 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

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 cluster-autoscaler logs.

func NewBootstrapper

func NewBootstrapper(client client.Client, namespace string) component.DeployWaiter

NewBootstrapper creates a new instance of DeployWaiter for the cluster-autoscaler bootstrapper.

Types

type Interface

type Interface interface {
	component.DeployWaiter
	// SetNamespaceUID sets the UID of the namespace into which the cluster-autoscaler shall be deployed.
	SetNamespaceUID(types.UID)
	// SetMachineDeployments sets the machine deployments.
	SetMachineDeployments([]extensionsv1alpha1.MachineDeployment)
	// SetMaxNodesTotal sets the maximum number of nodes that can be created in the cluster.
	SetMaxNodesTotal(int64)
}

Interface contains functions for a cluster-autoscaler deployer.

func New

func New(
	client client.Client,
	namespace string,
	secretsManager secretsmanager.Interface,
	image string,
	replicas int32,
	config *gardencorev1beta1.ClusterAutoscaler,
	maxNodesTotal int64,
	runtimeVersion *semver.Version,
) Interface

New creates a new instance of DeployWaiter for the cluster-autoscaler.

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