VerticalPodAutoscaler
autoscaling.k8s.io / v1beta2
apiVersion: autoscaling.k8s.io/v1beta2
kind: VerticalPodAutoscaler
metadata:
name: example
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.
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.
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, OfftargetRef 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.
updateMode
string
Controls when autoscaler applies changes to the pod resources. The default is 'Auto'.
enum:
Off, Initial, Recreate, Autostatus 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.resourcePolicy for an exact path