package
0.7.8
Repository: https://github.com/ninlil/kubectl-vpa.git
Documentation: pkg.go.dev

# Constants

ContainerControlledValuesRequestsAndLimits means resource request and limits are scaled automatically.
ContainerControlledValuesRequestsOnly means only requested resource is autoscaled.
ContainerScalingModeAuto means autoscaling is enabled for a container.
ContainerScalingModeOff means autoscaling is disabled for a container.
DefaultContainerResourcePolicy can be passed as ContainerResourcePolicy.ContainerName to specify the default policy.
UpdateModeAuto means that autoscaler assigns resources on pod creation and additionally can update them during the lifetime of the pod, using any available update method.
UpdateModeInitial means that autoscaler only assigns resources on pod creation and does not change them during the lifetime of the pod.
UpdateModeOff means that autoscaler never changes Pod resources.
UpdateModeRecreate means that autoscaler assigns resources on pod creation and additionally can update them during the lifetime of the pod by deleting and recreating the pod.

# Variables

Global vars to enable VPA to use the k8-restclient.
ConfigDeprecated indicates that this VPA configuration is deprecated and will stop being supported soon.
ConfigUnsupported indicates that this VPA configuration is unsupported and recommendations will not be provided for it.
FetchingHistory indicates that VPA recommender is in the process of loading additional history samples.
LowConfidence indicates whether the VPA recommender has low confidence in the recommendation for some of containers.
NoPodsMatched indicates that label selector used with VPA object didn't match any pods.
RecommendationProvided indicates whether the VPA recommender was able to calculate a recommendation.
Global vars to enable VPA to use the k8-restclient.
SchemeGroupVersion is the version of the current VPA-scheme.

# Structs

ContainerResourcePolicy controls how autoscaler computes the recommended resources for a specific container.
PodResourcePolicy controls how autoscaler computes the recommended resources for containers belonging to the pod.
PodUpdatePolicy describes the rules on how changes are applied to the pods.
RecommendedContainerResources is the recommendation of resources computed by autoscaler for a specific container.
RecommendedPodResources is the recommendation of resources computed by autoscaler.
VerticalPodAutoscaler is the configuration for a vertical pod autoscaler, which automatically manages pod resources based on historical and real time resource utilization.
VerticalPodAutoscalerCondition describes the state of a VerticalPodAutoscaler at a certain point.
VerticalPodAutoscalerList is a list of VerticalPodAutoscaler objects.
VerticalPodAutoscalerSpec is the specification of the behavior of the autoscaler.
VerticalPodAutoscalerStatus describes the runtime state of the autoscaler.

# Type aliases

ContainerControlledValues controls which resource value should be autoscaled.
ContainerScalingMode controls whether autoscaler is enabled for a specific container.
UpdateMode controls when autoscaler applies changes to the pod resoures.
VerticalPodAutoscalerConditionType are the valid conditions of a VerticalPodAutoscaler.