Package-level declarations

Types

Link copied to clipboard
data class ContainerResourceMetricSource(val container: String, val name: String, val targetAverageUtilization: Int? = null, val targetAverageValue: String? = null)

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.

Link copied to clipboard
data class ContainerResourceMetricSourcePatch(val container: String? = null, val name: String? = null, val targetAverageUtilization: Int? = null, val targetAverageValue: String? = null)

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.

Link copied to clipboard
data class ContainerResourceMetricStatus(val container: String, val currentAverageUtilization: Int? = null, val currentAverageValue: String, val name: String)

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.

Link copied to clipboard
data class ContainerResourceMetricStatusPatch(val container: String? = null, val currentAverageUtilization: Int? = null, val currentAverageValue: String? = null, val name: String? = null)

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.

Link copied to clipboard
data class CrossVersionObjectReference(val apiVersion: String? = null, val kind: String, val name: String)

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

Link copied to clipboard
data class CrossVersionObjectReferencePatch(val apiVersion: String? = null, val kind: String? = null, val name: String? = null)

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

Link copied to clipboard
data class ExternalMetricSource(val metricName: String, val metricSelector: LabelSelector? = null, val targetAverageValue: String? = null, val targetValue: String? = null)

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). Exactly one "target" type should be set.

Link copied to clipboard
data class ExternalMetricSourcePatch(val metricName: String? = null, val metricSelector: LabelSelectorPatch? = null, val targetAverageValue: String? = null, val targetValue: String? = null)

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). Exactly one "target" type should be set.

Link copied to clipboard
data class ExternalMetricStatus(val currentAverageValue: String? = null, val currentValue: String, val metricName: String, val metricSelector: LabelSelector? = null)

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

Link copied to clipboard
data class ExternalMetricStatusPatch(val currentAverageValue: String? = null, val currentValue: String? = null, val metricName: String? = null, val metricSelector: LabelSelectorPatch? = null)

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

Link copied to clipboard
data class HorizontalPodAutoscaler(val apiVersion: String? = null, val kind: String? = null, val metadata: ObjectMeta? = null, val spec: HorizontalPodAutoscalerSpec? = null, val status: HorizontalPodAutoscalerStatus? = null)

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.

Link copied to clipboard
data class HorizontalPodAutoscalerCondition(val lastTransitionTime: String? = null, val message: String? = null, val reason: String? = null, val status: String, val type: String)

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

Link copied to clipboard
data class HorizontalPodAutoscalerConditionPatch(val lastTransitionTime: String? = null, val message: String? = null, val reason: String? = null, val status: String? = null, val type: String? = null)

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

Link copied to clipboard
data class HorizontalPodAutoscalerSpec(val maxReplicas: Int, val metrics: List<MetricSpec>? = null, val minReplicas: Int? = null, val scaleTargetRef: CrossVersionObjectReference)

HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.

Link copied to clipboard
data class HorizontalPodAutoscalerSpecPatch(val maxReplicas: Int? = null, val metrics: List<MetricSpecPatch>? = null, val minReplicas: Int? = null, val scaleTargetRef: CrossVersionObjectReferencePatch? = null)

HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.

Link copied to clipboard
data class HorizontalPodAutoscalerStatus(val conditions: List<HorizontalPodAutoscalerCondition>, val currentMetrics: List<MetricStatus>? = null, val currentReplicas: Int, val desiredReplicas: Int, val lastScaleTime: String? = null, val observedGeneration: Int? = null)

HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.

Link copied to clipboard
data class HorizontalPodAutoscalerStatusPatch(val conditions: List<HorizontalPodAutoscalerConditionPatch>? = null, val currentMetrics: List<MetricStatusPatch>? = null, val currentReplicas: Int? = null, val desiredReplicas: Int? = null, val lastScaleTime: String? = null, val observedGeneration: Int? = null)

HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.

Link copied to clipboard
data class MetricSpec(val containerResource: ContainerResourceMetricSource? = null, val external: ExternalMetricSource? = null, val object: ObjectMetricSource? = null, val pods: PodsMetricSource? = null, val resource: ResourceMetricSource? = null, val type: String)

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

Link copied to clipboard
data class MetricSpecPatch(val containerResource: ContainerResourceMetricSourcePatch? = null, val external: ExternalMetricSourcePatch? = null, val object: ObjectMetricSourcePatch? = null, val pods: PodsMetricSourcePatch? = null, val resource: ResourceMetricSourcePatch? = null, val type: String? = null)

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

Link copied to clipboard
data class MetricStatus(val containerResource: ContainerResourceMetricStatus? = null, val external: ExternalMetricStatus? = null, val object: ObjectMetricStatus? = null, val pods: PodsMetricStatus? = null, val resource: ResourceMetricStatus? = null, val type: String)

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

Link copied to clipboard
data class MetricStatusPatch(val containerResource: ContainerResourceMetricStatusPatch? = null, val external: ExternalMetricStatusPatch? = null, val object: ObjectMetricStatusPatch? = null, val pods: PodsMetricStatusPatch? = null, val resource: ResourceMetricStatusPatch? = null, val type: String? = null)

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

Link copied to clipboard
data class ObjectMetricSource(val averageValue: String? = null, val metricName: String, val selector: LabelSelector? = null, val target: CrossVersionObjectReference, val targetValue: String)

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

Link copied to clipboard
data class ObjectMetricSourcePatch(val averageValue: String? = null, val metricName: String? = null, val selector: LabelSelectorPatch? = null, val target: CrossVersionObjectReferencePatch? = null, val targetValue: String? = null)

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

Link copied to clipboard
data class ObjectMetricStatus(val averageValue: String? = null, val currentValue: String, val metricName: String, val selector: LabelSelector? = null, val target: CrossVersionObjectReference)

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

Link copied to clipboard
data class ObjectMetricStatusPatch(val averageValue: String? = null, val currentValue: String? = null, val metricName: String? = null, val selector: LabelSelectorPatch? = null, val target: CrossVersionObjectReferencePatch? = null)

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

Link copied to clipboard
data class PodsMetricSource(val metricName: String, val selector: LabelSelector? = null, val targetAverageValue: String)

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.

Link copied to clipboard
data class PodsMetricSourcePatch(val metricName: String? = null, val selector: LabelSelectorPatch? = null, val targetAverageValue: String? = null)

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.

Link copied to clipboard
data class PodsMetricStatus(val currentAverageValue: String, val metricName: String, val selector: LabelSelector? = null)

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

Link copied to clipboard
data class PodsMetricStatusPatch(val currentAverageValue: String? = null, val metricName: String? = null, val selector: LabelSelectorPatch? = null)

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

Link copied to clipboard
data class ResourceMetricSource(val name: String, val targetAverageUtilization: Int? = null, val targetAverageValue: String? = null)

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.

Link copied to clipboard
data class ResourceMetricSourcePatch(val name: String? = null, val targetAverageUtilization: Int? = null, val targetAverageValue: String? = null)

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.

Link copied to clipboard
data class ResourceMetricStatus(val currentAverageUtilization: Int? = null, val currentAverageValue: String, val name: String)

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.

Link copied to clipboard
data class ResourceMetricStatusPatch(val currentAverageUtilization: Int? = null, val currentAverageValue: String? = null, val name: String? = null)

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.