You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The KubeObjectsCollector takes as input a DIAGNOSTIC_KUBEOBJECTS_LIST environment variable, consisting of a space-separated list of <namespace>/<kind> pairs. For each pair, it should run kubectl describe on for the specified resource in the specified namespace.
Instead, it runs kubectl describe pod every time. In other words, the kind (second part of each pair) is ignored.
To Reproduce
Run Periscope and check the uploaded data in the storage account.
See the data for kube-system_pod_<podname> (for every pod in kube-system).
Notice that there are duplicate sets of exactly the same data for kube-system_deployment_<podname> and kube-system_service_<podname>.
Expected behavior
The data for kube-system_deployment_<xxx> should contain descriptions of the deployments.
The data for kube-system_service_<xxx> should contain descriptions of the services.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: [e.g. iOS]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
The
KubeObjectsCollector
takes as input aDIAGNOSTIC_KUBEOBJECTS_LIST
environment variable, consisting of a space-separated list of<namespace>/<kind>
pairs. For each pair, it should runkubectl describe
on for the specified resource in the specified namespace.Instead, it runs
kubectl describe pod
every time. In other words, the kind (second part of each pair) is ignored.To Reproduce
kube-system_pod_<podname>
(for every pod inkube-system
).kube-system_deployment_<podname>
andkube-system_service_<podname>
.Expected behavior
The data for
kube-system_deployment_<xxx>
should contain descriptions of the deployments.The data for
kube-system_service_<xxx>
should contain descriptions of the services.Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: