File tree 1 file changed +4
-10
lines changed
docs/zh/02-install/09-advanced-config
1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -156,17 +156,15 @@ K8s 使用 macvlan CNI 时,在 rootns 下只能看到所有 POD 共用的一
156
156
该场景需要关闭默认的 ` Ingress` 资源获取,打开 ` Route` 资源获取。
157
157
158
158
采集器高级配置如下:
159
-
160
159
` ` ` yaml
161
- static-config :
160
+ static_config :
162
161
kubernetes-resources:
163
162
- name: ingresses
164
163
disabled: true
165
164
- name: routes
166
165
` ` `
167
166
168
167
ClusterRole 配置增加:
169
-
170
168
` ` ` yaml
171
169
rules:
172
170
- apiGroups:
@@ -184,15 +182,13 @@ ClusterRole 配置增加:
184
182
该场景下需要从 API 获取 ` ServiceRule` 资源。
185
183
186
184
采集器高级配置如下:
187
-
188
185
` ` ` yaml
189
- static-config :
186
+ static_config :
190
187
kubernetes-resources:
191
188
- name: servicerules
192
189
` ` `
193
190
194
191
ClusterRole 配置增加:
195
-
196
192
` ` ` yaml
197
193
rules:
198
194
- apiGroups:
@@ -210,9 +206,8 @@ ClusterRole 配置增加:
210
206
该场景下需要从 API 获取 ` CloneSet` 和 ` apps.kruise.io/StatefulSet` 资源。
211
207
212
208
采集器高级配置如下:
213
-
214
209
` ` ` yaml
215
- static-config :
210
+ static_config :
216
211
kubernetes-resources:
217
212
- name: clonesets
218
213
group: apps.kruise.io
@@ -225,7 +220,6 @@ ClusterRole 配置增加:
225
220
注意这里需要加上 Kubernetes 的 ` apps/StatefulSet` 。
226
221
227
222
ClusterRole 配置增加:
228
-
229
223
` ` ` yaml
230
224
- apiGroups:
231
225
- apps.kruise.io
@@ -271,4 +265,4 @@ helm install deepflow -n deepflow deepflow/deepflow-agent --create-namespace \
271
265
# ## 部署二进制模式 DeepFlow Agent
272
266
273
267
- 参考[传统服务器部署 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
You can’t perform that action at this time.
0 commit comments