File tree Expand file tree Collapse file tree
charts/qdrant-kubernetes-api/templates/region-crds Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ const (
3232 // ReinitAnnotationKey is the annotation key to trigger reinitialization of the given cluster.
3333 // The annotation value is ignored and can be used to document why reinitialization is requested.
3434 ReinitAnnotationKey = "operator.qdrant.com/reinit"
35+ // BootstrapNodeAnnotationKey is annotation key to explicitely specify the bootstrap node.
36+ // This should be only used when automatically detected bootstrap node is in bad state.
37+ BootstrapNodeAnnotationKey = "operator.qdrant.com/bootstrap-node"
3538)
3639
3740// GPUType specifies the type of GPU to use.
@@ -913,11 +916,6 @@ type QdrantClusterStatus struct {
913916 // If the cluster want to scale-up concurrently (aka the delete is in progress), new nodes are required to accomplish.
914917 // +optional
915918 DeleteInProgessNodeIndexes []int `json:"deleteInProgressNodeIndexes,omitempty"`
916- // BootstrapNode specifies the node in the cluster which will be used for bootstrapping a new node.
917- // Should be a value from AvailableNodeIndexes.
918- // As default the value from AvailableNodeIndexes[0] will be used.
919- // +optional
920- BootstrapNode int `json:"bootstrapNode,omitempty"`
921919 // If set the operator will scale down 1 peer and reset the bool.
922920 // If you want to remove more then 1 peer, you need to repeat setting this bool
923921 // +optional
Original file line number Diff line number Diff line change @@ -1223,12 +1223,6 @@ spec:
12231223 description : AvailableNodes specifies the number of available nodes
12241224 in the cluster
12251225 type : integer
1226- bootstrapNode :
1227- description : |-
1228- BootstrapNode specifies the node in the cluster which will be used for bootstrapping a new node.
1229- Should be a value from AvailableNodeIndexes.
1230- As default the value from AvailableNodeIndexes[0] will be used.
1231- type : integer
12321226 clusterManagerResponse :
12331227 description : The last response from the cluster-manager manage endpoint
12341228 properties :
Original file line number Diff line number Diff line change @@ -1222,12 +1222,6 @@ spec:
12221222 description : AvailableNodes specifies the number of available nodes
12231223 in the cluster
12241224 type : integer
1225- bootstrapNode :
1226- description : |-
1227- BootstrapNode specifies the node in the cluster which will be used for bootstrapping a new node.
1228- Should be a value from AvailableNodeIndexes.
1229- As default the value from AvailableNodeIndexes[0] will be used.
1230- type : integer
12311225 clusterManagerResponse :
12321226 description : The last response from the cluster-manager manage endpoint
12331227 properties :
You can’t perform that action at this time.
0 commit comments