-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
skywalking v9.3: no data in k8s service #10230
Comments
The demo.skywalking.apache.org is using this showcase without change. So, generally, showcase should be good. From the logs, this should be key
Maybe your k8s is too old? |
Thanks so much for your quick reply. |
We are using 1.23.12-gke.1600 at Google Cloud, and everything works. Also, we tested AWS EKS, it works well too. |
If you check the k8s website, 1.22 is the oldest version, I am afraid. |
What is the vendor of your k8s? Maybe you could ask them why they show differently from us. |
We install k8s cluster by RKE in rancher v2.6,I will test KinD in our environment. |
I meet the same prolem. |
@geniuslc11 KIND Is OK ?? |
I also encountered this problem, and finally found out that the clusterRole was missing during install. I tried to fix it. apache/skywalking-helm#111. but I still find that oap often throws this exception. And at least found that the service data is incomplete. I tried to debug this code KubernetesServices.list() got the complete service list. I'm now confused as to where could be the problem. The strange thing is that some services have it, and some services don't. opentelemetry-collector:0.72.0 Can you give me some ideas, let me continue to investigate this problem. @wu-sheng @kezhenxu94 |
You could try showcase, and compare the version and deployment difference. |
Sorry, I didn't find it and continue to throws this exception. But the service data is indeed incomplete.
I'll switch versions and give it a try. thx. |
Including versions of apl components, otel collector was breaking many times. |
The problem of missing service is due to cache wrong, independent of |
Two reasons:
|
@innerpeacez ,so I need upgrade the skywalking version to v9.5? when will skywalking v9.5 be released? |
@innerpeacez BTW,my skywalking OAP is intalled by binary package in centos 7,not depolyed in K8S |
@geniuslc11 If you want to deploy sw in k8s, it is also possible to deploy (9.3.0|9.4.0) with the master branch https://github.com/apache/skywalking-kubernetes. Of course, this bug #10568 in (9.3.0|9.4.0) has not been fixed. |
Search before asking
Apache SkyWalking Component
OAP server (apache/skywalking)
What happened
Hi skywalking team,
Recently I am researching the new features in skywalking v9.3,and found it has datas in cluster but no data in service when monitoring k8s node and endpoints, and found some error messages in OAP logs,please help to fix this issue,thanks.
I used showcase configurations to monitor it.
k8s version :1.20.* and 1.21.*
otel collector version: I tried version 0.50.0 and 0.68.0 etc, all failed.
What you expected to happen
there should collecting datas in k8s service.
How to reproduce
steps refered by link https://skywalking.apache.org/docs/main/v9.3.0/en/setup/backend/backend-k8s-monitoring/ and https://github.com/apache/skywalking-showcase/tree/main/deploy/platform/kubernetes/feature-kubernetes-monitor
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: