Skip to content

2.0.0-RC1

Pre-release
Pre-release
Compare
Choose a tag to compare
@uditgaurav uditgaurav released this 05 Aug 17:30
· 12 commits to v2.0.x since this release
f67b15d
[Cherry Pick for v2.0.0-RC1] (#419)

* Chore(Azure): Update and Shift Azure instance stop chaos to master (#377)

* Chore(new_exp): Add Azure instance terminate chaos (#296)

* Chore(new_exp): Add Azure instance terminate chaos

Signed-off-by: udit <udit.gaurav@mayadata.io>

* Added support for multiple instance id in azure instance terminate| Added abortwatcher code for azure instance terminate experiment

Signed-off-by: Akash Shrivastava <akash@chaosnative.com>

* Fix minor filename issue

Signed-off-by: Akash Shrivastava <akash@chaosnative.com>

* Removed vendors

Signed-off-by: Akash Shrivastava <akash@chaosnative.com>

* Made changes as per suggestion in PR

Signed-off-by: Akash Shrivastava <akash@chaosnative.com>

* Changed instance status display logic to not use loop

* Reverted experiment.go values to default

Signed-off-by: Akash Shrivastava <akash@chaosnative.com>

* Improved logs

Signed-off-by: Akash Shrivastava <akash@chaosnative.com>

Co-authored-by: Udit Gaurav <35391335+uditgaurav@users.noreply.github.com>

* GCP VM Instance Stop Experiment (#388)

* Bootstrap project created; GCP compute engine library, context library and option library added

* VM instance status methods and VM instance operation methods added

* Defined types.go; removed default template code for chaoslib>litmus>vm-instance-stop>lib>vm-instance-stop.go and experiments>gcp>vm-instance-stop>experiment>vm-instance-stop.go

* updated function parameter names and varaible names in vm-instance-status.go

* vm-instance-stop experiment chaoslib methods PrepareGCPTerminateByName, injectChaosInSerialMode, injectChaosInParallelMode, and abortWatcher added

* AuxiliaryAppInfo field added in types.go and correspondingly in environment.go

* Modified function PrepareGCPTerminateByName identifier to PrepareVMTerminateByName

* Modified function PrepareVMTerminateByName to PrepareVMStop

* VMInstanceStop experiment added

* Added VMInstanceStop experiment to the main function

* engine.yaml, experiment.yaml, and rbac.yaml charts updated

* Corrected mount path in experiment.yaml

* Functionality for fetching secret files from Kubernetes secret volume for the purpose of auth added

* Updated engine.yaml chart

* Initialized default value for TOTAL_CHAOS_DURATION, CHAOS_INTERVAL, and RAMP_TIME in experiment.yaml

* Updated function VMInstanceStop GetENV and corresponding logs; Updated GetServiceAccountJSONFromSecret to return proper credentials

* removed default comments from experiment.go

* corrected yaml syntax in experiment.yaml

* renamed ChaosEngine name to gcp-vm-chaos in engine.yaml

* updated expirement description message in experiment.yaml

* Replaced logo for GCP and VM Instance Delete experiment

* terminate replaced to stop in a log in vm-instance-stop.go

* Updated comments in vm-instance-stop.go

* Updated comments in vm-instance-stop.go

* Updated comments in vm-instance-stop.go

* Removed attributes.yaml

* removed the charts directory

* comment added to VMInstanceStop function in vm-instance-stop.go

* AbortWatcherWithoutExit function call removed as it was called twice in vm-instance-stop.go

* Event generation of Result as Awaited shifted after SetResultUID function call in vm-instance-stop.go

* post chaos vm instance status log moved outside the loop

* test.yml updated

* VM_INSTANCE_NAME and INSTANCE_ZONE replaced with their plurals

* removed ActiveNodes from types.go

* ManagedNodegroup replaced by AutoScalingGroup

* added getFileContent function to get-credentials-json.go; implemented marshalling for creating json byte slice credentials

* Modified log statement in vm-instance-status.go

* Signing the commit for vm-instance-stop experiment

* renamed the experiment to gcp-vm-instance-stop

* Replaced the revert chaos status

* Replaced PreChaosNodeStatusCheck, PostChaosActiveNodeCountCheck, and getActiveNodeCount functions to nodes.go; updated the gcp-vm-instance-stop experiment for the same.

* Replaced PreChaosNodeStatusCheck, PostChaosActiveNodeCountCheck, and getActiveNodeCount functions to nodes.go; updated the ec2-terminate-by-id and ec2-terminate-by-tag.go experiments for the same.

* Implemented the WaitForDuration method for waiting through the chaos interval in serial and parallel mode

* Replaced Sequence with Zone in experiment log

* Updated error statement

* Removed redundant chaos setTarget

* error message updated

* Updated ramp time and chaos interval default values in environment.go

* Added default ramp time of 0 in environment.go

* cleaned unused dependencies

* removed unused go dependencies

Co-authored-by: Shubham Chaudhary <shubham.chaudhary@mayadata.io>
Co-authored-by: Udit Gaurav <35391335+uditgaurav@users.noreply.github.com>

* resolve conflict

Signed-off-by: udit <udit@chaosnative.com>

* Chore(Azure): Azure Instance Stop experiment (support for: virtual machine scale sets) (#403)

* Added support for virtual machine scale sets (for aks nodes)

Signed-off-by: Akash Shrivastava <akash@chaosnative.com>

* update branch on litmus-go

Signed-off-by: udit <udit@chaosnative.com>

Co-authored-by: Akash Shrivastava <akash@chaosnative.com>
Co-authored-by: Neelanjan Manna <neelanjanmanna@gmail.com>
Co-authored-by: Shubham Chaudhary <shubham.chaudhary@mayadata.io>