When there is only a job in my kubernetes cluster, Weave Scope does not show the topology of the pod created by this job.
I have debugged the code and found that Scope only calculates the topology when cronJob exists. And looks like when there are more than one cronJob, job selector will register many times.
What you expected to happen?
When there is only a job in my kubernetes cluster, Weave Scope does not show the topology of the pod created by this job.
I have debugged the code and found that Scope only calculates the topology when cronJob exists. And looks like when there are more than one cronJob, job selector will register many times.
https://github.com/weaveworks/scope/blob/master/probe/kubernetes/reporter.go#L664
What happened?
How to reproduce it?
Anything else we need to know?
Versions:
Logs:
or, if using Kubernetes: