65
65
66
66
// CollaSet labels
67
67
const (
68
- // PodInstanceIDLabelKey is used to attach Pod instance ID on Pod
68
+ // PodInstanceIDLabelKey is used to attach pod instance ID on pod
69
69
PodInstanceIDLabelKey = "collaset.kusionstack.io/instance-id"
70
70
// CollaSetUpdateIndicateLabelKey is used to indicate a pod should be updated by label
71
71
CollaSetUpdateIndicateLabelKey = "collaset.kusionstack.io/update-included"
@@ -76,14 +76,12 @@ const (
76
76
PodReplaceIndicationLabelKey = "collaset.kusionstack.io/to-replace"
77
77
// PodReplaceByReplaceUpdateLabelKey indicates a pod is replaced by update by collaset
78
78
PodReplaceByReplaceUpdateLabelKey = "collaset.kusionstack.io/replaced-by-replace-update"
79
- // PodIgnoringIndicationLabelKey indicates a pod to be ignored by collaset. For example,
80
- // a Pod is stuck to delete when it is on a failed node or its network communication to
81
- // the outside world is completely cut, then the Pod can be ignored by CollaSet.
82
- PodIgnoringIndicationLabelKey = "collaset.kusionstack.io/to-ignore"
79
+ // PodExcludeIndicationLabelKey indicates a pod will be excluded by collaset
80
+ PodExcludeIndicationLabelKey = "collaset.kusionstack.io/to-exclude"
83
81
84
- // PodReplacePairOriginName is used to indicate replace origin Pod name on the new created Pod
82
+ // PodReplacePairOriginName is used to indicate replace origin pod name on the new created pod
85
83
PodReplacePairOriginName = "collaset.kusionstack.io/replace-pair-origin-name"
86
- // PodReplacePairNewId is used to indicate the new created Pod instance on the replace origin Pod
84
+ // PodReplacePairNewId is used to indicate the new created pod instance on replace origin pod
87
85
PodReplacePairNewId = "collaset.kusionstack.io/replace-pair-new-id"
88
86
89
87
// PvcTemplateHashLabelKey is used to attach hash of pvc template to pvc resource
0 commit comments