package
1.31.0
Repository: https://github.com/gardener/autoscaler.git
Documentation: pkg.go.dev

# Functions

NewKubernetesClient gives a KubernetesClient with the given dependencies.
PollAPIServer periodically counts the number of nodes, estimates the expected ResourceRequirements, compares them to the actual ResourceRequirements, and updates the deployment with the expected ResourceRequirements if necessary.

# Variables

AddonResizerVersion contains version of AddonResizer.

# Structs

Estimator is a struct used for estimating accepted and recommended resource requirements.
EstimatorResult is the result of the resource Estimation, used by Estimator struct.
Resource defines the name of a resource, the quantity, and the marginal value.
ResourceListPair is a pair of ResourceLists, denoting a range.

# Interfaces

KubernetesClient is an object that performs the nanny's requisite interactions with Kubernetes.
ResourceEstimator estimates ResourceRequirements for a given criteria.