Skip to content

Commit 2631d84

Browse files
author
jianchang
authored
Merge pull request #270 from deepflowio/update-doc
Fix config name
2 parents c28c37f + 6bb1e35 commit 2631d84

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

docs/zh/02-install/09-advanced-config/02-agent-advanced-config.md

+4-10
Original file line numberDiff line numberDiff line change
@@ -156,17 +156,15 @@ K8s 使用 macvlan CNI 时,在 rootns 下只能看到所有 POD 共用的一
156156
该场景需要关闭默认的 `Ingress` 资源获取,打开 `Route` 资源获取。
157157

158158
采集器高级配置如下:
159-
160159
```yaml
161-
static-config:
160+
static_config:
162161
kubernetes-resources:
163162
- name: ingresses
164163
disabled: true
165164
- name: routes
166165
```
167166

168167
ClusterRole 配置增加:
169-
170168
```yaml
171169
rules:
172170
- apiGroups:
@@ -184,15 +182,13 @@ ClusterRole 配置增加:
184182
该场景下需要从 API 获取 `ServiceRule` 资源。
185183

186184
采集器高级配置如下:
187-
188185
```yaml
189-
static-config:
186+
static_config:
190187
kubernetes-resources:
191188
- name: servicerules
192189
```
193190

194191
ClusterRole 配置增加:
195-
196192
```yaml
197193
rules:
198194
- apiGroups:
@@ -210,9 +206,8 @@ ClusterRole 配置增加:
210206
该场景下需要从 API 获取 `CloneSet``apps.kruise.io/StatefulSet` 资源。
211207

212208
采集器高级配置如下:
213-
214209
```yaml
215-
static-config:
210+
static_config:
216211
kubernetes-resources:
217212
- name: clonesets
218213
group: apps.kruise.io
@@ -225,7 +220,6 @@ ClusterRole 配置增加:
225220
注意这里需要加上 Kubernetes 的 `apps/StatefulSet`
226221

227222
ClusterRole 配置增加:
228-
229223
```yaml
230224
- apiGroups:
231225
- apps.kruise.io
@@ -271,4 +265,4 @@ helm install deepflow -n deepflow deepflow/deepflow-agent --create-namespace \
271265
### 部署二进制模式 DeepFlow Agent
272266

273267
- 参考[传统服务器部署 DeepFlow Agent](../legacy-host/),但无需创建 Domain
274-
- 修改 agent 配置文件 `/etc/deepflow-agent/deepflow-agent.yaml``kubernetes-cluster-id` 填写上一步获取的 ID
268+
- 修改 agent 配置文件 `/etc/deepflow-agent/deepflow-agent.yaml``kubernetes-cluster-id` 填写上一步获取的 ID

0 commit comments

Comments
 (0)