package v2

Type Members

  1. final case class ContainerResourceMetricSource(container: String, name: String, target: MetricTarget) extends Product with Serializable

    ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g.

    ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.

  2. final case class ContainerResourceMetricStatus(container: String, current: MetricValueStatus, name: String) extends Product with Serializable

    ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g.

    ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

  3. final case class CrossVersionObjectReference(name: String) extends Product with Serializable

    CrossVersionObjectReference contains enough information to let you identify the referred resource.

  4. final case class ExternalMetricSource(metric: MetricIdentifier, target: MetricTarget) extends Product with Serializable

    ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).

  5. final case class ExternalMetricStatus(current: MetricValueStatus, metric: MetricIdentifier) extends Product with Serializable

    ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.

  6. final case class HPAScalingPolicy(periodSeconds: Int, type: String, value: Int) extends Product with Serializable

    HPAScalingPolicy is a single policy which must hold true for a specified past interval.

  7. final case class HPAScalingRules(policies: Option[Seq[HPAScalingPolicy]] = None, selectPolicy: Option[String] = None, stabilizationWindowSeconds: Option[Int] = None) extends Product with Serializable

    HPAScalingRules configures the scaling behavior for one direction.

    HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.

  8. final case class HorizontalPodAutoscaler(status: Option[HorizontalPodAutoscalerStatus] = None, spec: Option[HorizontalPodAutoscalerSpec] = None, metadata: Option[ObjectMeta] = None) extends KObject with Product with Serializable

    HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.

  9. final case class HorizontalPodAutoscalerBehavior(scaleDown: Option[HPAScalingRules] = None, scaleUp: Option[HPAScalingRules] = None) extends Product with Serializable

    HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).

  10. final case class HorizontalPodAutoscalerCondition(reason: Option[String] = None, status: String, lastTransitionTime: Option[Time] = None, message: Option[String] = None, type: String) extends Product with Serializable

    HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.

  11. final case class HorizontalPodAutoscalerList(items: Seq[HorizontalPodAutoscaler], metadata: Option[ListMeta] = None) extends KObject with Product with Serializable

    HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.

  12. final case class HorizontalPodAutoscalerSpec(maxReplicas: Int, scaleTargetRef: CrossVersionObjectReference, minReplicas: Option[Int] = None, metrics: Option[Seq[MetricSpec]] = None, behavior: Option[HorizontalPodAutoscalerBehavior] = None) extends Product with Serializable

    HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.

  13. final case class HorizontalPodAutoscalerStatus(conditions: Option[Seq[HorizontalPodAutoscalerCondition]] = None, desiredReplicas: Int, currentMetrics: Option[Seq[MetricStatus]] = None, lastScaleTime: Option[Time] = None, observedGeneration: Option[Int] = None, currentReplicas: Option[Int] = None) extends Product with Serializable

    HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.

  14. final case class MetricIdentifier(name: String, selector: Option[LabelSelector] = None) extends Product with Serializable

    MetricIdentifier defines the name and optionally selector for a metric

  15. final case class MetricSpec(object: Option[ObjectMetricSource] = None, external: Option[ExternalMetricSource] = None, containerResource: Option[ContainerResourceMetricSource] = None, resource: Option[ResourceMetricSource] = None, pods: Option[PodsMetricSource] = None, type: String) extends Product with Serializable

    MetricSpec specifies how to scale based on a single metric (only type and one other matching field should be set at once).

  16. final case class MetricStatus(object: Option[ObjectMetricStatus] = None, external: Option[ExternalMetricStatus] = None, containerResource: Option[ContainerResourceMetricStatus] = None, resource: Option[ResourceMetricStatus] = None, pods: Option[PodsMetricStatus] = None, type: String) extends Product with Serializable

    MetricStatus describes the last-read state of a single metric.

  17. final case class MetricTarget(averageUtilization: Option[Int] = None, averageValue: Option[Quantity] = None, type: String, value: Option[Quantity] = None) extends Product with Serializable

    MetricTarget defines the target value, average value, or average utilization of a specific metric

  18. final case class MetricValueStatus(averageUtilization: Option[Int] = None, averageValue: Option[Quantity] = None, value: Option[Quantity] = None) extends Product with Serializable

    MetricValueStatus holds the current value for a metric

  19. final case class ObjectMetricSource(describedObject: CrossVersionObjectReference, metric: MetricIdentifier, target: MetricTarget) extends Product with Serializable

    ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

  20. final case class ObjectMetricStatus(current: MetricValueStatus, describedObject: CrossVersionObjectReference, metric: MetricIdentifier) extends Product with Serializable

    ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

  21. final case class PodsMetricSource(metric: MetricIdentifier, target: MetricTarget) extends Product with Serializable

    PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second).

    PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.

  22. final case class PodsMetricStatus(current: MetricValueStatus, metric: MetricIdentifier) extends Product with Serializable

    PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).

  23. final case class ResourceMetricSource(name: String, target: MetricTarget) extends Product with Serializable

    ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g.

    ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.

  24. final case class ResourceMetricStatus(current: MetricValueStatus, name: String) extends Product with Serializable

    ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g.

    ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

Ungrouped