Skip to content

feat(aws-az-chaos): refactor the aws-az-chaos experiment to use elbv2…#54

Open
Guigui0812 wants to merge 2 commits intolitmuschaos:masterfrom
Guigui0812:feat/aws-az-chaos-v2
Open

feat(aws-az-chaos): refactor the aws-az-chaos experiment to use elbv2…#54
Guigui0812 wants to merge 2 commits intolitmuschaos:masterfrom
Guigui0812:feat/aws-az-chaos-v2

Conversation

@Guigui0812
Copy link

… 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 #5387

Special notes for your reviewer:

Checklist:

  • Fixes #5387
  • PR messages has document related information
  • Labelled this PR & related issue with breaking-changes tag
  • PR messages has breaking changes related information
  • Labelled this PR & related issue with requires-upgrade tag
  • PR messages has upgrade related information
  • Commit has unit tests
  • Commit has integration tests
  • E2E run Required for the changes

@Guigui0812
Copy link
Author

elbv2 can't work because boto3 library enforces at least one subnet to be specified per Load Balancer (doc)

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>
@Guigui0812 Guigui0812 force-pushed the feat/aws-az-chaos-v2 branch from 568b9aa to 9a2066e Compare January 16, 2026 18:41
Signed-off-by: Guigui0812 <63466144+Guigui0812@users.noreply.github.com>
@Guigui0812
Copy link
Author

@ispeakc0de @ksatchit Hello guys ! Can you check this please ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants