litmuschaos / litmus-go

Apache License 2.0
66 stars 118 forks source link

Litmus does not consider appKind when filtering the target pod for an experiment #679

Closed MichaelMorrisEst closed 6 months ago

MichaelMorrisEst commented 8 months ago

Is this a BUG REPORT or FEATURE REQUEST?

BUG REPORT

What happened: When running a pod-delete exxperiement with "deployment" selected for "App Kind", the experiment deletes any pod with the specified label instead of only considering pods from deployments for deletion.

What you expected to happen: Only pods from the selected "App Kind" to be considered for the experiement

How to reproduce it (as minimally and precisely as possible): Deploy an application which contains both a stateful set and a deployment. Run the pod-delete experiment with label that is common to pods in the stateful set and deployment

Anything else we need to know?: See https://github.com/litmuschaos/litmus/issues/3400 for further details, which was created in litmus repo instead of litmus-go