feat(aws-az-chaos): refactor the aws-az-chaos experiment to use elbv2…#54
Open
Guigui0812 wants to merge 2 commits intolitmuschaos:masterfrom
Open
feat(aws-az-chaos): refactor the aws-az-chaos experiment to use elbv2…#54Guigui0812 wants to merge 2 commits intolitmuschaos:masterfrom
Guigui0812 wants to merge 2 commits intolitmuschaos:masterfrom
Conversation
dc96894 to
496be5f
Compare
Author
|
elbv2 can't work because boto3 library enforces at least one subnet to be specified per Load Balancer (doc) |
c8835bb to
568b9aa
Compare
Refactor the aws-az-chaos experiment to use elbv2 in addition of elb classic from boto3. Fix kubernetes dependency to upgrade it to a newer version. Add an error message when using elbv2 in parallel mode as it can't work, boto3 enforces at least one subnet per load balancer. Also fix a missing ref in aws_az class. Signed-off-by: Guigui0812 <63466144+Guigui0812@users.noreply.github.com>
568b9aa to
9a2066e
Compare
Signed-off-by: Guigui0812 <63466144+Guigui0812@users.noreply.github.com>
Author
|
@ispeakc0de @ksatchit Hello guys ! Can you check this please ? |
ispeakc0de
approved these changes
Feb 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
… in addition of elb classic from boto3 + debug kubernetes dependency
What this PR does / why we need it:
This PR allows users to perform aws-az chaos on elbv2 with the boto3 library. The old feature with simple elb client was broken.
It also fixes issues with kubernetes and boto3 modules, such as wrong arguments or missing ones.
I updated okteto manifest as the tool has been upgraded, and I have test the experiment on a true AWS sandbox with EKS. Zone failure was successfully performed with and interval of 30s and a chaos duration of 30s.
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close that issue when PR gets merged): fixes #5387Special notes for your reviewer:
Checklist:
breaking-changestagrequires-upgradetag