-
Notifications
You must be signed in to change notification settings - Fork 19
更新 deepfliw-ctl 使用方式与 docker 部署时存在问题 #708
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
base: main
Are you sure you want to change the base?
Conversation
1、优化 Docker部署建议:补充不推荐使用Docker部署DeepFlow Server的具体原因说明 2、完善 CLI 工具指引:更新 deepflow-ctl 的操作指引
1、优化 agent、agent-group、agent-group-config 三者之间的关联说明 2、更改 deepflow-ctl 在 v6.6.3 版本后的使用方式
|
||
```bash | ||
deepflow-ctl agent-group list your-agent-group | ||
``` | ||
|
||
## agent-group-config 常用操作 | ||
|
||
参考上述 agent 默认配置,摘取其中你想修改的部分,创建一个 `your-agent-group-config.yaml` 文件并填写 agent 配置参数,注意必须包含 `vtap_group_id`: | ||
参考上述 agent-group-config [默认配置](https://github.com/deepflowio/deepflow/blob/main/server/agent_config/template.yaml),摘取其中需要修改的部分输出至 `your-agent-group-config.yaml` 文件,例如: |
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.
引用文档更好?
../configuration/agent/
``` | ||
|
||
### 创建 agent-group-config | ||
|
||
```bash | ||
deepflow-ctl agent-group-config create -f your-agent-group-config.yaml | ||
deepflow-ctl agent-group-config create <agent-group ID> -f your-agent-group-config.yaml |
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.
agent-group-id 吧,在命令行中这样连着写更紧凑
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.
命令行中用小写也更合适
1、前置不推荐使用 docker 部署的原因
2、去除 v6.5 deepflow-ctl 的使用方式(目前已接近 v7.0 LTS 版本,无需提供过旧的使用方式)