Skip to content

Commit

Permalink
Fix ASGLifecycle showing up as UnknownInterruption on K8 events (#1024)…
Browse files Browse the repository at this point in the history
… (#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 <jhyeong@amazon.com>
  • Loading branch information
hyeong01 and Heeyoung Jung authored Dec 6, 2024
1 parent 1a0643c commit 9517b9d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/observability/k8s-events.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ func getReasonForKindV1(eventKind, monitorKind string) string {
return spotITNReason
case monitor.RebalanceRecommendationKind:
return rebalanceRecommendationReason
case monitor.StateChangeKind:
return stateChangeReason
case monitor.ASGLifecycleKind:
return asgLifecycleReason
default:
return unknownReason
}
Expand Down

0 comments on commit 9517b9d

Please sign in to comment.