litmuschaos / litmus

Litmus helps SREs and developers practice chaos engineering in a Cloud-native way. Chaos experiments are published at the ChaosHub (https://hub.litmuschaos.io). Community notes is at https://hackmd.io/a4Zu_sH4TZGeih-xCimi3Q
https://litmuschaos.io
Apache License 2.0
4.44k stars 697 forks source link

Add probe source part to kubernetes cmd properties of ChaosEngine manifest #4881

Open rogeriofbrito opened 2 months ago

rogeriofbrito commented 2 months ago

Proposed changes

Fixes the evaluation probe issue that occurs when source mode is enabled (probe executing inside a container). More details can be found in bellow referenced issue. Fix: https://github.com/litmuschaos/litmus/issues/4693

Probe executing in a k6 container after fix:

Screenshot 2024-09-12 at 16 52 08

Types of changes

What types of changes does your code introduce to Litmus? Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

Dependency

Special notes for your reviewer:

rogeriofbrito commented 2 months ago

The backend-checks pipeline step have indicated a problem with imports order in file ./chaoscenter/upgrade-agents/control-plane/versions/v0.0.0/manager.go, but this file wasn't modificated in this PR. How to proced in this case?

rogeriofbrito commented 1 month ago

@namkyu1999 I have updated the fix branch with the master branch. Could you approve the workflow to run the pipeline?