File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed
docs/zh/02-install/09-advanced-config Expand file tree Collapse file tree 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 共用的一
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
168167ClusterRole 配置增加:
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
194191ClusterRole 配置增加:
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
227222ClusterRole 配置增加:
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
You can’t perform that action at this time.
0 commit comments