Open KojoRising opened 1 year ago
Hi @KojoRising, Thanks for trying out the probe.
Seems like labelSelector is empty.
Please take a look in sample example: https://github.com/litmuschaos/chaos-charts/blob/e4f5d12eb076608047dad8c3b09a51303f91feb5/workflows/sock-shop-promProbe/workflow.yaml#L375
What happened: I'm just trying to run a vanilla k8sProbe. I've done the simplest tests possible (checking for the presence/absence of a pod etc.), as well as just tried the "create" k8sProbe from the example docs. Please see error logs & yaml logs below:
CHAOSENGINE TEMPLATE
ERROR LOGS
What you expected to happen:
I just want to get a k8sProbe working without failure. As from the logs, the chaosengine is able to correctly see the small-interactive-ads-1 pod from the logs below. But then, the k8sProbe within the chaosengine is unable to recognize the same pod.
Where can this issue be corrected? (optional)
How to reproduce it (as minimally and precisely as possible): Run above chaos engine (but entire litmus setup will change the actual scenario).
Anything else we need to know?: