known

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2023 License: Apache-2.0, BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HPARecommendationValueAnnotation      = "analysis.crane.io/hpa-recommendation"
	ReplicasRecommendationValueAnnotation = "analysis.crane.io/replicas-recommendation"
	ResourceRecommendationValueAnnotation = "analysis.crane.io/resource-recommendation"
	RunNumberAnnotation                   = "analysis.crane.io/run-number"
	AnalyticsConversionAnnotation         = "analysis.crane.io/analytics-conversion"
	LastStartTimeAnnotation               = "analysis.crane.io/last-start-time"
	MessageAnnotation                     = "analysis.crane.io/message"
)
View Source
const (
	EffectiveHorizontalPodAutoscalerCurrentMetricsAnnotation        = "autoscaling.crane.io/effective-hpa-current-metrics"
	EffectiveHorizontalPodAutoscalerExternalMetricsAnnotationPrefix = "metric-query.autoscaling.crane.io"
)
View Source
const (
	MetricNamePrediction  = "crane_autoscaling_prediction"
	MetricNameCron        = "crane_autoscaling_cron"
	MetricNamePodCpuUsage = "crane_pod_cpu_usage"
)
View Source
const (
	DefaultCoolDownSeconds            = 300
	DefaultRestoredThreshold          = 1
	DefaultAvoidedThreshold           = 1
	DefaultDeletionGracePeriodSeconds = 30
	MaxMinCPURatio                    = 100
	MaxStepCPURatio                   = 100
)
View Source
const (
	EffectiveHorizontalPodAutoscalerUidLabel  = "autoscaling.crane.io/effective-hpa-uid"
	EffectiveHorizontalPodAutoscalerManagedBy = "effective-hpa-controller"
)
View Source
const (
	EnsuranceAnalyzedPressureTaintKey     = "interference.crane.io"
	EnsuranceAnalyzedPressureConditionKey = "interference-identified"
)
View Source
const (
	AnalyticsNameLabel = "analysis.crane.io/analytics-name"
	AnalyticsUidLabel  = "analysis.crane.io/analytics-uid"
	AnalyticsTypeLabel = "analysis.crane.io/analytics-type"
)
View Source
const (
	RecommendationRuleNameLabel            = "analysis.crane.io/recommendation-rule-name"
	RecommendationRuleUidLabel             = "analysis.crane.io/recommendation-rule-uid"
	RecommendationRuleRecommenderLabel     = "analysis.crane.io/recommendation-rule-recommender"
	RecommendationRuleTargetKindLabel      = "analysis.crane.io/recommendation-target-kind"
	RecommendationRuleTargetVersionLabel   = "analysis.crane.io/recommendation-target-version"
	RecommendationRuleTargetNameLabel      = "analysis.crane.io/recommendation-target-name"
	RecommendationRuleTargetNamespaceLabel = "analysis.crane.io/recommendation-target-namespace"
)
View Source
const (
	ReasonTimeSeriesPredictFailed  = "PredictFailed"
	ReasonTimeSeriesPredictPartial = "PredictPartial"
	ReasonTimeSeriesPredictSucceed = "PredictSucceed"
)
View Source
const (
	AutoscalingFinalizer = "autoscaling.crane.io/finalizer"
)

Variables

View Source
var (
	CraneSystemNamespace = "crane-system"
)

Functions

This section is empty.

Types

type Module added in v0.3.0

type Module string
const (
	ModuleAnomalyAnalyzer     Module = "AnomalyAnalyzer"
	ModuleStateCollector      Module = "StateCollector"
	ModuleActionExecutor      Module = "ActionExecutor"
	ModuleNodeResourceManager Module = "ModuleNodeResourceManager"
	ModulePodResourceManager  Module = "ModulePodResourceManager"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL