diff --git a/kubernetes/elastic-helm/daemonset.yaml b/kubernetes/elastic-helm/daemonset.yaml index d5fab18413..d64b2150af 100644 --- a/kubernetes/elastic-helm/daemonset.yaml +++ b/kubernetes/elastic-helm/daemonset.yaml @@ -47,3 +47,22 @@ extraEnvs: configMap: create: false existingName: elastic-otelcol-agent-ds + +# kubeletstats additional rules for Node metrics +clusterRole: + create: true + rules: + - apiGroups: + - "" + resources: + - nodes/proxy + verbs: + - get + - apiGroups: + - "" + resources: + - nodes + verbs: + - get + - watch + - list