com.coralogix.zio.k8s.model.autoscaling.v1

Type members

Classlikes

case
class CrossVersionObjectReference(apiVersion: Optional[String], kind: String, name: String)

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

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

Value Params
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

Companion
object
class CrossVersionObjectReferenceFields(_prefix: Chunk[String])

configuration of a horizontal pod autoscaler.

configuration of a horizontal pod autoscaler.

Companion
object
class HorizontalPodAutoscalerFields(_prefix: Chunk[String])
case
class HorizontalPodAutoscalerSpec(maxReplicas: Int, minReplicas: Optional[Int], scaleTargetRef: CrossVersionObjectReference, targetCPUUtilizationPercentage: Optional[Int])

specification of a horizontal pod autoscaler.

specification of a horizontal pod autoscaler.

Value Params
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.

Companion
object
class HorizontalPodAutoscalerSpecFields(_prefix: Chunk[String])
case
class HorizontalPodAutoscalerStatus(currentCPUUtilizationPercentage: Optional[Int], currentReplicas: Int, desiredReplicas: Int, lastScaleTime: Optional[Time], observedGeneration: Optional[Long])

current status of a horizontal pod autoscaler

current status of a horizontal pod autoscaler

Value Params
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.

Companion
object
class HorizontalPodAutoscalerStatusFields(_prefix: Chunk[String])
case
class Scale(metadata: Optional[ObjectMeta], spec: Optional[ScaleSpec], status: Optional[ScaleStatus])

Scale represents a scaling request for a resource.

Scale represents a scaling request for a resource.

Companion
object
object Scale extends ScaleFields
Companion
class
class ScaleFields(_prefix: Chunk[String])
case
class ScaleSpec(replicas: Optional[Int])

ScaleSpec describes the attributes of a scale subresource.

ScaleSpec describes the attributes of a scale subresource.

Value Params
replicas

desired number of instances for the scaled object.

Companion
object
object ScaleSpec extends ScaleSpecFields
Companion
class
class ScaleSpecFields(_prefix: Chunk[String])
case
class ScaleStatus(replicas: Int, selector: Optional[String])

ScaleStatus represents the current status of a scale subresource.

ScaleStatus represents the current status of a scale subresource.

Value Params
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

Companion
object
Companion
class
class ScaleStatusFields(_prefix: Chunk[String])