diff --git a/Makefile b/Makefile index ad646de86..7000110e3 100644 --- a/Makefile +++ b/Makefile @@ -220,7 +220,8 @@ build-kbcli-embed-chart: helmtool fetch-addons create-kbcli-embed-charts-dir \ build-single-kbcli-embed-chart.mongodb-cluster \ build-single-kbcli-embed-chart.llm-cluster \ build-single-kbcli-embed-chart.xinference-cluster \ - build-single-kbcli-embed-chart.elasticsearch-cluster + build-single-kbcli-embed-chart.elasticsearch-cluster \ + build-single-kbcli-embed-chart.qdrant-cluster .PHONY: kbcli kbcli: build-checks kbcli-fast ## Build bin/kbcli. diff --git a/addons b/addons index fb74da337..7f5923fe5 160000 --- a/addons +++ b/addons @@ -1 +1 @@ -Subproject commit fb74da337f42d85e956c90562281d999baec78ef +Subproject commit 7f5923fe535e859af8fe8c55cf4b8cc1931c3320 diff --git a/docs/user_docs/cli/kbcli_cluster_create.md b/docs/user_docs/cli/kbcli_cluster_create.md index 3c7b98631..792e71446 100644 --- a/docs/user_docs/cli/kbcli_cluster_create.md +++ b/docs/user_docs/cli/kbcli_cluster_create.md @@ -168,6 +168,7 @@ kbcli cluster create [NAME] [flags] * [kbcli cluster create mongodb](kbcli_cluster_create_mongodb.md) - Create a mongodb cluster. * [kbcli cluster create mysql](kbcli_cluster_create_mysql.md) - Create a mysql cluster. * [kbcli cluster create postgresql](kbcli_cluster_create_postgresql.md) - Create a postgresql cluster. +* [kbcli cluster create qdrant](kbcli_cluster_create_qdrant.md) - Create a qdrant cluster. * [kbcli cluster create redis](kbcli_cluster_create_redis.md) - Create a redis cluster. * [kbcli cluster create xinference](kbcli_cluster_create_xinference.md) - Create a xinference cluster. diff --git a/docs/user_docs/cli/kbcli_cluster_create_qdrant.md b/docs/user_docs/cli/kbcli_cluster_create_qdrant.md index 5424d4264..5747c55a8 100644 --- a/docs/user_docs/cli/kbcli_cluster_create_qdrant.md +++ b/docs/user_docs/cli/kbcli_cluster_create_qdrant.md @@ -22,19 +22,19 @@ kbcli cluster create qdrant NAME [flags] ``` --availability-policy string The availability policy of cluster. Legal values [none, node, zone]. (default "node") - --cpu float CPU cores. Value range [0.5, 64]. (default 0.5) + --cpu float CPU cores. Value range [0.5, 64]. (default 1) + --disable-exporter Enable or disable monitor. (default true) -h, --help help for qdrant --host-network-accessible Specify whether the cluster can be accessed from within the VPC. --memory float Memory, the unit is Gi. Value range [0.5, 1000]. (default 2) - --mode string Cluster topology mode. Legal values [standalone, replication]. (default "standalone") - --monitoring-interval int The monitoring interval of cluster, 0 is disabled, the unit is second. Value range [0, 60]. --publicly-accessible Specify whether the cluster can be accessed from the public internet. --rbac-enabled Specify whether rbac resources will be created by client, otherwise KubeBlocks server will try to create rbac resources. - --replicas int The number of replicas, for standalone mode, the replicas is 1, for replication mode, the default replicas is 2. Value range [1, 5]. (default 1) + --replicas int The number of replicas. Value range [1, 16]. (default 1) + --service-version string The version of Qdrant. (default "1.10.1") --storage float Storage size, the unit is Gi. Value range [1, 10000]. (default 20) + --storage-class-name string Storage class name of the data volume --tenancy string The tenancy of cluster. Legal values [SharedNode, DedicatedNode]. (default "SharedNode") --termination-policy string The termination policy of cluster. Legal values [DoNotTerminate, Halt, Delete, WipeOut]. (default "Delete") - --version string Cluster version. ``` ### Options inherited from parent commands diff --git a/pkg/cluster/builtin_charts.go b/pkg/cluster/builtin_charts.go index 37faed407..9ed43c35e 100644 --- a/pkg/cluster/builtin_charts.go +++ b/pkg/cluster/builtin_charts.go @@ -76,6 +76,8 @@ var ( xinferenceChart embed.FS //go:embed charts/elasticsearch-cluster.tgz elasticsearchChart embed.FS + //go:embed charts/qdrant-cluster.tgz + qdrantChart embed.FS ) var builtinClusterTypes = map[ClusterType]bool{} @@ -139,6 +141,12 @@ func init() { name: "elasticsearch-cluster.tgz", alias: "", }, + + "qdrant": { + chartFS: qdrantChart, + name: "qdrant-cluster.tgz", + alias: "", + }, } for k, v := range embedChartConfigs { diff --git a/pkg/cluster/charts/apecloud-mysql-cluster.tgz b/pkg/cluster/charts/apecloud-mysql-cluster.tgz index 8ab44c412..74eca4f8f 100644 Binary files a/pkg/cluster/charts/apecloud-mysql-cluster.tgz and b/pkg/cluster/charts/apecloud-mysql-cluster.tgz differ diff --git a/pkg/cluster/charts/mongodb-cluster.tgz b/pkg/cluster/charts/mongodb-cluster.tgz index 0f178749b..a94eb21e3 100644 Binary files a/pkg/cluster/charts/mongodb-cluster.tgz and b/pkg/cluster/charts/mongodb-cluster.tgz differ diff --git a/pkg/cluster/charts/mysql-cluster.tgz b/pkg/cluster/charts/mysql-cluster.tgz index 43cab7ce1..215be7e67 100644 Binary files a/pkg/cluster/charts/mysql-cluster.tgz and b/pkg/cluster/charts/mysql-cluster.tgz differ diff --git a/pkg/cluster/charts/postgresql-cluster.tgz b/pkg/cluster/charts/postgresql-cluster.tgz index 4ba8e231e..43d409724 100644 Binary files a/pkg/cluster/charts/postgresql-cluster.tgz and b/pkg/cluster/charts/postgresql-cluster.tgz differ diff --git a/pkg/cluster/charts/qdrant-cluster.tgz b/pkg/cluster/charts/qdrant-cluster.tgz new file mode 100644 index 000000000..6963e736b Binary files /dev/null and b/pkg/cluster/charts/qdrant-cluster.tgz differ diff --git a/pkg/cluster/charts/xinference-cluster.tgz b/pkg/cluster/charts/xinference-cluster.tgz index 1cdbaeba2..e1121d4b6 100644 Binary files a/pkg/cluster/charts/xinference-cluster.tgz and b/pkg/cluster/charts/xinference-cluster.tgz differ