Skip to content

添加 agent 通过 lb 连接 server 的方式 #691

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
2 changes: 2 additions & 0 deletions docs/zh/04-best-practice/03-special-environment-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,10 @@ rmdir /sys/fs/cgroup/memory/deepflow-agent

## agent 与 server 集群间网络受限需通过 lb 连接


当 deepflow-agent 需要经由外部负载均衡器访问 deepflow-server 时,需在 LB 上配置两个负载均衡监听器转发至 deepflow-server 的 NodePort Service(其中 30033 端口用于 agent 注册,30035 端口用于 agent 数据上报),并在 [agent-group-config](./../configuration/agent/) 中添加 LB 的地址和端口。具体配置方法如下:


> 注:除网络隔离等特殊情况外,不建议使用 LB 接入方案。默认机制下,agent 会根据数据量自动选择 server 节点,实现动态负载均衡;而通过 LB 接入时,数据上报路径将受限于 LB 的负载策略,可能会导致 server 节点负载不均。

```yaml
Expand Down
Loading