Skip to search

VerticalPodAutoscaler

autoscaling.k8s.io / v1

apiVersion: autoscaling.k8s.io/v1 kind: VerticalPodAutoscaler metadata: name: example
View raw schema
apiVersion string
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind string
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata object
spec object required
Specification of the behavior of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
recommenders []object
Recommender responsible for generating recommendation for this object. List should be empty (then the default recommender will generate the recommendation) or contain exactly one recommender.
name string required
Name of the recommender responsible for generating recommendation for this object.
resourcePolicy object
Controls how the autoscaler computes recommended resources. The resource policy may be used to set constraints on the recommendations for individual containers. If not specified, the autoscaler computes recommended resources for all containers in the pod, without additional constraints.
containerPolicies []object
Per-container resource policies.
containerName string
Name of the container or DefaultContainerResourcePolicy, in which case the policy is used by the containers that don't have their own policy specified.
controlledResources []string
Specifies the type of recommendations that will be computed (and possibly applied) by VPA. If not specified, the default of [ResourceCPU, ResourceMemory] will be used.
controlledValues string
Specifies which resource values should be controlled. The default is "RequestsAndLimits".
enum: RequestsAndLimits, RequestsOnly
maxAllowed object
Specifies the maximum amount of resources that will be recommended for the container. The default is no maximum.
minAllowed object
Specifies the minimal amount of resources that will be recommended for the container. The default is no minimum.
mode string
Whether autoscaler is enabled for the container. The default is "Auto".
enum: Auto, Off
targetRef object required
TargetRef points to the controller managing the set of pods for the autoscaler to control - e.g. Deployment, StatefulSet. VerticalPodAutoscaler can be targeted at controller implementing scale subresource (the pod set is retrieved from the controller's ScaleStatus) or some well known controllers (e.g. for DaemonSet the pod set is read from the controller's spec). If VerticalPodAutoscaler cannot use specified target it will report ConfigUnsupported condition. Note that VerticalPodAutoscaler does not require full implementation of scale subresource - it will not use it to modify the replica count. The only thing retrieved is a label selector matching pods grouped by the target resource.
apiVersion string
API version of the referent
kind string required
Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
name string required
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
updatePolicy object
Describes the rules on how changes are applied to the pods. If not specified, all fields in the `PodUpdatePolicy` are set to their default values.
evictionRequirements []object
EvictionRequirements is a list of EvictionRequirements that need to evaluate to true in order for a Pod to be evicted. If more than one EvictionRequirement is specified, all of them need to be fulfilled to allow eviction.
changeRequirement string required
EvictionChangeRequirement refers to the relationship between the new target recommendation for a Pod and its current requests, what kind of change is necessary for the Pod to be evicted
enum: TargetHigherThanRequests, TargetLowerThanRequests
resource []string required
Resources is a list of one or more resources that the condition applies to. If more than one resource is given, the EvictionRequirement is fulfilled if at least one resource meets `changeRequirement`.
minReplicas integer
Minimal number of replicas which need to be alive for Updater to attempt pod eviction (pending other checks like PDB). Only positive values are allowed. Overrides global '--min-replicas' flag.
format: int32
updateMode string
Controls when autoscaler applies changes to the pod resources. The default is 'Auto'.
enum: Off, Initial, Recreate, Auto
status object
Current information about the autoscaler.
conditions []object
Conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
lastTransitionTime string
lastTransitionTime is the last time the condition transitioned from one status to another
format: date-time
message string
message is a human-readable explanation containing details about the transition
reason string
reason is the reason for the condition's last transition.
status string required
status is the status of the condition (True, False, Unknown)
type string required
type describes the current condition
recommendation object
The most recently computed amount of resources recommended by the autoscaler for the controlled pods.
containerRecommendations []object
Resources recommended by the autoscaler for each container.
containerName string
Name of the container.
lowerBound object
Minimum recommended amount of resources. Observes ContainerResourcePolicy. This amount is not guaranteed to be sufficient for the application to operate in a stable way, however running with less resources is likely to have significant impact on performance/availability.
target object required
Recommended amount of resources. Observes ContainerResourcePolicy.
uncappedTarget object
The most recent recommended resources target computed by the autoscaler for the controlled pods, based only on actual resource usage, not taking into account the ContainerResourcePolicy. May differ from the Recommendation if the actual resource usage causes the target to violate the ContainerResourcePolicy (lower than MinAllowed or higher that MaxAllowed). Used only as status indication, will not affect actual resource assignment.
upperBound object
Maximum recommended amount of resources. Observes ContainerResourcePolicy. Any resources allocated beyond this value are likely wasted. This value may be larger than the maximum amount of application is actually capable of consuming.

No matches. Try .spec.recommenders for an exact path