package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev

# Packages

metrics packages contains metrics which are exposed from the HPA controller.

# Functions

NewDefaultHPARateLimiter creates a rate limiter which limits overall (as per the default controller rate limiter), as well as per the resync interval.
NewFixedItemIntervalRateLimiter creates a new instance of a RateLimiter using a fixed interval.
NewHorizontalController creates a new HorizontalController.
NewReplicaCalculator creates a new ReplicaCalculator and passes all necessary information to the new instance.

# Structs

FixedItemIntervalRateLimiter limits items to a fixed-rate interval.
HorizontalController is responsible for the synchronizing HPA objects stored in the system with the actual deployments/replication controllers they control.
NormalizationArg is used to pass all needed information between functions as one structure.
ReplicaCalculator bundles all needed information to calculate the target amount of replicas.