Skip to content

Commit

Permalink
add orphaned anno label
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdsteelRail committed Oct 14, 2024
1 parent 726ce11 commit 26e6d75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/v1alpha1/well_known_annotations.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ const (
PodAvailableConditionsAnnotation = "pod.kusionstack.io/available-conditions" // indicate the available conditions of a pod

LastPodStatusAnnotationKey = "collaset.kusionstack.io/last-pod-status"

AnnotationPodOrphanedBy = "collaset.kusionstack.io/orphaned-by"
)

// PodTransitionRule Annotation
Expand Down
3 changes: 3 additions & 0 deletions apps/v1alpha1/well_known_labels.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ const (

// PvcTemplateHashLabelKey is used to attach hash of pvc template to pvc resource
PvcTemplateHashLabelKey = "collaset.kusionstack.io/pvc-template-hash"

// PodOrphanedIndicateLabelKey indicates pod or pvc is orphaned
PodOrphanedIndicateLabelKey = "collaset.kusionstack.io/orphaned"
)

// PodDecoration labels
Expand Down

0 comments on commit 26e6d75

Please sign in to comment.