k8s.models.autoscaler module

class k8s.models.autoscaler.CrossVersionObjectReference(new=True, **kwargs)[source]

Bases: Model

apiVersion

Generic field on a k8s model

kind

Required field must have a value from the start

name

Required field must have a value from the start

class k8s.models.autoscaler.HorizontalPodAutoscaler(new=True, **kwargs)[source]

Bases: Model, ApiMixIn

metadata

Generic field on a k8s model

spec

Generic field on a k8s model

class k8s.models.autoscaler.HorizontalPodAutoscalerSpec(new=True, **kwargs)[source]

Bases: Model

maxReplicas

Required field must have a value from the start

minReplicas

Generic field on a k8s model

scaleTargetRef

Required field must have a value from the start

targetCPUUtilizationPercentage

Generic field on a k8s model