|
1 | 1 | --- |
2 | | -title: kbcli cluster create kafak2 |
| 2 | +title: kbcli cluster create oriol |
3 | 3 | --- |
4 | 4 |
|
5 | | -Create a kafak2 cluster. |
| 5 | +Create a oriol cluster. |
6 | 6 |
|
7 | 7 | ``` |
8 | | -kbcli cluster create kafak2 NAME [flags] |
| 8 | +kbcli cluster create oriol NAME [flags] |
9 | 9 | ``` |
10 | 10 |
|
11 | 11 | ### Examples |
12 | 12 |
|
13 | 13 | ``` |
14 | 14 | # Create a cluster with the default values |
15 | | - kbcli cluster create kafak2 |
| 15 | + kbcli cluster create oriol |
16 | 16 | |
17 | 17 | # Create a cluster with the specified cpu, memory and storage |
18 | | - kbcli cluster create kafak2 --cpu 1 --memory 2 --storage 10 |
| 18 | + kbcli cluster create oriol --cpu 1 --memory 2 --storage 10 |
19 | 19 | ``` |
20 | 20 |
|
21 | 21 | ### Options |
22 | 22 |
|
23 | 23 | ``` |
24 | | - --broker-heap string Kafka broker's jvm heap setting. (default "-XshowSettings:vm -XX:MaxRAMPercentage=100 -Ddepth=64") |
25 | | - --broker-replicas int The number of Kafka broker replicas for separated mode. Value range [1, 100]. (default 1) |
26 | | - --controller-heap string Kafka controller's jvm heap setting for separated mode (default "-XshowSettings:vm -XX:MaxRAMPercentage=100 -Ddepth=64") |
27 | | - --controller-replicas int The number of Kafka controller replicas for separated mode. Legal values [1, 3, 5]. (default 1) |
| 24 | + --availability-policy string The availability policy of cluster. Legal values [none, node, zone]. (default "node") |
28 | 25 | --cpu float CPU cores. Value range [0.5, 64]. (default 0.5) |
29 | | - --disable-exporter Enable or disable monitor. (default true) |
30 | 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") |
31 | 27 | --edit Edit the API resource before creating |
32 | | - -h, --help help for kafak2 |
| 28 | + --etcd.cluster string The patroni dependency etcd cluster name (default "etcd") |
| 29 | + --etcd.namespace string The patroni dependency etcd cluster namespace (default "default") |
| 30 | + -h, --help help for oriol |
| 31 | + --host-network-accessible Specify whether the cluster can be accessed from within the VPC. |
33 | 32 | --memory float Memory, the unit is Gi. Value range [0.5, 1000]. (default 0.5) |
34 | | - --meta-storage float Metadata Storage size, the unit is Gi. Value range [1, 10000]. (default 5) |
35 | | - --meta-storage-class string The StorageClass for Kafka Metadata Storage. |
36 | | - --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 | | - --monitor-enable Enable monitor for Kafka. (default true) |
38 | | - --monitor-replicas int The number of Kafka monitor replicas. Value range [1, 5]. (default 1) |
| 33 | + --mode string Legal values [standalone, replication]. (default "standalone") |
| 34 | + --monitor-enabled Enable or disable monitor. |
39 | 35 | --node-labels stringToString Node label selector (default []) |
40 | | - --node-port-enabled Whether NodePort service is enabled, default is false |
41 | 36 | -o, --output format Prints the output in the specified format. Allowed values: JSON and YAML (default yaml) |
42 | 37 | --pod-anti-affinity string Pod anti-affinity type, one of: (Preferred, Required) (default "Preferred") |
| 38 | + --publicly-accessible Specify whether the cluster can be accessed from the public internet. |
43 | 39 | --rbac-enabled Specify whether rbac resources will be created by client, otherwise KubeBlocks server will try to create rbac resources. |
44 | | - --replicas int The number of Kafka broker replicas for combined mode. Legal values [1, 3, 5]. (default 1) |
45 | | - --sasl-enable Enable authentication using SASL/PLAIN for Kafka. |
46 | | - --storage float Data Storage size, the unit is Gi. Value range [1, 10000]. (default 10) |
47 | | - --storage-class string The StorageClass for Kafka Data Storage. |
48 | | - --storage-enable Enable storage for Kafka. |
49 | | - --tenancy string Tenancy options, one of: (SharedNode, DedicatedNode) (default "SharedNode") |
| 40 | + --replicas int Value range [1, 5]. (default 1) |
| 41 | + --storage float Storage size, the unit is Gi. Value range [1, 10000]. (default 20) |
| 42 | + --storage-class-name string Storage class name of the data volume |
| 43 | + --tenancy string The tenancy of cluster. Legal values [SharedNode, DedicatedNode]. (default "SharedNode") |
50 | 44 | --termination-policy string The termination policy of cluster. Legal values [DoNotTerminate, Halt, Delete, WipeOut]. (default "Delete") |
51 | 45 | --tolerations strings Tolerations for cluster, such as "key=value:effect,key:effect", for example '"engineType=mongo:NoSchedule", "diskType:NoSchedule"' |
52 | 46 | --topology-keys stringArray Topology keys for affinity |
53 | | - --version string Cluster version. (default "kafka-3.3.2") |
| 47 | + --version string (default "orioledb-beta1") |
54 | 48 | ``` |
55 | 49 |
|
56 | 50 | ### Options inherited from parent commands |
|
0 commit comments