Package-level declarations

Types

Link copied to clipboard
data class ContainerResourceMetricSourceArgs(val container: Output<String>, val name: Output<String>, val target: Output<MetricTargetArgs>) : 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 target: Output<MetricTargetPatchArgs>? = 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 current: Output<MetricValueStatusArgs>, 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 metric: Output<MetricIdentifierArgs>, val target: Output<MetricTargetArgs>) : 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).

Link copied to clipboard
data class ExternalMetricSourcePatchArgs(val metric: Output<MetricIdentifierPatchArgs>? = null, val target: Output<MetricTargetPatchArgs>? = 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).

Link copied to clipboard
data class ExternalMetricStatusArgs(val current: Output<MetricValueStatusArgs>, val metric: Output<MetricIdentifierArgs>) : 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 HorizontalPodAutoscalerBehaviorArgs(val scaleDown: Output<HPAScalingRulesArgs>? = null, val scaleUp: Output<HPAScalingRulesArgs>? = null) : ConvertibleToJava<HorizontalPodAutoscalerBehaviorArgs>

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

Link copied to clipboard
data class HorizontalPodAutoscalerBehaviorPatchArgs(val scaleDown: Output<HPAScalingRulesPatchArgs>? = null, val scaleUp: Output<HPAScalingRulesPatchArgs>? = null) : ConvertibleToJava<HorizontalPodAutoscalerBehaviorPatchArgs>

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

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 behavior: Output<HorizontalPodAutoscalerBehaviorArgs>? = null, 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 behavior: Output<HorizontalPodAutoscalerBehaviorPatchArgs>? = null, 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 HPAScalingPolicyArgs(val periodSeconds: Output<Int>, val type: Output<String>, val value: Output<Int>) : ConvertibleToJava<HPAScalingPolicyArgs>

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

Link copied to clipboard
data class HPAScalingPolicyPatchArgs(val periodSeconds: Output<Int>? = null, val type: Output<String>? = null, val value: Output<Int>? = null) : ConvertibleToJava<HPAScalingPolicyPatchArgs>

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

Link copied to clipboard
data class HPAScalingRulesArgs(val policies: Output<List<HPAScalingPolicyArgs>>? = null, val selectPolicy: Output<String>? = null, val stabilizationWindowSeconds: Output<Int>? = null) : ConvertibleToJava<HPAScalingRulesArgs>

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.

Link copied to clipboard
data class HPAScalingRulesPatchArgs(val policies: Output<List<HPAScalingPolicyPatchArgs>>? = null, val selectPolicy: Output<String>? = null, val stabilizationWindowSeconds: Output<Int>? = null) : ConvertibleToJava<HPAScalingRulesPatchArgs>

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.

Link copied to clipboard
data class MetricIdentifierArgs(val name: Output<String>, val selector: Output<LabelSelectorArgs>? = null) : ConvertibleToJava<MetricIdentifierArgs>

MetricIdentifier defines the name and optionally selector for a metric

Link copied to clipboard
data class MetricIdentifierPatchArgs(val name: Output<String>? = null, val selector: Output<LabelSelectorPatchArgs>? = null) : ConvertibleToJava<MetricIdentifierPatchArgs>

MetricIdentifier defines the name and optionally selector for a metric

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 MetricTargetArgs(val averageUtilization: Output<Int>? = null, val averageValue: Output<String>? = null, val type: Output<String>, val value: Output<String>? = null) : ConvertibleToJava<MetricTargetArgs>

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

Link copied to clipboard
Link copied to clipboard
data class MetricTargetPatchArgs(val averageUtilization: Output<Int>? = null, val averageValue: Output<String>? = null, val type: Output<String>? = null, val value: Output<String>? = null) : ConvertibleToJava<MetricTargetPatchArgs>

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

Link copied to clipboard
data class MetricValueStatusArgs(val averageUtilization: Output<Int>? = null, val averageValue: Output<String>? = null, val value: Output<String>? = null) : ConvertibleToJava<MetricValueStatusArgs>

MetricValueStatus holds the current value for a metric

Link copied to clipboard
data class ObjectMetricSourceArgs(val describedObject: Output<CrossVersionObjectReferenceArgs>, val metric: Output<MetricIdentifierArgs>, val target: Output<MetricTargetArgs>) : 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 describedObject: Output<CrossVersionObjectReferencePatchArgs>? = null, val metric: Output<MetricIdentifierPatchArgs>? = null, val target: Output<MetricTargetPatchArgs>? = 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 current: Output<MetricValueStatusArgs>, val describedObject: Output<CrossVersionObjectReferenceArgs>, val metric: Output<MetricIdentifierArgs>) : 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 metric: Output<MetricIdentifierArgs>, val target: Output<MetricTargetArgs>) : 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 metric: Output<MetricIdentifierPatchArgs>? = null, val target: Output<MetricTargetPatchArgs>? = 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 current: Output<MetricValueStatusArgs>, val metric: Output<MetricIdentifierArgs>) : 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 target: Output<MetricTargetArgs>) : 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 target: Output<MetricTargetPatchArgs>? = 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 current: Output<MetricValueStatusArgs>, 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.