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

Members list

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 parameters

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

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

configuration of a horizontal pod autoscaler.

configuration of a horizontal pod autoscaler.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
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 parameters

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.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
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 parameters

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.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
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.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Scale extends ScaleFields

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class ScaleFields
class Object
trait Matchable
class Any
Show all
Self type
Scale.type
class ScaleFields(_prefix: Chunk[String])

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Scale.type
case class ScaleSpec(replicas: Optional[Int])

ScaleSpec describes the attributes of a scale subresource.

ScaleSpec describes the attributes of a scale subresource.

Value parameters

replicas

desired number of instances for the scaled object.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ScaleSpec extends ScaleSpecFields

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
ScaleSpec.type
class ScaleSpecFields(_prefix: Chunk[String])

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ScaleSpec.type
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 parameters

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

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
class ScaleStatusFields(_prefix: Chunk[String])

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ScaleStatus.type