集群配置:这里使用 nacos 来做集群管理
// 大概在 16 行
cluster:
# 这里改成使用 nacos
selector: ${SW_CLUSTER:standalone}
standalone:
nacos:
# Skywalking 在 nacos server 的服务名称
serviceName: ${SW_SERVICE_NAME:"SkyWalking_OAP_Cluster"}
# nacos server 的地址
hostPort: ${SW_CLUSTER_NACOS_HOST_PORT:localhost:8848}
# Nacos Configuration namespace
namespace: ${SW_CLUSTER_NACOS_NAMESPACE:"public"}
# Nacos auth username
username: ${SW_CLUSTER_NACOS_USERNAME:""}
password: ${SW_CLUSTER_NACOS_PASSWORD:""}
# Nacos auth accessKey
accessKey: ${SW_CLUSTER_NACOS_ACCESSKEY:""}
secretKey: ${SW_CLUSTER_NACOS_SECRETKEY:""}
nacos:
serviceName: ${SW_SERVICE_NAME:"SkyWalking_OAP_Cluster"}
hostPort: ${SW_CLUSTER_NACOS_HOST_PORT:192.168.1.193:18848}
# Nacos Configuration namespace
namespace: ${SW_CLUSTER_NACOS_NAMESPACE:"Skywalking"}
# Nacos auth username
username: ${SW_CLUSTER_NACOS_
文章来源地址https://www.toymoban.com/news/detail-521375.html
文章来源:https://www.toymoban.com/news/detail-521375.html
到了这里,关于skywalking9集群部署的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!