Skip to content

Commit

Permalink
chore: auto update kbcli user docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JashBook committed Dec 26, 2024
1 parent 56b47d3 commit 357a657
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 349 deletions.
Original file line number Diff line number Diff line change
@@ -1,41 +1,44 @@
---
title: kbcli cluster create etcd
title: kbcli cluster create minio
---

Create a etcd cluster.
Create a minio cluster.

```
kbcli cluster create etcd NAME [flags]
kbcli cluster create minio NAME [flags]
```

### Examples

```
# Create a cluster with the default values
kbcli cluster create etcd
kbcli cluster create minio
# Create a cluster with the specified cpu, memory and storage
kbcli cluster create etcd --cpu 1 --memory 2 --storage 10
kbcli cluster create minio --cpu 1 --memory 2 --storage 10
```

### Options

```
--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)
--disable-exporter Enable or disable monitor. (default true)
--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")
--edit Edit the API resource before creating
-h, --help help for etcd
-h, --help help for minio
--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 0.5)
--node-labels stringToString Node label selector (default [])
-o, --output format Prints the output in the specified format. Allowed values: JSON and YAML (default yaml)
--pod-anti-affinity string Pod anti-affinity type, one of: (Preferred, Required) (default "Preferred")
--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, the default replicas is 3. Value range [1, 5]. (default 3)
--storage float Data Storage size, the unit is Gi. Value range [1, 10000]. (default 10)
--tenancy string Tenancy options, one of: (SharedNode, DedicatedNode) (default "SharedNode")
--replicas int The number of replicas Value range [1, 5]. (default 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")
--tls-enable Enable TLS for etcd cluster
--tolerations strings Tolerations for cluster, such as "key=value:effect,key:effect", for example '"engineType=mongo:NoSchedule", "diskType:NoSchedule"'
--topology-keys stringArray Topology keys for affinity
```
Expand Down

This file was deleted.

67 changes: 0 additions & 67 deletions docs/user_docs/cli/kbcli_cluster_custom-ops_kafka-quota.md

This file was deleted.

74 changes: 0 additions & 74 deletions docs/user_docs/cli/kbcli_cluster_custom-ops_kafka-topic.md

This file was deleted.

Loading

0 comments on commit 357a657

Please sign in to comment.