known

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: Apache-2.0 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"
)
View Source
const (
	EffectiveHorizontalPodAutoscalerCurrentMetricsAnnotation        = "autoscaling.crane.io/effective-hpa-current-metrics"
	EffectiveHorizontalPodAutoscalerExternalMetricsAnnotationPrefix = "metric-query.autoscaling.crane.io"
)
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     = "ensurance.crane.io/analyzed-pressure"
	EnsuranceAnalyzedPressureConditionKey = "analyzed-pressure"
)
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"
)
View Source
const (
	ReasonTimeSeriesPredictFailed  = "PredictFailed"
	ReasonTimeSeriesPredictPartial = "PredictPartial"
	ReasonTimeSeriesPredictSucceed = "PredictSucceed"
)
View Source
const (
	AutoscalingFinalizer = "autoscaling.crane.io/finalizer"
)
View Source
const (
	MetricNamePodCpuUsage = "crane_pod_cpu_usage"
)

Variables

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

Functions

This section is empty.

Types

type Module added in v0.3.0

type Module string
const (
	ModuleAnormalyAnalyzer    Module = "AnormalyAnalyzer"
	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