Skip to content

Wrong ClusterRoleBinding in monitoring.yaml #6558

@enricofranco

Description

@enricofranco

When installing monitoring.yaml, ClusterRole kube-state-metrics is bound to ServiceAccount kube-state-metrics in namespace kube-system [line 581] which may not exist. In fact, Prometheus fails to get some metrics because of missing permissions.

Easily solved by binding this role to ServiceAccount kube-state-metrics in namespace knative-monitoring, the one created at the beginning of the file.

I think it should be updated in the file or clearly stated in the doc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions