You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(CRC-1988): add QdrantCluster.spec.onDemandReplication field
It's an enum with Off/Auto/On. Off is the default.
It'll be used by qdrant/operator and qdrant/node-operator.
For existing Go clients `omitempty` is used on the field, avoiding a
backwards incompatible change.
Copy file name to clipboardExpand all lines: docs/api.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -620,6 +620,25 @@ _Appears in:_
620
620
|`snapshotsPVCStatus`_[NodePVCStatus](#nodepvcstatus)_| Status of the snapshots storage PVC || Optional: \{\} <br /> |
621
621
622
622
623
+
#### OnDemandReplicationType
624
+
625
+
_Underlying type:__string_
626
+
627
+
OnDemandReplicationType specifies the on-demand replication restart mode.
628
+
629
+
_Validation:_
630
+
- Enum: [Off Auto On]
631
+
632
+
_Appears in:_
633
+
-[QdrantClusterSpec](#qdrantclusterspec)
634
+
635
+
| Field | Description |
636
+
| --- | --- |
637
+
|`Off`||
638
+
|`Auto`||
639
+
|`On`||
640
+
641
+
623
642
#### Pause
624
643
625
644
@@ -976,6 +995,7 @@ _Appears in:_
976
995
|`topologySpreadConstraints`_[TopologySpreadConstraint](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#topologyspreadconstraint-v1-core)_| TopologySpreadConstraints specifies the topology spread constraints for the cluster. || Optional: \{\} <br /> |
977
996
|`podDisruptionBudget`_[PodDisruptionBudgetSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#poddisruptionbudgetspec-v1-policy)_| PodDisruptionBudget specifies the pod disruption budget for the cluster. || Optional: \{\} <br /> |
978
997
|`restartAllPodsConcurrently`_boolean_| RestartAllPodsConcurrently specifies whether to restart all pods concurrently (also called one-shot-restart).<br />If enabled, all the pods in the cluster will be restarted concurrently in situations where multiple pods<br />need to be restarted, like when RestartedAtAnnotationKey is added/updated or the Qdrant version needs to be upgraded.<br />This helps sharded but not replicated clusters to reduce downtime to a possible minimum during restart.<br />If unset, the operator is going to restart nodes concurrently if none of the collections if replicated. || Optional: \{\} <br /> |
998
+
|`onDemandReplication`_[OnDemandReplicationType](#ondemandreplicationtype)_| OnDemandReplication specifies the on-demand replication restart mode.<br />Off (default): Normal restart behavior. Pods are restarted directly.<br />Auto: The operator checks telemetry for non-replicated shards. If found, uses the recreate-node flow.<br />On: Always uses the recreate-node flow for eligible restart triggers. | Off | Enum: [Off Auto On] <br />Optional: \{\} <br /> |
979
999
|`startupDelaySeconds`_integer_| If StartupDelaySeconds is set (> 0), an additional 'sleep <value>' will be emitted to the pod startup.<br />The sleep will be added when a pod is restarted, it will not force any pod to restart.<br />This feature can be used for debugging the core, e.g. if a pod is in crash loop, it provided a way<br />to inspect the attached storage. || Optional: \{\} <br /> |
980
1000
|`rebalanceStrategy`_[RebalanceStrategy](#rebalancestrategy)_| RebalanceStrategy specifies the strategy to use for automaticially rebalancing shards the cluster.<br />Cluster-manager needs to be enabled for this feature to work. || Enum: [by_count by_size by_count_and_size] <br />Optional: \{\} <br /> |
981
1001
|`readClusters`_[ReadCluster](#readcluster) array_| ReadClusters specifies the read clusters for this cluster to synchronize.<br />Cluster-manager needs to be enabled for this feature to work. || Optional: \{\} <br /> |
0 commit comments