Skip to content

Commit 9517b9d

Browse files
hyeong01Heeyoung Jung
and
Heeyoung Jung
authored
Fix ASGLifecycle showing up as UnknownInterruption on K8 events (#1024) (#1096)
* Fix ASGLifecycle showing up as UnknownInterruption on K8 events (#1024) * Fix StateChange showing up as UnknownInterruption on K8 events --------- Co-authored-by: Heeyoung Jung <[email protected]>
1 parent 1a0643c commit 9517b9d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/observability/k8s-events.go

+4
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,10 @@ func getReasonForKindV1(eventKind, monitorKind string) string {
169169
return spotITNReason
170170
case monitor.RebalanceRecommendationKind:
171171
return rebalanceRecommendationReason
172+
case monitor.StateChangeKind:
173+
return stateChangeReason
174+
case monitor.ASGLifecycleKind:
175+
return asgLifecycleReason
172176
default:
173177
return unknownReason
174178
}

0 commit comments

Comments
 (0)