Skip to content

Commit adf22d9

Browse files
authored
add cluster storage tier configuration (#264)
* add cluster storage tier configuration to cluster
1 parent aadef4c commit adf22d9

8 files changed

Lines changed: 592 additions & 268 deletions

File tree

gen/go/qdrant/cloud/cluster/v1/cluster.pb.go

Lines changed: 314 additions & 189 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/openapiv2/qdrant/cloud/cluster/backup/v1/backup.swagger.json

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/openapiv2/qdrant/cloud/cluster/v1/cluster.swagger.json

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/python/qdrant/cloud/cluster/v1/cluster_pb2.py

Lines changed: 66 additions & 62 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/python/qdrant/cloud/cluster/v1/cluster_pb2.pyi

Lines changed: 20 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/typescript/qdrant/cloud/cluster/v1/cluster_pb.d.ts

Lines changed: 79 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/typescript/qdrant/cloud/cluster/v1/cluster_pb.js

Lines changed: 37 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/qdrant/cloud/cluster/v1/cluster.proto

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,18 @@ enum ClusterConfigurationRebalanceStrategy {
553553
CLUSTER_CONFIGURATION_REBALANCE_STRATEGY_BY_COUNT_AND_SIZE = 3;
554554
}
555555

556+
// ClusterStorageTierConfigurationStorageTierType defines type of storage tier
557+
enum ClusterStorageConfigurationStorageTierType {
558+
// No storage tier type is configured, same as BASE
559+
CLUSTER_STORAGE_CONFIGURATION_STORAGE_TIER_TYPE_UNSPECIFIED = 0;
560+
// Base pre-configured type
561+
CLUSTER_STORAGE_CONFIGURATION_STORAGE_TIER_TYPE_COST_OPTIMISED = 1;
562+
// Mid tier pre-configured type
563+
CLUSTER_STORAGE_CONFIGURATION_STORAGE_TIER_TYPE_BALANCED = 2;
564+
// Most performant pre-configured type
565+
CLUSTER_STORAGE_CONFIGURATION_STORAGE_TIER_TYPE_PERFORMANCE = 3;
566+
}
567+
556568
// A ClusterConfiguration represents the configuration of a cluster.
557569
message ClusterConfiguration {
558570
// Timestamp when the cluster configuration was last updated.
@@ -644,6 +656,8 @@ message ClusterConfiguration {
644656
// List of topologySpreadConstraints for this cluster in a hybrid cloud environment.
645657
// It is ignored for managed cloud clusters. This is an optional field
646658
repeated common.v1.TopologySpreadConstraint topology_spread_constraints = 25 [(buf.validate.field).repeated = {max_items: 10}];
659+
// Storage IOPS and Throughput configuration, defaults to COST_OPTIMISED storage configuration
660+
optional ClusterStorageConfiguration cluster_storage_configuration = 26;
647661
}
648662

649663
// DatabaseConfigurationLogLevel defines the supported logging levels for the
@@ -858,6 +872,14 @@ message Toleration {
858872
}];
859873
}
860874

875+
// ClusterStorageConfiguration defines Storage IOPS and Throughput configuration
876+
message ClusterStorageConfiguration {
877+
// Type of storage tier
878+
ClusterStorageConfigurationStorageTierType storage_tier_type = 1;
879+
// We might allow custom IOPS and Throughput values configuration in the future,
880+
// that's why ClusterStorageConfiguration is a separate message and not just a field
881+
}
882+
861883
// Defines the operational or transitional state of the Qdrant cluster.
862884
enum ClusterPhase {
863885
// The phase is unknown or not specified. Should not normally be used.

0 commit comments

Comments
 (0)