Skip to content
Snippets Groups Projects
  • Saverio Proto's avatar
    e47243b4
    metrics-server: enable access to nodes/stats · e47243b4
    Saverio Proto authored
    Without this access the logs of metrics-server will show the following error line:
    ```
    unable to fully scrape metrics from source kubelet_summary:k8s-1: unable to fetch metrics from Kubelet k8s-1 (10.8.10.14): request failed - "403 Forbidden", response: "Forbidden (user=system:serviceaccount:kube-system:metrics-server, verb=get, resource=nodes, subresource=stats)",
    ```
    and `kubectl top nodes` will give no results
    e47243b4
    History
    metrics-server: enable access to nodes/stats
    Saverio Proto authored
    Without this access the logs of metrics-server will show the following error line:
    ```
    unable to fully scrape metrics from source kubelet_summary:k8s-1: unable to fetch metrics from Kubelet k8s-1 (10.8.10.14): request failed - "403 Forbidden", response: "Forbidden (user=system:serviceaccount:kube-system:metrics-server, verb=get, resource=nodes, subresource=stats)",
    ```
    and `kubectl top nodes` will give no results