Merge pull request #118381 from SataQiu/fix-controller-20230601

controller: fix the help information format of sorting_deletion_age_ratio metric
This commit is contained in:
Kubernetes Prow Robot
2023-10-24 15:04:25 +02:00
committed by GitHub

View File

@@ -26,8 +26,8 @@ var SortingDeletionAgeRatio = metrics.NewHistogram(
&metrics.HistogramOpts{
Subsystem: ReplicaSetControllerSubsystem,
Name: "sorting_deletion_age_ratio",
Help: "The ratio of chosen deleted pod's ages to the current youngest pod's age (at the time). Should be <2." +
"The intent of this metric is to measure the rough efficacy of the LogarithmicScaleDown feature gate's effect on" +
Help: "The ratio of chosen deleted pod's ages to the current youngest pod's age (at the time). Should be <2. " +
"The intent of this metric is to measure the rough efficacy of the LogarithmicScaleDown feature gate's effect on " +
"the sorting (and deletion) of pods when a replicaset scales down. This only considers Ready pods when calculating and reporting.",
Buckets: metrics.ExponentialBuckets(0.25, 2, 6),
StabilityLevel: metrics.ALPHA,