Skip to content

更新 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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

1473371932
Copy link
Collaborator

1、前置不推荐使用 docker 部署的原因
2、去除 v6.5 deepflow-ctl 的使用方式(目前已接近 v7.0 LTS 版本,无需提供过旧的使用方式)

1473371932 added 2 commits May 7, 2025 16:19
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` 文件,例如
Copy link
Member

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agent-group-id 吧,在命令行中这样连着写更紧凑

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

命令行中用小写也更合适

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants