Skip to content

Conversation

@shekhar316
Copy link
Contributor

@shekhar316 shekhar316 commented Apr 3, 2025

Description

This PR introduces support for creating additional experiments to simulate error conditions and evaluate how VPA and Kruize handle them. Key enhancements include:

  • Adds -a flag (CREATE_ALL_EXPERIMENTS=1) to enable the creation of all experiments, including error scenarios.
  • Allows testing of dry-run API support for experiment validation.
  • Automatically creates experiments in namespaces demo-quota-violation and demo-limitrange-violation when -a is used.
  • Applies predefined LimitRange and NamespaceQuota manifests to simulate resource constraints.

Type of change

  • Bug fix
  • New feature
  • Docs update
  • Breaking change (What changes might users need to make in their application due to this PR?)
  • Requires DB changes

How has this been tested?

On Resource Hub cluster. Resource Hub, Kind

Test Configuration

  • Kubernetes clusters tested on: Openshift, Kind

Checklist 🎯

  • Followed coding guidelines
  • Comments added
  • Dependent changes merged
  • Documentation updated
  • Tests added or updated

Image used for testing: quay.io/rh-ee-shesaxen/autotune:dryrun
Related PR to be merged: kruize/autotune#1529

Signed-off-by: Shekhar Saxena <shekhar.happy77@gmail.com>
Signed-off-by: Shekhar Saxena <shekhar.happy77@gmail.com>
Signed-off-by: Shekhar Saxena <shekhar.happy77@gmail.com>
@shekhar316 shekhar316 changed the title Adding VPA Experiments to Simulate Error Conditions Add Support for Simulating Error Conditions and Handling by VPA & Kruize Apr 3, 2025
@shekhar316 shekhar316 marked this pull request as ready for review April 3, 2025 07:01
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.

1 participant