package
1.11.0-alpha.1
Repository: https://github.com/ceshihao/kubernetes.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
These are valid condition statuses.
These are valid condition statuses.
These are valid condition statuses.
DefaultCPUUtilization is the default value for CPU utilization, provided no other metrics are present.
GroupName is the group name use in this package.
HorizontalPodAutoscalerConditionsAnnotation is the annotation which holds the conditions of an HPA when converting the `Conditions` field from autoscaling/v2beta1.
MetricSpecsAnnotation is the annotation which holds non-CPU-utilization HPA metric specs when converting the `Metrics` field from autoscaling/v2beta1.
MetricStatusesAnnotation is the annotation which holds non-CPU-utilization HPA metric statuses when converting the `CurrentMetrics` field from autoscaling/v2beta1.
# Variables
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.
No description provided by the author
ExternalMetricSourceType is a global metric that is not associated with any Kubernetes object.
ObjectMetricSourceType is a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
PodsMetricSourceType is a metric describing each pod in the current scale target (for example, transactions-processed-per-second).
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.
No description provided by the author
SchemeGroupVersion is group version used to register these objects.
# Structs
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.
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.
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.
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.
Scale represents a scaling request for a resource.
ScaleSpec describes the attributes of a scale subresource.
ScaleStatus represents the current status of a scale subresource.
# Type aliases
ConditionStatus indicates the status of a condition (true, false, or unknown).
HorizontalPodAutoscalerConditionType are the valid conditions of a HorizontalPodAutoscaler.
MetricSourceType indicates the type of metric.