Resource utilization graphs in Tectonic Console may appear empty to users on initial login. This is due to rbac restrictions which prevent users from accessing the Prometheus service/endpoint. The following ClusterRole can be used to reveal the metrics:
kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1beta1 metadata: name: view-dashboard rules: - verbs: - proxy apiGroups: - '' resources: - endpoints - services resourceNames: - 'prometheus:9090'
After creating this role bind the role to a user or group object. Below is an example of binding this to a group called `users`. This group is not a default. The group may be different or you may need to bind this to only a user object.
Please sign in to leave a comment.