-
Notifications
You must be signed in to change notification settings - Fork 93
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
docker swarm #87
docker swarm #87
Conversation
docs/manual-CN/3.build-develop-and-administration/2.install/deploy-nebula-with-swarm.md
Show resolved
Hide resolved
docs/manual-CN/3.build-develop-and-administration/2.install/deploy-nebula-with-swarm.md
Show resolved
Hide resolved
|
||
## 集群负载均衡及高可用配置(可选) | ||
|
||
目前,Nebula Graph 的客户端(1.X)未提供负载均衡,而是随机选一个 `graphd` 服务连接。因此生产使用时需自行配置负载均衡和高可用。文档中的负载均衡和高可用仅为示例方案,您可以根据需要添加其他的第三方方案。 |
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.
graphd
服务 ==》 Query Service?
在 `haproxy.cfg` 文件加入以下内容: | ||
|
||
请根据您的 IP 地址与端口号进行配置。 |
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.
这两句话是啥关系?
docs/manual-CN/3.build-develop-and-administration/2.install/deploy-nebula-with-swarm.md
Show resolved
Hide resolved
docs/manual-CN/3.build-develop-and-administration/2.install/deploy-nebula-with-swarm.md
Show resolved
Hide resolved
docs/manual-CN/3.build-develop-and-administration/2.install/deploy-nebula-with-swarm.md
Show resolved
Hide resolved
auth_pass amber1 | ||
} | ||
virtual_ipaddress { | ||
# 虚拟 IP 为 192.168.1.99/24;绑定接口为 ens160;别名ens169:1,主备相同 |
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.
别名ens169:1,==》别名 ens169:1,
docs/manual-CN/3.build-develop-and-administration/2.install/keepalived.conf
Show resolved
Hide resolved
docs/manual-CN/3.build-develop-and-administration/2.install/keepalived.conf
Show resolved
Hide resolved
|
||
### 创建集群工作节点 | ||
|
||
根据 `docker swarm init` 命令的提示内容,创建 Swarm 集群的工作节点,在机器 `192.168.1.167`、`192.168.1.168` 上分别执行以下命令: |
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.
根据 docker swarm init
命令的提示内容
=>
根据 docker swarm init
命令返回信息中的提示,在 Swarm 集群中添加工作节点。
(步骤下方可提供一段关于本文示例的说明,这里只是举例,技术细节请再确认下)在本文的示例中,IP为192.168.1.166的机器作为管理节点,IP为192.168.1.167和192.168.1.168的机器将被设置为工作节点,设置命令如下。
|
||
### 配置 Docker Stack | ||
|
||
在管理节点上执行以下命令添加 Docker Stack 配置文件: |
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.
这个section有几个步骤,建议加上序号以明确执行顺序(虽然几个步骤之间可能调换执行顺序也可以,但明确一种路径更好),同时也能区分步骤主题和从属于本步骤的说明文字
No description provided.