未验证 提交 fd7044ec 编写于 作者: K kezhenxu94 提交者: GitHub

Merge pull request #3286 from wayilau/doc_fix1

Add cluster etcd config to cluster.md.
...@@ -10,6 +10,7 @@ with each other. ...@@ -10,6 +10,7 @@ with each other.
by using k8s native APIs to manage cluster. by using k8s native APIs to manage cluster.
- [Consul](#consul). Use Consul as backend cluster management implementor, to coordinate backend instances. - [Consul](#consul). Use Consul as backend cluster management implementor, to coordinate backend instances.
- [Nacos](#nacos). Use Nacos to coordinate backend instances. - [Nacos](#nacos). Use Nacos to coordinate backend instances.
- [Etcd](#etcd). Use Etcd to coordinate backend instances.
## Zookeeper coordinator ## Zookeeper coordinator
Zookeeper is a very common and wide used cluster coordinator. Set the **cluster** module's implementor Zookeeper is a very common and wide used cluster coordinator. Set the **cluster** module's implementor
...@@ -90,4 +91,16 @@ cluster: ...@@ -90,4 +91,16 @@ cluster:
serviceName: ${SW_SERVICE_NAME:"SkyWalking_OAP_Cluster"} serviceName: ${SW_SERVICE_NAME:"SkyWalking_OAP_Cluster"}
# Nacos cluster nodes, example: 10.0.0.1:8848,10.0.0.2:8848,10.0.0.3:8848 # Nacos cluster nodes, example: 10.0.0.1:8848,10.0.0.2:8848,10.0.0.3:8848
hostPort: ${SW_CLUSTER_NACOS_HOST_PORT:localhost:8848} hostPort: ${SW_CLUSTER_NACOS_HOST_PORT:localhost:8848}
```
## Etcd
Set the **cluster** module's implementor to **etcd** in
the yml to active.
```yaml
cluster:
etcd:
serviceName: ${SW_SERVICE_NAME:"SkyWalking_OAP_Cluster"}
#etcd cluster nodes, example: 10.0.0.1:2379,10.0.0.2:2379,10.0.0.3:2379
hostPort: ${SW_CLUSTER_ETCD_HOST_PORT:localhost:2379}
``` ```
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册