// HorizontalPodAutoscalerSpec is the specification of a horizontal pod autoscaler.
typeHorizontalPodAutoscalerSpecstruct{
// ScaleRef is a reference to Scale subresource. HorizontalPodAutoscaler will learn the current resource consumption from its status,
// and will set the desired number of pods by modyfying its spec.
ScaleRef*SubresourceReference`json:"scaleRef" description:"reference to scale subresource for quering the current resource cosumption and for setting the desired number of pods"`
// MinCount is the lower limit for the number of pods that can be set by the autoscaler.
MinCountint`json:"minCount" description:"lower limit for the number of pods"`
// MaxCount is the upper limit for the number of pods that can be set by the autoscaler. It cannot be smaller than MinCount.
MaxCountint`json:"maxCount" description:"upper limit for the number of pods"`
// Target is the target average consumption of the given resource that the autoscaler will try to maintain by adjusting the desired number of pods.
// Currently two types of resources are supported: "cpu" and "memory".
TargetTargetConsumption`json:"target" description:"target average consumption of resource that the autoscaler will try to maintain by adjusting the desired number of pods"`
}
// HorizontalPodAutoscaler represents the configuration of a horizontal pod autoscaler.
typeHorizontalPodAutoscalerstruct{
api.TypeMeta`json:",inline"`
api.ObjectMeta`json:"metadata,omitempty"`
// Spec defines the behaviour of autoscaler.
SpecHorizontalPodAutoscalerSpec`json:"spec,omitempty" description:"specification of the desired behavior of the autoscaler; http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status"`
}
// HorizontalPodAutoscaler is a collection of pod autoscalers.
typeHorizontalPodAutoscalerListstruct{
api.TypeMeta`json:",inline"`
api.ListMeta`json:"metadata,omitempty"`
Items[]HorizontalPodAutoscaler`json:"items" description:"list of horizontal pod autoscalers"`