-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: update kbcli cluster create, yaml, and monitoring docs in release-1.0 #8729
docs: update kbcli cluster create, yaml, and monitoring docs in release-1.0 #8729
Conversation
michelle-0808
commented
Dec 30, 2024
- Updated the kbcli cluster create cli command examples
- Updated the creating cluster yaml examples
- Added ApeCloud MySQL, MySQL, PostgreSQL, Redis examples for creating PodMonitor
- Deleted "enabledLogs" field in the monitoring docs. The "enabledLogs" field in other docs will be deleted in the future.
...blocks-for-apecloud-mysql/cluster-management/create-and-connect-an-apecloud-mysql-cluster.md
Outdated
Show resolved
Hide resolved
docs/user_docs/kubeblocks-for-kafka/cluster-management/create-a-kafka-cluster.md
Outdated
Show resolved
Hide resolved
@@ -107,69 +107,77 @@ KubeBlocks supports creating two types of Redis clusters: Standalone and Replica | |||
|
|||
<TabItem value="kubectl" label="kubectl" default> | |||
|
|||
KubeBlocks implements a `Cluster` CRD to define a cluster. Here is an example of creating a Standalone. | |||
KubeBlocks implements a `Cluster` CRD to define a cluster. Here is an example of creating a Replcation. KubeBlocks also supports creating a Redis cluster in other modes. You can refer to the examples provided in the [GitHub repository](https://github.com/apecloud/kubeblocks-addons/tree/main/examples/redis). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replication here refers to ?
@@ -135,8 +135,6 @@ spec: | |||
componentSpecs: | |||
- name: postgresql | |||
componentDefRef: postgresql |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
componentDefRef
is deprecated since v1.0. pls check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
componentDefRef --> componentDef
```bash | ||
kbcli cluster create mycluster --cluster-definition apecloud-mysql --set replicas=3 --topology-keys null --namespace demo | ||
``` | ||
If you only have one node for deploying a RaftGroup Cluster, you can configure the cluster affinity by setting `--pod-anti-afffinity`, `--tolerations`, and `--topology-keys` when creating a RaftGroup Cluster. But you should note that for a production environment, it is not recommended to deploy all replicas on one node, which may decrease the cluster availability. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Provide an example.
| `spec.componentSpecs.replicas` | It specifies the number of replicas of the component. | | ||
| `spec.componentSpecs.resources` | It specifies the resource requirements of the component. | | ||
| `spec.terminationPolicy` | It is the policy of cluster termination. Valid values are `DoNotTerminate`, `Delete`, `WipeOut`. For the detailed definition, you can refer to [Termination Policy](./delete-kafka-cluster.md#termination-policy). | | ||
| `spec.clusterDef` | It specifies the name of the ClusterDefinition to use when creating a Cluster. **Note: DO NOT UPDATE THIS FIELD**. The value must be must be `kafaka` to create a Kafka Cluster. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kafaka => kafka
/cherry-pick release-1.0-beta |
🤖 says: cherry pick action finished successfully 🎉! |