Skip to content

Commit

Permalink
feat(labels): add labels to represent PodOpsLifecycle phase (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
wu8685 authored Oct 28, 2024
1 parent 726ce11 commit 08041ac
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apps/v1alpha1/well_known_labels.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ const (

// PodServiceAvailableLabel indicates a pod is available to serve
PodServiceAvailableLabel = "podopslifecycle.kusionstack.io/service-available"
PodPreCheckLabel = "podopslifecycle.kusionstack.io/pre-checking"
PodPreparingLabel = "podopslifecycle.kusionstack.io/preparing"
PodOperatingLabel = "podopslifecycle.kusionstack.io/operating"
PodPostCheckLabel = "podopslifecycle.kusionstack.io/post-checking"
PodCompletingLabel = "podopslifecycle.kusionstack.io/completing"
PodCreatingLabel = "podopslifecycle.kusionstack.io/creating"

// PodStayOfflineLabel indicates a pod is not ready and available to serve
PodStayOfflineLabel = "podopslifecycle.kusionstack.io/stay-offline"
PodPreparingDeleteLabel = "podopslifecycle.kusionstack.io/preparing-to-delete"
Expand Down

0 comments on commit 08041ac

Please sign in to comment.