Skip to content
Open
Changes from all commits
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
6 changes: 6 additions & 0 deletions pkg/apis/v1/labels.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,17 @@ const (

// Karpenter specific annotations
const (
// DoNotDisruptAnnotationKey prevents Karpenter from voluntarily disrupting the annotated resource.
DoNotDisruptAnnotationKey = apis.Group + "/do-not-disrupt"
// ProviderCompatibilityAnnotationKey identifies the cloud provider compatible with the annotated resource.
ProviderCompatibilityAnnotationKey = apis.CompatibilityGroup + "/provider"
// NodePoolHashAnnotationKey stores the hash of a NodePool's configuration on the NodePool and its NodeClaims.
NodePoolHashAnnotationKey = apis.Group + "/nodepool-hash"
// NodePoolHashVersionAnnotationKey stores the version used to calculate NodePoolHashAnnotationKey.
NodePoolHashVersionAnnotationKey = apis.Group + "/nodepool-hash-version"
// NodeClaimTerminationTimestampAnnotationKey records when Karpenter initiated termination of a NodeClaim.
NodeClaimTerminationTimestampAnnotationKey = apis.Group + "/nodeclaim-termination-timestamp"
// NodeClaimMinValuesRelaxedAnnotationKey records whether Karpenter relaxed minimum requirement values for a NodeClaim.
NodeClaimMinValuesRelaxedAnnotationKey = apis.Group + "/nodeclaim-min-values-relaxed"
// DRADriversAnnotationKey records the comma-separated set of DRA driver names whose devices were allocated to pods
// scheduled to this NodeClaim. The initialization controller can gate on these drivers having published their
Expand Down
Loading