LiuTianyou commented on issue #2711: URL: https://github.com/apache/hertzbeat/issues/2711#issuecomment-2351642786
@zhzhy86 If you are already using Kubernetes Dashboard, you can use the same token you use to log in to Kubernetes Dashboard to configure monitoring. Or you can try to get a token and configure monitoring by following the steps below: ```shell kubectl create serviceaccount dashboard-admin -n kube-system kubectl create clusterrolebinding dashboard-admin --clusterrole=cluster-admin --serviceaccount=kube-system:dashboard-admin # This token will expire after 24 hours kubectl create token dashboard-admin -n kube-system --duration=24h ``` I tested in k3s v1.28.2 and was able to get the token and configure it in hertzebeat -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org For additional commands, e-mail: notifications-h...@hertzbeat.apache.org
