package
0.0.29
Repository: https://github.com/deckhouse/dmt.git
Documentation: pkg.go.dev

# Functions

ControllerMustHaveVPA fills linting error regarding VPA.
No description provided by the author

# 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.
No description provided by the author
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

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.
No description provided by the author

# Structs

ContainerResourcePolicy controls how autoscaler computes the recommended resources for a specific container.
HistogramCheckpoint contains data needed to reconstruct the histogram.
PodResourcePolicy controls how autoscaler computes the recommended resources for containers belonging to the pod.
PodUpdatePolicy describes the rbac-proxy 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.
VerticalPodAutoscalerCheckpoint is the checkpoint of the internal state of VPA that is used for recovery after recommender's restart.
VerticalPodAutoscalerCheckpointList is a list of VerticalPodAutoscalerCheckpoint objects.
VerticalPodAutoscalerCheckpointSpec is the specification of the checkpoint object.
VerticalPodAutoscalerCheckpointStatus contains data of the checkpoint.
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.