Documentation ¶
Index ¶
Constants ¶
View Source
const ( PaddleService = "paddleService" PaddleServiceDefaultPodName = "http1" )
PaddleService Key
View Source
const ( PaddleServiceConfigName = "paddleservice-config" PaddleServiceConfigNamespace = "paddleservice-system" )
PaddleService configuration name and namespce
Variables ¶
View Source
var ( PaddleServiceDefaultCPU = "0.2" PaddleServiceDefaultMemory = "512Mi" PaddleServiceDefaultMinScale = 0 // 0 if scale-to-zero is desired PaddleServiceDefaultMaxScale = 0 // 0 means limitless PaddleServiceDefaultTimeout int64 = 300 PaddleServiceDefaultScalingClass = autoscaling.KPA // kpa or hpa PaddleServiceDefaultScalingMetric = "concurrency" // concurrency, rps or cpu (hpa required) PaddleServiceDefaultScalingTarget = 100 PaddleServiceDefaultTargetUtilizationPercentage = "70" PaddleServiceDefaultWindow = "60s" PaddleServiceDefaultPanicWindow = "10" // percentage of StableWindow PaddleServiceDefaultPanicThreshold = "200" PaddleServivceDefaultTrafficPercents = 50 )
PaddleService resource defaults
View Source
var ( ReadinessInitialDelaySeconds int32 = 60 ReadinessFailureThreshold int32 = 3 ReadinessPeriodSeconds int32 = 10 ReadinessTimeoutSeconds int32 = 180 SuccessThreshold int32 = 1 LivenessInitialDelaySeconds int32 = 60 LivenessFailureThreshold int32 = 3 LivenessPeriodSeconds int32 = 10 )
View Source
var ( ServiceAnnotationsList = []string{ autoscaling.MinScaleAnnotationKey, autoscaling.MaxScaleAnnotationKey, autoscaling.ClassAnnotationKey, autoscaling.MetricAnnotationKey, autoscaling.TargetAnnotationKey, autoscaling.TargetUtilizationPercentageKey, autoscaling.WindowAnnotationKey, autoscaling.PanicWindowPercentageAnnotationKey, autoscaling.PanicThresholdPercentageAnnotationKey, "kubectl.kubernetes.io/last-applied-configuration", } )
Functions ¶
func CanaryServiceName ¶
func DefaultServiceName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.