Skip to content

Commit cdd20ee

Browse files
authored
Merge pull request kubernetes#118381 from SataQiu/fix-controller-20230601
controller: fix the help information format of sorting_deletion_age_ratio metric
2 parents 015297a + 0186128 commit cdd20ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/controller/replicaset/metrics/metrics.go

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

0 commit comments

Comments
 (0)