package v1
- Alphabetic
- Public
- All
Type Members
-
case class
CrossVersionObjectReference(apiVersion: Optional[String] = Optional.Absent, kind: String, name: String) 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.
- apiVersion
API version of the referent
- 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
- class CrossVersionObjectReferenceFields extends AnyRef
-
case class
HorizontalPodAutoscaler(metadata: Optional[ObjectMeta] = Optional.Absent, spec: Optional[HorizontalPodAutoscalerSpec] = Optional.Absent, status: Optional[HorizontalPodAutoscalerStatus] = Optional.Absent) extends Product with Serializable
configuration of a horizontal pod autoscaler.
- class HorizontalPodAutoscalerFields extends AnyRef
-
case class
HorizontalPodAutoscalerSpec(maxReplicas: Int, minReplicas: Optional[Int] = Optional.Absent, scaleTargetRef: CrossVersionObjectReference, targetCPUUtilizationPercentage: Optional[Int] = Optional.Absent) extends Product with Serializable
specification of a horizontal pod autoscaler.
specification of a horizontal pod autoscaler.
- 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.
- class HorizontalPodAutoscalerSpecFields extends AnyRef
-
case class
HorizontalPodAutoscalerStatus(currentCPUUtilizationPercentage: Optional[Int] = Optional.Absent, currentReplicas: Int, desiredReplicas: Int, lastScaleTime: Optional[Time] = Optional.Absent, observedGeneration: Optional[Long] = Optional.Absent) extends Product with Serializable
current status of a horizontal pod autoscaler
current status of a horizontal pod 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.
- currentReplicas
current number of replicas of pods managed by this autoscaler.
- desiredReplicas
desired number of replicas of pods managed by this autoscaler.
- observedGeneration
most recent generation observed by this autoscaler.
- class HorizontalPodAutoscalerStatusFields extends AnyRef
-
case class
Scale(metadata: Optional[ObjectMeta] = Optional.Absent, spec: Optional[ScaleSpec] = Optional.Absent, status: Optional[ScaleStatus] = Optional.Absent) extends Product with Serializable
Scale represents a scaling request for a resource.
- class ScaleFields extends AnyRef
-
case class
ScaleSpec(replicas: Optional[Int] = Optional.Absent) 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.
- class ScaleSpecFields extends AnyRef
-
case class
ScaleStatus(replicas: Int, selector: Optional[String] = Optional.Absent) 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
- class ScaleStatusFields extends AnyRef
Value Members
- object CrossVersionObjectReference extends CrossVersionObjectReferenceFields with Serializable
- object HorizontalPodAutoscaler extends HorizontalPodAutoscalerFields with Serializable
- object HorizontalPodAutoscalerSpec extends HorizontalPodAutoscalerSpecFields with Serializable
- object HorizontalPodAutoscalerStatus extends HorizontalPodAutoscalerStatusFields with Serializable
- object Scale extends ScaleFields with Serializable
- object ScaleSpec extends ScaleSpecFields with Serializable
- object ScaleStatus extends ScaleStatusFields with Serializable