Package-level declarations

Types

Link copied to clipboard
data class ContainerResourceMetricSourceArgs(val container: Output<String>, val name: Output<String>, val targetAverageUtilization: Output<Int>? = null, val targetAverageValue: Output<String>? = null) : ConvertibleToJava<ContainerResourceMetricSourceArgs>

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 ContainerResourceMetricSourcePatchArgs(val container: Output<String>? = null, val name: Output<String>? = null, val targetAverageUtilization: Output<Int>? = null, val targetAverageValue: Output<String>? = null) : ConvertibleToJava<ContainerResourceMetricSourcePatchArgs>

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 ContainerResourceMetricStatusArgs(val container: Output<String>, val currentAverageUtilization: Output<Int>? = null, val currentAverageValue: Output<String>, val name: Output<String>) : ConvertibleToJava<ContainerResourceMetricStatusArgs>

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 CrossVersionObjectReferenceArgs(val apiVersion: Output<String>? = null, val kind: Output<String>, val name: Output<String>) : ConvertibleToJava<CrossVersionObjectReferenceArgs>

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

Link copied to clipboard
data class CrossVersionObjectReferencePatchArgs(val apiVersion: Output<String>? = null, val kind: Output<String>? = null, val name: Output<String>? = null) : ConvertibleToJava<CrossVersionObjectReferencePatchArgs>

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

Link copied to clipboard
data class ExternalMetricSourceArgs(val metricName: Output<String>, val metricSelector: Output<LabelSelectorArgs>? = null, val targetAverageValue: Output<String>? = null, val targetValue: Output<String>? = null) : ConvertibleToJava<ExternalMetricSourceArgs>

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 ExternalMetricSourcePatchArgs(val metricName: Output<String>? = null, val metricSelector: Output<LabelSelectorPatchArgs>? = null, val targetAverageValue: Output<String>? = null, val targetValue: Output<String>? = null) : ConvertibleToJava<ExternalMetricSourcePatchArgs>

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 ExternalMetricStatusArgs(val currentAverageValue: Output<String>? = null, val currentValue: Output<String>, val metricName: Output<String>, val metricSelector: Output<LabelSelectorArgs>? = null) : ConvertibleToJava<ExternalMetricStatusArgs>

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

Link copied to clipboard
data class HorizontalPodAutoscalerArgs(val apiVersion: Output<String>? = null, val kind: Output<String>? = null, val metadata: Output<ObjectMetaArgs>? = null, val spec: Output<HorizontalPodAutoscalerSpecArgs>? = null, val status: Output<HorizontalPodAutoscalerStatusArgs>? = null) : ConvertibleToJava<HorizontalPodAutoscalerArgs>

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 HorizontalPodAutoscalerConditionArgs(val lastTransitionTime: Output<String>? = null, val message: Output<String>? = null, val reason: Output<String>? = null, val status: Output<String>, val type: Output<String>) : ConvertibleToJava<HorizontalPodAutoscalerConditionArgs>

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

Link copied to clipboard
data class HorizontalPodAutoscalerSpecArgs(val maxReplicas: Output<Int>, val metrics: Output<List<MetricSpecArgs>>? = null, val minReplicas: Output<Int>? = null, val scaleTargetRef: Output<CrossVersionObjectReferenceArgs>) : ConvertibleToJava<HorizontalPodAutoscalerSpecArgs>

HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.

Link copied to clipboard
data class HorizontalPodAutoscalerSpecPatchArgs(val maxReplicas: Output<Int>? = null, val metrics: Output<List<MetricSpecPatchArgs>>? = null, val minReplicas: Output<Int>? = null, val scaleTargetRef: Output<CrossVersionObjectReferencePatchArgs>? = null) : ConvertibleToJava<HorizontalPodAutoscalerSpecPatchArgs>

HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.

Link copied to clipboard
data class HorizontalPodAutoscalerStatusArgs(val conditions: Output<List<HorizontalPodAutoscalerConditionArgs>>, val currentMetrics: Output<List<MetricStatusArgs>>? = null, val currentReplicas: Output<Int>, val desiredReplicas: Output<Int>, val lastScaleTime: Output<String>? = null, val observedGeneration: Output<Int>? = null) : ConvertibleToJava<HorizontalPodAutoscalerStatusArgs>

HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.

Link copied to clipboard
data class MetricSpecArgs(val containerResource: Output<ContainerResourceMetricSourceArgs>? = null, val external: Output<ExternalMetricSourceArgs>? = null, val object: Output<ObjectMetricSourceArgs>? = null, val pods: Output<PodsMetricSourceArgs>? = null, val resource: Output<ResourceMetricSourceArgs>? = null, val type: Output<String>) : ConvertibleToJava<MetricSpecArgs>

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
Link copied to clipboard
data class MetricSpecPatchArgs(val containerResource: Output<ContainerResourceMetricSourcePatchArgs>? = null, val external: Output<ExternalMetricSourcePatchArgs>? = null, val object: Output<ObjectMetricSourcePatchArgs>? = null, val pods: Output<PodsMetricSourcePatchArgs>? = null, val resource: Output<ResourceMetricSourcePatchArgs>? = null, val type: Output<String>? = null) : ConvertibleToJava<MetricSpecPatchArgs>

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 MetricStatusArgs(val containerResource: Output<ContainerResourceMetricStatusArgs>? = null, val external: Output<ExternalMetricStatusArgs>? = null, val object: Output<ObjectMetricStatusArgs>? = null, val pods: Output<PodsMetricStatusArgs>? = null, val resource: Output<ResourceMetricStatusArgs>? = null, val type: Output<String>) : ConvertibleToJava<MetricStatusArgs>

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

Link copied to clipboard
Link copied to clipboard
data class ObjectMetricSourceArgs(val averageValue: Output<String>? = null, val metricName: Output<String>, val selector: Output<LabelSelectorArgs>? = null, val target: Output<CrossVersionObjectReferenceArgs>, val targetValue: Output<String>) : ConvertibleToJava<ObjectMetricSourceArgs>

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 ObjectMetricSourcePatchArgs(val averageValue: Output<String>? = null, val metricName: Output<String>? = null, val selector: Output<LabelSelectorPatchArgs>? = null, val target: Output<CrossVersionObjectReferencePatchArgs>? = null, val targetValue: Output<String>? = null) : ConvertibleToJava<ObjectMetricSourcePatchArgs>

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 ObjectMetricStatusArgs(val averageValue: Output<String>? = null, val currentValue: Output<String>, val metricName: Output<String>, val selector: Output<LabelSelectorArgs>? = null, val target: Output<CrossVersionObjectReferenceArgs>) : ConvertibleToJava<ObjectMetricStatusArgs>

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 PodsMetricSourceArgs(val metricName: Output<String>, val selector: Output<LabelSelectorArgs>? = null, val targetAverageValue: Output<String>) : ConvertibleToJava<PodsMetricSourceArgs>

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 PodsMetricSourcePatchArgs(val metricName: Output<String>? = null, val selector: Output<LabelSelectorPatchArgs>? = null, val targetAverageValue: Output<String>? = null) : ConvertibleToJava<PodsMetricSourcePatchArgs>

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 PodsMetricStatusArgs(val currentAverageValue: Output<String>, val metricName: Output<String>, val selector: Output<LabelSelectorArgs>? = null) : ConvertibleToJava<PodsMetricStatusArgs>

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 ResourceMetricSourceArgs(val name: Output<String>, val targetAverageUtilization: Output<Int>? = null, val targetAverageValue: Output<String>? = null) : ConvertibleToJava<ResourceMetricSourceArgs>

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 ResourceMetricSourcePatchArgs(val name: Output<String>? = null, val targetAverageUtilization: Output<Int>? = null, val targetAverageValue: Output<String>? = null) : ConvertibleToJava<ResourceMetricSourcePatchArgs>

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 ResourceMetricStatusArgs(val currentAverageUtilization: Output<Int>? = null, val currentAverageValue: Output<String>, val name: Output<String>) : ConvertibleToJava<ResourceMetricStatusArgs>

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.