Skip to content

Commit 78cf18b

Browse files
authored
Add operator.qdrant.com/reinit annotation (#140)
Setting the value triggers the reinitialization of the cluster. Such operation is needed when migrating data into a new cluster for example.
1 parent 3c18a43 commit 78cf18b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

api/v1/qdrantcluster_types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ const (
2929
// The value should be non-empty, but is free to use, and will be used in Events.
3030
// This feature requires that the cluster-manager is enabled.
3131
RecreateNodeAnnotationKey = "operator.qdrant.com/recreate-node"
32+
// ReinitAnnotationKey is the annotation key to trigger reinitialization of the given cluster.
33+
// The annotation value is ignored and can be used to document why reinitialization is requested.
34+
ReinitAnnotationKey = "operator.qdrant.com/reinit"
3235
)
3336

3437
// GPUType specifies the type of GPU to use.

0 commit comments

Comments
 (0)