package v1
- Alphabetic
- Public
- Protected
Type Members
- case class CrossVersionObjectReference(kind: String, name: String, apiVersion: Option[String] = None) extends Product with Serializable
CrossVersionObjectReference contains enough information to let you identify the referred resource.
CrossVersionObjectReference contains enough information to let you identify the referred resource.
- kind
Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
- name
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
- apiVersion
API version of the referent
- case class HorizontalPodAutoscaler(apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ObjectMeta] = None, spec: Option[HorizontalPodAutoscalerSpec] = None, status: Option[HorizontalPodAutoscalerStatus] = None) extends Product with Serializable
configuration of a horizontal pod autoscaler.
configuration of a horizontal pod autoscaler.
- apiVersion
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
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
Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- spec
behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
- status
current information about the autoscaler.
- case class HorizontalPodAutoscalerList(items: Seq[HorizontalPodAutoscaler], apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ListMeta] = None) extends Product with Serializable
list of horizontal pod autoscaler objects.
list of horizontal pod autoscaler objects.
- items
list of horizontal pod autoscaler objects.
- apiVersion
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
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
Standard list metadata.
- case class HorizontalPodAutoscalerSpec(scaleTargetRef: CrossVersionObjectReference, maxReplicas: Int, minReplicas: Option[Int] = None, targetCPUUtilizationPercentage: Option[Int] = None) extends Product with Serializable
specification of a horizontal pod autoscaler.
specification of a horizontal pod autoscaler.
- scaleTargetRef
reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource
- maxReplicas
upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.
- minReplicas
minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available
- targetCPUUtilizationPercentage
target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.
- case class HorizontalPodAutoscalerStatus(currentReplicas: Int, desiredReplicas: Int, currentCPUUtilizationPercentage: Option[Int] = None, lastScaleTime: Option[Time] = None, observedGeneration: Option[Long] = None) extends Product with Serializable
current status of a horizontal pod autoscaler
current status of a horizontal pod autoscaler
- currentReplicas
current number of replicas of pods managed by this autoscaler.
- desiredReplicas
desired number of replicas of pods managed by this autoscaler.
- currentCPUUtilizationPercentage
current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.
- lastScaleTime
last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.
- observedGeneration
most recent generation observed by this autoscaler.
- case class Scale(apiVersion: Option[String] = None, kind: Option[String] = None, metadata: Option[ObjectMeta] = None, spec: Option[ScaleSpec] = None, status: Option[ScaleStatus] = None) extends Product with Serializable
Scale represents a scaling request for a resource.
Scale represents a scaling request for a resource.
- apiVersion
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
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
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
- spec
defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
- status
current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only.
- case class ScaleSpec(replicas: Option[Int] = None) extends Product with Serializable
ScaleSpec describes the attributes of a scale subresource.
ScaleSpec describes the attributes of a scale subresource.
- replicas
desired number of instances for the scaled object.
- case class ScaleStatus(replicas: Int, selector: Option[String] = None) extends Product with Serializable
ScaleStatus represents the current status of a scale subresource.
ScaleStatus represents the current status of a scale subresource.
- replicas
actual number of observed instances of the scaled object.
- selector
label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors
Value Members
- object CrossVersionObjectReference extends Serializable
- object HorizontalPodAutoscaler extends Serializable
- object HorizontalPodAutoscalerList extends Serializable
- object HorizontalPodAutoscalerSpec extends Serializable
- object HorizontalPodAutoscalerStatus extends Serializable
- object Scale extends Serializable
- object ScaleSpec extends Serializable
- object ScaleStatus extends Serializable