Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions en_US/advanced/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,11 @@ cluster.etcd.node_ttl = 1m
```

### Autocluster based on kubernetes

The [EMQX Kubernetes Operator](https://docs.emqx.com/en/emqx-operator/latest/) helps you quickly create and manage EMQX clusters on a Kubernetes environment quickly, greatly simplifying the EMQX cluster deployment and management process by turning deployment and management efforts into a low-cost, labeled, repeatable job.

If you want to deploy and manage EMQX by yourself, you can still use Kubernetes API for node discovery and auto clustering. To use this feature, you need first to create RBAC for the EMQX Pod to allow EMQX to get cluster node information from the Kubernetes APIServer via the endpoints resource. On how to configure, see [Using RBAC Authorization](https://kubernetes.io/docs/reference/access-authn-authz/rbac/).

Automatically discover and create clusters based on [Kubernetes](https://kubernetes.io/):

```bash
Expand Down
4 changes: 4 additions & 0 deletions zh_CN/advanced/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,10 @@ cluster.etcd.node_ttl = 1m

### 基于 kubernetes 自动集群

[EMQX Kubernetes Operator](https://docs.emqx.com/zh/emqx-operator/latest/) 可以帮您快速在 Kubernetes 的环境中创建和管理 EMQX 集群,极大简化了 EMQX 集群的部署和管理流程,将部署和管理变为一种低成本、标注化、可复用的工作。

如果你希望自行部署和管理 EMQX,依然可以通过 Kubernetes API 进行节点发现和自动集群。如希望使用此功能,需要先为 EMQX Pod 配置 RBAC,允许 EMQX 通过 endpoints 资源从 Kubernetes APIServer 获取集群节点信息,具体配置步骤,请参考 [使用 RBAC 鉴权](https://kubernetes.io/zh-cn/docs/reference/access-authn-authz/rbac/)。

[Kubernetes](https://kubernetes.io/) 下自动发现并创建集群:

```bash
Expand Down