in pkg/observability/k8s-events.go [183:199]
func getReasonForKindV2(eventKind, _ string) string {
// v2 added reasons for more event kinds for both IMDS and SQS events.
switch eventKind {
case monitor.ScheduledEventKind:
return scheduledEventReason
case monitor.SpotITNKind:
return spotITNReason
case monitor.RebalanceRecommendationKind:
return rebalanceRecommendationReason
case monitor.StateChangeKind:
return stateChangeReason
case monitor.ASGLifecycleKind:
return asgLifecycleReason
default:
return unknownReason
}
}