Skip to content
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

Fix doc format #281

Merged
merged 1 commit into from
Aug 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -309,16 +309,15 @@ K8s 使用 macvlan CNI 时,在 rootns 下只能看到所有 POD 共用的一
该场景需要关闭默认的 `Ingress` 资源获取,打开 `Route` 资源获取。

采集器高级配置如下:
```yaml

static_config:
kubernetes-resources:
- name: ingresses
disabled: true
- name: routes
```

ClusterRole 配置增加:
```yaml

rules:
- apiGroups:
- route.openshift.io
Expand All @@ -328,14 +327,13 @@ ClusterRole 配置增加:
- get
- list
- watch
```

#### OpenKruise

该场景下需要从 API 获取 `CloneSet` 和 `apps.kruise.io/StatefulSet` 资源。

采集器高级配置如下:
```yaml

static_config:
kubernetes-resources:
- name: clonesets
Expand All @@ -344,12 +342,11 @@ ClusterRole 配置增加:
group: apps
- name: statefulsets
group: apps.kruise.io
```

注意这里需要加上 Kubernetes 的 `apps/StatefulSet`。

ClusterRole 配置增加:
```yaml

- apiGroups:
- apps.kruise.io
resources:
Expand All @@ -359,7 +356,6 @@ ClusterRole 配置增加:
- get
- list
- watch
```

# 以进程形态部署 DeepFlow Agent

Expand Down
Loading