Skip to content
Draft
Show file tree
Hide file tree
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
27 changes: 14 additions & 13 deletions charts/netdata/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,20 @@ Netdata is a comprehensive monitoring solution that requires specific access to

### Required Kubernetes RBAC Resources

| Resource | Verbs | Components & Descriptions |
|:-------------------|:-----------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| pods | get, list, watch | • **service discovery**: Used for discovering services. <br/>• **go.d/k8s_state**: Kubernetes state monitoring. <br/>• **netdata**: Used by cgroup-name.sh and get-kubernetes-labels.sh scripts. |
| services | get, list, watch | • **service discovery**: Used for discovering services. |
| configmaps | get, list, watch | • **service discovery**: Used for discovering services. |
| secrets | get, list, watch | • **service discovery**: Used for discovering services. |
| nodes | get, list, watch | • **go.d/k8s_state**: Kubernetes state monitoring. |
| nodes/metrics | get, list, watch | • **go.d/k8s_kubelet**: Used when querying Kubelet HTTPS endpoint. |
| nodes/proxy | get, list, watch | • **netdata**: Used by cgroup-name.sh when querying Kubelet /pods endpoint. |
| deployments (apps) | get, list, watch | • **go.d/k8s_state**: Kubernetes state monitoring. |
| cronjobs (batch) | get, list, watch | • **go.d/k8s_state**: Kubernetes state monitoring. |
| jobs (batch) | get, list, watch | • **go.d/k8s_state**: Kubernetes state monitoring. |
| namespaces | get | • **go.d/k8s_state**: Kubernetes state monitoring. <br/>• **netdata**: Used by cgroup-name.sh and get-kubernetes-labels.sh scripts. |
| Resource | Verbs | Components & Descriptions |
|:-----------------------|:-----------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| pods | get, list, watch | • **service discovery**: Used for discovering services. <br/>• **go.d/k8s_state**: Kubernetes state monitoring. <br/>• **netdata**: Used by cgroup-name.sh and get-kubernetes-labels.sh scripts. |
| services | get, list, watch | • **service discovery**: Used for discovering services. |
| configmaps | get, list, watch | • **service discovery**: Used for discovering services. |
| secrets | get, list, watch | • **service discovery**: Used for discovering services. |
| nodes | get, list, watch | • **go.d/k8s_state**: Kubernetes state monitoring. |
| nodes/metrics | get, list, watch | • **go.d/k8s_kubelet**: Used when querying Kubelet HTTPS endpoint. |
| nodes/proxy | get, list, watch | • **netdata**: Used by cgroup-name.sh when querying Kubelet /pods endpoint. |
| persistentvolumeclaims | get, list, watch | • **go.d/k8s_state**: Kubernetes state monitoring (PersistentVolumeClaim capacity). |
| deployments (apps) | get, list, watch | • **go.d/k8s_state**: Kubernetes state monitoring. |
| cronjobs (batch) | get, list, watch | • **go.d/k8s_state**: Kubernetes state monitoring. |
| jobs (batch) | get, list, watch | • **go.d/k8s_state**: Kubernetes state monitoring. |
| namespaces | get | • **go.d/k8s_state**: Kubernetes state monitoring. <br/>• **netdata**: Used by cgroup-name.sh and get-kubernetes-labels.sh scripts. |

</details>

Expand Down
1 change: 1 addition & 0 deletions charts/netdata/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ rules:
- "nodes" # used by go.d/k8s_state
- "nodes/metrics" # used by go.d/k8s_kubelet when querying Kubelet HTTPS endpoint
- "nodes/proxy" # used by netdata (cgroup-name.sh) when querying Kubelet /pods endpoint
- "persistentvolumeclaims" # used by go.d/k8s_state
verbs:
- "get"
- "list"
Expand Down
27 changes: 14 additions & 13 deletions templates/netdata-README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,20 @@ Netdata is a comprehensive monitoring solution that requires specific access to

### Required Kubernetes RBAC Resources

| Resource | Verbs | Components & Descriptions |
|:-------------------|:-----------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| pods | get, list, watch | • **service discovery**: Used for discovering services. <br/>• **go.d/k8s_state**: Kubernetes state monitoring. <br/>• **netdata**: Used by cgroup-name.sh and get-kubernetes-labels.sh scripts. |
| services | get, list, watch | • **service discovery**: Used for discovering services. |
| configmaps | get, list, watch | • **service discovery**: Used for discovering services. |
| secrets | get, list, watch | • **service discovery**: Used for discovering services. |
| nodes | get, list, watch | • **go.d/k8s_state**: Kubernetes state monitoring. |
| nodes/metrics | get, list, watch | • **go.d/k8s_kubelet**: Used when querying Kubelet HTTPS endpoint. |
| nodes/proxy | get, list, watch | • **netdata**: Used by cgroup-name.sh when querying Kubelet /pods endpoint. |
| deployments (apps) | get, list, watch | • **go.d/k8s_state**: Kubernetes state monitoring. |
| cronjobs (batch) | get, list, watch | • **go.d/k8s_state**: Kubernetes state monitoring. |
| jobs (batch) | get, list, watch | • **go.d/k8s_state**: Kubernetes state monitoring. |
| namespaces | get | • **go.d/k8s_state**: Kubernetes state monitoring. <br/>• **netdata**: Used by cgroup-name.sh and get-kubernetes-labels.sh scripts. |
| Resource | Verbs | Components & Descriptions |
|:-----------------------|:-----------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| pods | get, list, watch | • **service discovery**: Used for discovering services. <br/>• **go.d/k8s_state**: Kubernetes state monitoring. <br/>• **netdata**: Used by cgroup-name.sh and get-kubernetes-labels.sh scripts. |
| services | get, list, watch | • **service discovery**: Used for discovering services. |
| configmaps | get, list, watch | • **service discovery**: Used for discovering services. |
| secrets | get, list, watch | • **service discovery**: Used for discovering services. |
| nodes | get, list, watch | • **go.d/k8s_state**: Kubernetes state monitoring. |
| nodes/metrics | get, list, watch | • **go.d/k8s_kubelet**: Used when querying Kubelet HTTPS endpoint. |
| nodes/proxy | get, list, watch | • **netdata**: Used by cgroup-name.sh when querying Kubelet /pods endpoint. |
| persistentvolumeclaims | get, list, watch | • **go.d/k8s_state**: Kubernetes state monitoring (PersistentVolumeClaim capacity). |
| deployments (apps) | get, list, watch | • **go.d/k8s_state**: Kubernetes state monitoring. |
| cronjobs (batch) | get, list, watch | • **go.d/k8s_state**: Kubernetes state monitoring. |
| jobs (batch) | get, list, watch | • **go.d/k8s_state**: Kubernetes state monitoring. |
| namespaces | get | • **go.d/k8s_state**: Kubernetes state monitoring. <br/>• **netdata**: Used by cgroup-name.sh and get-kubernetes-labels.sh scripts. |

</details>

Expand Down
Loading