package
3.11.0+incompatible
Repository: https://github.com/openshift/kubernetes-autoscaler.git
Documentation: pkg.go.dev

# Functions

NewHealthCheck builds new HealthCheck object with given timeout.
RegisterAll registers all metrics.
RegisterError records any errors preventing Cluster Autoscaler from working.
RegisterEvictions records number of evicted pods.
RegisterFailedScaleUp records a failed scale-up operation.
RegisterNodeGroupCreation registers node group creation.
RegisterNodeGroupDeletion registers node group deletion.
RegisterScaleDown records number of nodes removed by scale down.
RegisterScaleUp records number of nodes added by scale up.
UpdateClusterSafeToAutoscale records if cluster is safe to autoscale.
UpdateDuration records the duration of the step identified by the label.
UpdateDurationFromStart records the duration of the step identified by the label using start time.
UpdateLastTime records the time the step identified by the label was started.
UpdateNapEnabled records if NodeAutoprovisioning is enabled.
UpdateNodeGroupsCount records the number of node groups managed by CA.
UpdateNodesCount records the number of nodes in cluster.
UpdateUnneededNodesCount records number of currently unneeded nodes.
UpdateUnschedulablePodsCount records number of currently unschedulable pods.

# Constants

APIError caused scale-up to fail.
Names of Cluster Autoscaler operations.
Empty node was removed.
Names of Cluster Autoscaler operations.
Names of Cluster Autoscaler operations.
LogLongDurationThreshold defines the duration after which long function duration will be logged (in addition to being counted in metric).
Names of Cluster Autoscaler operations.
Names of Cluster Autoscaler operations.
Names of Cluster Autoscaler operations.
Names of Cluster Autoscaler operations.
Names of Cluster Autoscaler operations.
Names of Cluster Autoscaler operations.
Names of Cluster Autoscaler operations.
Names of Cluster Autoscaler operations.
Timeout was encountered when trying to scale-up.
Underutilized node was removed because of low utilization.
Unready node was removed.
Names of Cluster Autoscaler operations.

# Structs

HealthCheck contains information about last time of autoscaler activity and timeout.

# Type aliases

FailedScaleUpReason describes reason of failed scale-up.
FunctionLabel is a name of Cluster Autoscaler operation for which we measure duration.
NodeGroupType describes node group relation to CA.
NodeScaleDownReason describes reason for removing node.