You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@hertzbeat.apache.org by "Figure43 (via GitHub)" <gi...@apache.org> on 2024/09/13 06:19:21 UTC

[I] [Question] K8S 部署的hertzbeat新增Kubernets监控测试连接失败 [hertzbeat]</h1><pre> Figure43 opened a new issue, #2711: URL: https://github.com/apache/hertzbeat/issues/2711 ### Question ![image](https://github.com/user-attachments/assets/f50f24c7-c063-429a-8bd1-f56d995ba976) 环境: Kubernetes:v1.28 hertzbeat:1.6.0 在监控中心添加监控K8S 无法连接,按照 使用指南中的 方法二获取的Token -- 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-unsubscribe@hertzbeat.apache.org.apache.org For queries about this service, please contact Infrastructure at: users@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscribe@hertzbeat.apache.org For additional commands, e-mail: notifications-help@hertzbeat.apache.org </pre><hr/> <h2>Re: [I] [Question] <title> K8S 部署的hertzbeat新增Kubernets监控测试连接失败 [hertzbeat]</h2> <b>Posted by "LiuTianyou (via GitHub)" <gi...@apache.org>.</b><hr/><pre> LiuTianyou commented on issue #2711: URL: https://github.com/apache/hertzbeat/issues/2711#issuecomment-2351654080 please refer to https://github.com/apache/hertzbeat/issues/2096 to modify the monitoring template -- 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-unsubscribe@hertzbeat.apache.org For queries about this service, please contact Infrastructure at: users@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscribe@hertzbeat.apache.org For additional commands, e-mail: notifications-help@hertzbeat.apache.org </pre><hr/> <h2>Re: [I] [Question] <title> K8S 部署的hertzbeat新增Kubernets监控测试连接失败 [hertzbeat]</h2> <b>Posted by "LiuTianyou (via GitHub)" <gi...@apache.org>.</b><hr/><pre> LiuTianyou commented on issue #2711: URL: https://github.com/apache/hertzbeat/issues/2711#issuecomment-2351640818 @Figure43 Hi, please make sure the apiServer port is correct and open, the hertzbeat and apiServer networks are interconnected. If you are already using Kubernetes Dashboard, you can use the same token you use to log in to Kubernetes Dashboard to configure monitoring. -- 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-unsubscribe@hertzbeat.apache.org For queries about this service, please contact Infrastructure at: users@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscribe@hertzbeat.apache.org For additional commands, e-mail: notifications-help@hertzbeat.apache.org </pre><hr/> <h2>Re: [I] [Question] <title> K8S 部署的hertzbeat新增Kubernets监控测试连接失败 [hertzbeat]</h2> <b>Posted by "Figure43 (via GitHub)" <gi...@apache.org>.</b><hr/><pre> Figure43 closed issue #2711: [Question] <title> K8S 部署的hertzbeat新增Kubernets监控测试连接失败 URL: https://github.com/apache/hertzbeat/issues/2711 -- 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-unsubscribe@hertzbeat.apache.org For queries about this service, please contact Infrastructure at: users@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscribe@hertzbeat.apache.org For additional commands, e-mail: notifications-help@hertzbeat.apache.org </pre><hr/> <h2>Re: [I] [Question] <title> K8S 部署的hertzbeat新增Kubernets监控测试连接失败 [hertzbeat]</h2> <b>Posted by "LiuTianyou (via GitHub)" <gi...@apache.org>.</b><hr/><pre> 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-unsubscribe@hertzbeat.apache.org For queries about this service, please contact Infrastructure at: users@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscribe@hertzbeat.apache.org For additional commands, e-mail: notifications-help@hertzbeat.apache.org </pre><hr/> <h2>Re: [I] [Question] <title> K8S 部署的hertzbeat新增Kubernets监控测试连接失败 [hertzbeat]</h2> <b>Posted by "zhzhy86 (via GitHub)" <gi...@apache.org>.</b><hr/><pre> zhzhy86 commented on issue #2711: URL: https://github.com/apache/hertzbeat/issues/2711#issuecomment-2348157972 同上问题,我用的是K3S v1.29 -- 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-unsubscribe@hertzbeat.apache.org For queries about this service, please contact Infrastructure at: users@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscribe@hertzbeat.apache.org For additional commands, e-mail: notifications-help@hertzbeat.apache.org </pre><hr/> </body> </html>