Skip to content

Commit 8e66d2d

Browse files
committed
update pathological ScalingReplicaSet event exception
1 parent 48bb0f4 commit 8e66d2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/monitortestlibrary/pathologicaleventlibrary/duplicated_event_patterns.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ func NewUniversalPathologicalEventMatchers(kubeConfig *rest.Config, finalInterva
434434
monitorapi.LocatorDeploymentKey: regexp.MustCompile(`(controller-manager|route-controller-manager)`),
435435
},
436436
messageReasonRegex: regexp.MustCompile(`^ScalingReplicaSet$`),
437-
messageHumanRegex: regexp.MustCompile(`\(combined from similar events\): Scaled (down|up) replica set.*controller-manager-[a-z0-9-]+ to [0-9]+`),
437+
messageHumanRegex: regexp.MustCompile(`\(combined from similar events\): Scaled (down|up) replica set.*controller-manager-[a-z0-9-]+ from [0-9]+ to [0-9]+`),
438438
})
439439

440440
// Match pod sandbox errors as "interesting" so they get charted, but we do not ever allow them to repeat

0 commit comments

Comments
 (0)