package
0.33.0-alpha.2
Repository: https://github.com/kubernetes/api.git
Documentation: pkg.go.dev

# Functions

Resource takes an unqualified resource and returns a Group qualified GroupResource.

# Constants

AbleToScale indicates a lack of transient issues which prevent scaling from occurring, such as being in a backoff window, or being unable to access/update the target scale.
AverageValueMetricType declares a MetricTarget is an.
ContainerResourceMetricSourceType is 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.
DisabledPolicySelect disables the scaling in this direction.
ExternalMetricSourceType is a global metric that is not associated with any Kubernetes object.
GroupName is the group name use in this package.
MaxChangePolicySelect selects the policy with the highest possible change.
MinChangePolicySelect selects the policy with the lowest possible change.
ObjectMetricSourceType is a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
PercentScalingPolicy is a policy used to specify a relative amount of change with respect to the current number of pods.
PodsMetricSourceType is a metric describing each pod in the current scale target (for example, transactions-processed-per-second).
PodsScalingPolicy is a policy used to specify a change in absolute number of pods.
ResourceMetricSourceType is a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g.
ScalingActive indicates that the HPA controller is able to scale if necessary: it's correctly configured, can fetch the desired metrics, and isn't disabled.
ScalingLimited indicates that the calculated scale based on metrics would be above or below the range for the HPA, and has thus been capped.
UtilizationMetricType declares a MetricTarget is an AverageUtilization value.
ValueMetricType declares a MetricTarget is a raw value.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SchemeGroupVersion is group version used to register these objects.

# Structs

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.
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.
CrossVersionObjectReference contains enough information to let you identify the referred resource.
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).
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
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.
HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
HPAScalingRules configures the scaling behavior for one direction.
MetricIdentifier defines the name and optionally selector for a metric.
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
MetricStatus describes the last-read state of a single metric.
MetricTarget defines the target value, average value, or average utilization of a specific metric.
MetricValueStatus holds the current value for a metric.
ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second).
PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).
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.
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.

# Type aliases

HorizontalPodAutoscalerConditionType are the valid conditions of a HorizontalPodAutoscaler.
HPAScalingPolicyType is the type of the policy which could be used while making scaling decisions.
MetricSourceType indicates the type of metric.
MetricTargetType specifies the type of metric being targeted, and should be either "Value", "AverageValue", or "Utilization".
ScalingPolicySelect is used to specify which policy should be used while scaling in a certain direction.