Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add orphaned anno label
  • Loading branch information
ColdsteelRail committed Oct 14, 2024
commit 26e6d75a03056bb20258121e02cf2ee799c1034f
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