Skip to content

Commit 1ab90dc

Browse files
authored
fix: etcd null params (#602)
Co-authored-by: loomts <loomts@users.noreply.github.com>
1 parent 695fce0 commit 1ab90dc

14 files changed

Lines changed: 12 additions & 6 deletions

docs/user_docs/cli/kbcli_cluster_create_etcd.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ kbcli cluster create etcd NAME [flags]
2121
### Options
2222

2323
```
24+
--client-service.node-port int Optional, if clientService type is NodePort, by default and for convenience, the Kubernetes control plane will allocate a port from a range (default: 30000-32767).
25+
--client-service.port int The port on which the service will listen. (default 2379)
26+
--client-service.role string Role of the service within the cluster. (default "leader")
2427
--cpu float CPU cores. Value range [0.5, 64]. (default 0.5)
2528
--disable-exporter Enable or disable monitor. (default true)
2629
--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")
@@ -29,8 +32,6 @@ kbcli cluster create etcd NAME [flags]
2932
--memory float Memory, the unit is Gi. Value range [0.5, 1000]. (default 0.5)
3033
--node-labels stringToString Node label selector (default [])
3134
-o, --output format Prints the output in the specified format. Allowed values: JSON and YAML (default yaml)
32-
--peer-service.enabled Enable peer service (no need to enable for single cluster).
33-
--peer-service.type string Service type for etcd peers, default peer service for single cluster use headless ClusterIP. Valid option is LoadBalancer, will support NodePort in the future. Legal values [ClusterIP, LoadBalancer]. (default "LoadBalancer")
3435
--pod-anti-affinity string Pod anti-affinity type, one of: (Preferred, Required) (default "Preferred")
3536
--replicas int The number of replicas, the default replicas is 3. Value range [1, 5]. (default 3)
3637
--storage float Data Storage size, the unit is Gi. Value range [1, 10000]. (default 10)

docs/user_docs/cli/kbcli_cluster_create_mongodb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ kbcli cluster create mongodb NAME [flags]
3939
--termination-policy string The termination policy of cluster. Legal values [DoNotTerminate, Delete, WipeOut]. (default "Delete")
4040
--tolerations strings Tolerations for cluster, such as "key=value:effect,key:effect", for example '"engineType=mongo:NoSchedule", "diskType:NoSchedule"'
4141
--topology-keys stringArray Topology keys for affinity
42-
--version string Cluster version. Legal values [8.0.4, 7.0.16, 7.0.12, 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")
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ kbcli cluster create mysql NAME [flags]
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"'
44-
--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, orc, orc-proxysql]. (default "server")
44+
--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
4646
--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")
4747
```

docs/user_docs/cli/kbcli_cluster_create_rabbitmq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ kbcli cluster create rabbitmq NAME [flags]
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 [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.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")
4242
```
4343

4444
### Options inherited from parent commands

pkg/cluster/charts/etcd.tgz

-347 Bytes
Binary file not shown.

pkg/cluster/charts/kafka.tgz

0 Bytes
Binary file not shown.

pkg/cluster/charts/mongodb.tgz

12 Bytes
Binary file not shown.

pkg/cluster/charts/mysql.tgz

3 Bytes
Binary file not shown.

pkg/cluster/charts/postgresql.tgz

0 Bytes
Binary file not shown.

pkg/cluster/charts/qdrant.tgz

1 Byte
Binary file not shown.

0 commit comments

Comments
 (0)