Skip to content

Commit 73890e2

Browse files
committed
fix bug
1 parent 0115e94 commit 73890e2

11 files changed

Lines changed: 300 additions & 316 deletions

addons

Submodule addons updated 3039 files

docs/user_docs/cli/kbcli_cluster_create.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,24 @@ kbcli cluster create [ClusterType] [flags]
5555

5656
* [kbcli cluster](kbcli_cluster.md) - Cluster command.
5757
* [kbcli cluster create apecloud-mysql](kbcli_cluster_create_apecloud-mysql.md) - Create a apecloud-mysql cluster.
58+
* [kbcli cluster create clickhouse](kbcli_cluster_create_clickhouse.md) - Create a clickhouse cluster.
5859
* [kbcli cluster create etcd](kbcli_cluster_create_etcd.md) - Create a etcd cluster.
60+
* [kbcli cluster create greptime](kbcli_cluster_create_greptime.md) - Create a greptime cluster.
5961
* [kbcli cluster create kafka](kbcli_cluster_create_kafka.md) - Create a kafka cluster.
62+
* [kbcli cluster create loki](kbcli_cluster_create_loki.md) - Create a loki cluster.
63+
* [kbcli cluster create milvus](kbcli_cluster_create_milvus.md) - Create a milvus cluster.
64+
* [kbcli cluster create minio](kbcli_cluster_create_minio.md) - Create a minio cluster.
6065
* [kbcli cluster create mongodb](kbcli_cluster_create_mongodb.md) - Create a mongodb cluster.
6166
* [kbcli cluster create mysql](kbcli_cluster_create_mysql.md) - Create a mysql cluster.
67+
* [kbcli cluster create oceanbase](kbcli_cluster_create_oceanbase.md) - Create a oceanbase cluster.
68+
* [kbcli cluster create orchestrator](kbcli_cluster_create_orchestrator.md) - Create a orchestrator cluster.
69+
* [kbcli cluster create polardbx](kbcli_cluster_create_polardbx.md) - Create a polardbx cluster.
6270
* [kbcli cluster create postgresql](kbcli_cluster_create_postgresql.md) - Create a postgresql cluster.
71+
* [kbcli cluster create pulsar](kbcli_cluster_create_pulsar.md) - Create a pulsar cluster.
6372
* [kbcli cluster create qdrant](kbcli_cluster_create_qdrant.md) - Create a qdrant cluster.
6473
* [kbcli cluster create rabbitmq](kbcli_cluster_create_rabbitmq.md) - Create a rabbitmq cluster.
6574
* [kbcli cluster create redis](kbcli_cluster_create_redis.md) - Create a redis cluster.
75+
* [kbcli cluster create victoria-metrics](kbcli_cluster_create_victoria-metrics.md) - Create a victoria-metrics cluster.
6676

6777
#### Go Back to [CLI Overview](cli.md) Homepage.
6878

docs/user_docs/cli/kbcli_cluster_create_apecloud-mysql.md

Lines changed: 23 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -21,37 +21,29 @@ kbcli cluster create apecloud-mysql NAME [flags]
2121
### Options
2222

2323
```
24-
--cpu float CPU cores. Value range [0.5, 64]. (default 0.5)
25-
--disable-exporter Enable or disable monitor. (default true)
26-
--dry-run string[="unchanged"] Must be "client", or "server". If with client strategy, only print the object that would be sent, and no data is actually sent. If with server strategy, submit the server-side request, but no data is persistent. (default "none")
27-
--edit Edit the API resource before creating
28-
--etcd.local.etcdctl-api string (default "3")
29-
--etcd.local.replicas int Value range [1, 3]. (default 3)
30-
--etcd.local.resources.storage string (default "20Gi")
31-
--etcd.local.service-version string (default "3.5.6")
32-
--etcd.mode string Legal values [serviceRef, local]. (default "local")
33-
--etcd.service-ref.cluster.component string (default "etcd")
34-
--etcd.service-ref.cluster.credential string
35-
--etcd.service-ref.cluster.name string
36-
--etcd.service-ref.cluster.port string (default "client")
37-
--etcd.service-ref.cluster.service string (default "headless")
38-
--etcd.service-ref.namespace string (default "default")
39-
--etcd.service-ref.service-descriptor string
40-
-h, --help help for apecloud-mysql
41-
--memory float Memory, the unit is Gi. Value range [0.5, 1000]. (default 0.5)
42-
--mode string Cluster topology mode. Legal values [standalone, raftGroup]. (default "standalone")
43-
--node-labels stringToString Node label selector (default [])
44-
-o, --output format Prints the output in the specified format. Allowed values: JSON and YAML (default yaml)
45-
--pod-anti-affinity string Pod anti-affinity type, one of: (Preferred, Required) (default "Preferred")
46-
--proxy-enabled Enable proxy or not.
47-
--replicas int The number of replicas, for standalone mode, the replicas is 1, for raftGroup mode, the default replicas is 3. Value range [1, 5]. (default 1)
48-
--storage float Storage size, the unit is Gi. Value range [1, 10000]. (default 20)
49-
--storage-class-name string Storage class name of the data volume
50-
--tenancy string Tenancy options, one of: (SharedNode, DedicatedNode) (default "SharedNode")
51-
--termination-policy string The termination policy of cluster. Legal values [DoNotTerminate, Delete, WipeOut]. (default "Delete")
52-
--tolerations strings Tolerations for cluster, such as "key=value:effect,key:effect", for example '"engineType=mongo:NoSchedule", "diskType:NoSchedule"'
53-
--topology-keys stringArray Topology keys for affinity
54-
--version string MySQL Service Version. (default "8.0.30")
24+
--availability-policy string The availability policy of cluster. Legal values [none, node, zone]. (default "node")
25+
--cpu float CPU cores. Value range [0.5, 64]. (default 0.5)
26+
--disable-exporter Enable or disable monitor. (default true)
27+
--dry-run string[="unchanged"] Must be "client", or "server". If with client strategy, only print the object that would be sent, and no data is actually sent. If with server strategy, submit the server-side request, but no data is persistent. (default "none")
28+
--edit Edit the API resource before creating
29+
-h, --help help for apecloud-mysql
30+
--host-network-accessible Specify whether the cluster can be accessed from within the VPC.
31+
--memory float Memory, the unit is Gi. Value range [0.5, 1000]. (default 0.5)
32+
--mode string Cluster topology mode. Legal values [standalone, raftGroup]. (default "standalone")
33+
--node-labels stringToString Node label selector (default [])
34+
-o, --output format Prints the output in the specified format. Allowed values: JSON and YAML (default yaml)
35+
--pod-anti-affinity string Pod anti-affinity type, one of: (Preferred, Required) (default "Preferred")
36+
--proxy-enabled Enable proxy or not.
37+
--publicly-accessible Specify whether the cluster can be accessed from the public internet.
38+
--rbac-enabled Specify whether rbac resources will be created by client, otherwise KubeBlocks server will try to create rbac resources.
39+
--replicas int The number of replicas, for standalone mode, the replicas is 1, for raftGroup mode, the default replicas is 3. Value range [1, 5]. (default 1)
40+
--storage float Storage size, the unit is Gi. Value range [1, 10000]. (default 20)
41+
--storage-class-name string Storage class name of the data volume
42+
--tenancy string The tenancy of cluster. Legal values [SharedNode, DedicatedNode]. (default "SharedNode")
43+
--termination-policy string The termination policy of cluster. Legal values [DoNotTerminate, Halt, Delete, WipeOut]. (default "Delete")
44+
--tolerations strings Tolerations for cluster, such as "key=value:effect,key:effect", for example '"engineType=mongo:NoSchedule", "diskType:NoSchedule"'
45+
--topology-keys stringArray Topology keys for affinity
46+
--version string Cluster version. (default "ac-mysql-8.0.30")
5547
```
5648

5749
### Options inherited from parent commands

docs/user_docs/cli/kbcli_cluster_create_etcd.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,13 @@ kbcli cluster create etcd NAME [flags]
3535
--pod-anti-affinity string Pod anti-affinity type, one of: (Preferred, Required) (default "Preferred")
3636
--replicas int The number of replicas, the default replicas is 3. Value range [1, 5]. (default 3)
3737
--storage float Data Storage size, the unit is Gi. Value range [1, 10000]. (default 10)
38+
--storage-class-name string The name of the StorageClass to use for data storage.
3839
--tenancy string Tenancy options, one of: (SharedNode, DedicatedNode) (default "SharedNode")
3940
--termination-policy string The termination policy of cluster. Legal values [DoNotTerminate, Delete, WipeOut]. (default "Delete")
4041
--tls-enable Enable TLS for etcd cluster
4142
--tolerations strings Tolerations for cluster, such as "key=value:effect,key:effect", for example '"engineType=mongo:NoSchedule", "diskType:NoSchedule"'
4243
--topology-keys stringArray Topology keys for affinity
44+
--version string etcd Service Version. (default "3.6.1")
4345
```
4446

4547
### Options inherited from parent commands

docs/user_docs/cli/kbcli_cluster_create_kafka.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ kbcli cluster create kafka NAME [flags]
3434
--memory float Memory, the unit is Gi. Value range [0.5, 1000]. (default 0.5)
3535
--meta-storage float Metadata Storage size, the unit is Gi. Value range [1, 10000]. (default 5)
3636
--meta-storage-class string The StorageClass for Kafka Metadata Storage.
37-
--mode string Mode for Kafka kraft cluster, 'combined' is combined Kafka controller and broker,'separated' is broker and controller running independently. Legal values [combined, separated]. (default "combined")
37+
--mode string Mode for Kafka kraft cluster, 'combined' is combined Kafka controller and broker,'separated' is broker and controller running independently. Legal values [combined, separated, withZookeeper-10]. (default "combined")
3838
--monitor-enable Enable monitor for Kafka. (default true)
3939
--monitor.limit.cpu float (default 0.5)
4040
--monitor.limit.memory float (default 1)
41-
--monitor.replicas int Number of replicas for the monitor component. Value range [1]. (default 1)
41+
--monitor.replicas float Number of replicas for the monitor component. Value range [1]. (default 1)
4242
--monitor.request.cpu float (default 0.1)
4343
--monitor.request.memory float (default 0.2)
4444
--node-labels stringToString Node label selector (default [])
@@ -47,6 +47,11 @@ kbcli cluster create kafka NAME [flags]
4747
--pod-anti-affinity string Pod anti-affinity type, one of: (Preferred, Required) (default "Preferred")
4848
--replicas int The number of Kafka broker replicas for combined mode. Legal values [1, 3, 5]. (default 1)
4949
--sasl-enable Enable authentication using SASL/PLAIN for Kafka.
50+
--sasl-scram-enable Enable authentication using SASL/SCRAM for Kafka.
51+
--sasl.enable Enable SASL authentication.
52+
--sasl.inter-broker-protocol string SASL mechanism used for inter-broker communication. Should be one of sasl.mechanisms. Legal values [PLAIN, SCRAM-SHA-256, SCRAM-SHA-512]. (default "PLAIN")
53+
--sasl.mechanisms stringArray Legal values [PLAIN, SCRAM-SHA-256, SCRAM-SHA-512].
54+
--sasl.use-kb-build-in-sasl Whether to use the built-in SASL server callback handler. (default true)
5055
--storage float Data Storage size, the unit is Gi. Value range [1, 10000]. (default 10)
5156
--storage-class string The StorageClass for Kafka Data Storage.
5257
--storage-enable Enable storage for Kafka.

docs/user_docs/cli/kbcli_cluster_create_mongodb.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ kbcli cluster create mongodb NAME [flags]
2828
-h, --help help for mongodb
2929
--hostnetwork string Legal values [enabled, disabled]. (default "enabled")
3030
--memory float Memory, the unit is Gi. Value range [0.5, 1000]. (default 0.5)
31-
--mode string Cluster topology mode. Legal values [standalone, replicaset]. (default "standalone")
31+
--mode string Cluster topology mode. Legal values [standalone, replicaset, sharding]. (default "standalone")
3232
--node-labels stringToString Node label selector (default [])
3333
-o, --output format Prints the output in the specified format. Allowed values: JSON and YAML (default yaml)
3434
--pod-anti-affinity string Pod anti-affinity type, one of: (Preferred, Required) (default "Preferred")
3535
--replicas int The number of replicas, for standalone mode, the replicas is 1, for replicaset mode, the default replicas is 3. Value range [1, 5]. (default 1)
36+
--shards int The number of shards, for sharding mode, the default shards is 3. Value range [1, 128]. (default 3)
3637
--storage float Storage size, the unit is Gi. Value range [1, 10000]. (default 20)
3738
--storage-class-name string Storage class name of the data volume
3839
--tenancy string Tenancy options, one of: (SharedNode, DedicatedNode) (default "SharedNode")
3940
--termination-policy string The termination policy of cluster. Legal values [DoNotTerminate, Delete, WipeOut]. (default "Delete")
4041
--tolerations strings Tolerations for cluster, such as "key=value:effect,key:effect", for example '"engineType=mongo:NoSchedule", "diskType:NoSchedule"'
4142
--topology-keys stringArray Topology keys for affinity
42-
--version string Cluster version. Legal values [8.0.8, 8.0.6, 8.0.4, 7.0.19, 7.0.16, 7.0.12, 6.0.22, 6.0.20, 6.0.16, 5.0.30, 5.0.28, 4.4.29, 4.2.24, 4.0.28]. (default "6.0.16")
4343
```
4444

4545
### Options inherited from parent commands

docs/user_docs/cli/kbcli_cluster_create_mysql.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@ kbcli cluster create mysql NAME [flags]
3333
--orchestrator.service-reference.endpoint string Endpoint name of the service reference, format: <host>:<port>
3434
-o, --output format Prints the output in the specified format. Allowed values: JSON and YAML (default yaml)
3535
--pod-anti-affinity string Pod anti-affinity type, one of: (Preferred, Required) (default "Preferred")
36-
--proxysql.cpu float (default 1)
37-
--proxysql.memory float Memory, the unit is Gi. (default 1)
38-
--proxysql.replicas int (default 1)
36+
--proxysql.cpu float Proxysql CPU cores. (default 1)
37+
--proxysql.memory float Proxysql Memory, the unit is Gi. (default 1)
38+
--proxysql.replicas int The number of replicas for Proxysql. (default 1)
3939
--replicas int The number of replicas. Value range [1, 5]. (default 1)
4040
--storage float Storage size, the unit is Gi. Value range [1, 10000]. (default 20)
4141
--tenancy string Tenancy options, one of: (SharedNode, DedicatedNode) (default "SharedNode")
4242
--termination-policy string The termination policy of cluster. Legal values [DoNotTerminate, Delete, WipeOut]. (default "Delete")
4343
--tolerations strings Tolerations for cluster, such as "key=value:effect,key:effect", for example '"engineType=mongo:NoSchedule", "diskType:NoSchedule"'
4444
--topology string Topology type of the serve. Note that under the orc/orc-proxysql topology, it is necessary to specify the Orchestrator cluster information. You should choose either orchestrator.cluster-service-selector or orchestrator.service-reference. This means that depending on your setup, you will configure one of these options to properly integrate with the Orchestrator service for managing your MySQL cluster. Legal values [semisync, semisync-proxysql, mgr, mgr-proxysql, orc, orc-proxysql]. (default "semisync")
4545
--topology-keys stringArray Topology keys for affinity
46-
--version string MySQL version Legal values [8.0.39, 8.0.38, 8.0.37, 8.0.36, 8.4.2, 8.4.1, 8.4.0, 5.7.44]. (default "8.0.39")
46+
--version string MySQL version Legal values [8.0.44, 8.0.41, 8.0.39, 8.0.38, 8.0.37, 8.0.36, 8.4.7, 8.4.3, 8.4.2, 8.4.1, 8.4.0, 5.7.44]. (default "8.0.39")
4747
```
4848

4949
### Options inherited from parent commands

docs/user_docs/cli/kbcli_cluster_create_rabbitmq.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ kbcli cluster create rabbitmq NAME [flags]
3131
--node-labels stringToString Node label selector (default [])
3232
-o, --output format Prints the output in the specified format. Allowed values: JSON and YAML (default yaml)
3333
--pod-anti-affinity string Pod anti-affinity type, one of: (Preferred, Required) (default "Preferred")
34-
--replicas int The number of replicas, for standalone mode, the replicas is 1, for replicaset mode, the default replicas is 3. Value range [1, 5]. (default 1)
34+
--replicas int The number of replicas, for standalone mode, the replicas is 1, for replicaset mode, the default replicas is 3. Value range [1, 5]. (default 3)
3535
--storage float Storage size, the unit is Gi. Value range [1, 10000]. (default 20)
3636
--storage-class-name string Storage class name of the data volume
3737
--tenancy string Tenancy options, one of: (SharedNode, DedicatedNode) (default "SharedNode")
3838
--termination-policy string The termination policy of cluster. Legal values [DoNotTerminate, Delete, WipeOut]. (default "Delete")
3939
--tolerations strings Tolerations for cluster, such as "key=value:effect,key:effect", for example '"engineType=mongo:NoSchedule", "diskType:NoSchedule"'
4040
--topology-keys stringArray Topology keys for affinity
41-
--version string Cluster version. Legal values [4.0.9, 3.13.7, 3.13.2, 3.12.14, 3.11.28, 3.10.25, 3.9.29, 3.8.14]. (default "3.13.7")
41+
--version string Cluster version. Legal values [4.2.1, 4.1.6, 4.0.9, 3.13.7, 3.12.14, 3.11.28, 3.10.25, 3.9.29, 3.8.34]. (default "3.13.7")
4242
```
4343

4444
### Options inherited from parent commands

0 commit comments

Comments
 (0)