package
2.16.1
Repository: https://github.com/elastic/cloud-on-k8s.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
NewAutoscalingStatusBuilder creates a new autoscaling status builder.
NewNodeSetsResources initialize an empty NodeSetsResources for a given set of NodeSets.
ResourceToQuantity attempts to convert a raw integer value into a human readable quantity.

# Constants

No description provided by the author
ElasticsearchAutoscalerActive status is True when the ElasticsearchAutoscaler resource is managed by the operator and the target Elasticsearch cluster does exist.
ElasticsearchAutoscalerHealthy status is True if resources have been calculated for all the autoscaling policies and no error has been encountered during the reconciliation process.
ElasticsearchAutoscalerLimited status is True when a resource limit is reached.
ElasticsearchAutoscalerOnline status is True if the Elasticsearch API is available.
No description provided by the author
GB - 1 Gigabyte.
GiB - 1 GibiByte.
No description provided by the author
No description provided by the author
No description provided by the author
NotOnlineErrorMessage is a generic error message to be used in Conditions.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

DefaultPollingPeriod is the default period between 2 Elasticsearch autoscaling API polls.

# Structs

AutoscalingPolicy models the Elasticsearch autoscaling API.
AutoscalingPolicySpec holds a named autoscaling policy and the associated resources limits (cpu, memory, storage).
No description provided by the author
+kubebuilder:object:generate=false.
AutoscalingResources model the limits, submitted by the user, for the supported resources in an autoscaling policy.
+kubebuilder:object:generate=false.
Condition represents Elasticsearch resource's condition.
No description provided by the author
No description provided by the author
NamedAutoscalingPolicy models an autoscaling policy as expected by the Elasticsearch policy API.
NodeResources holds the resources to be used by each node managed by an autoscaling policy.
NodeResourcesInt64 is mostly use in logs to print comparable values which can be used in dashboards.
NodeSetNodeCount models the number of nodes expected in a given NodeSet.
+kubebuilder:object:generate=false.
NodeSetsResources models for all the nodeSets managed by a same autoscaling policy: * the desired resources quantities (cpu, memory, storage) expected in the nodeSet specifications * the individual number of nodes (count) in each nodeSet +kubebuilder:object:generate=false.
No description provided by the author
QuantityRange models a resource limit range for resources which can be expressed with resource.Quantity.

# Interfaces

+kubebuilder:object:generate=false.

# Type aliases

No description provided by the author
No description provided by the author
ClusterResources models the desired resources (CPU, memory, storage and number of nodes) for all the autoscaling policies in a cluster.
No description provided by the author
ConditionType defines the condition of an Elasticsearch resource.
DeciderSettings allow the user to tweak autoscaling deciders.
No description provided by the author
ResourceListInt64 is a set of (resource name, quantity) pairs.