We already have an Integration of Rancher with Windows Active Directory. We have active directory users with custom roles. After the upgrade of the Rancher version from 2.5.5 to 2.6.13 and the Kubernetes version to v1.24.17, we are unable to view the Memory and CPU usage statistics when logged in using an AD user with a custom role. There was no issue for other Standard user.
I have added the below roles in the clusterRole and the usage statistics were visible .
- apiGroups:
- ""
resources:
- nodes
- pods
verbs:
- get
- list
- watch
- apiGroups:
-
metrics.k8s.io
resources:
- nodes
- pods
verbs:
- get
- list
- watch
But on the next day, the roles were removed automatically and the usage statistics were not visible. Anyone please help on this