Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Scenarios for CreateExperiment API with New VPA Modes #1464

Open
shekhar316 opened this issue Jan 16, 2025 · 2 comments · May be fixed by #1467
Open

Test Scenarios for CreateExperiment API with New VPA Modes #1464

shekhar316 opened this issue Jan 16, 2025 · 2 comments · May be fixed by #1467
Assignees
Labels

Comments

@shekhar316
Copy link
Contributor

POST /createExperiment API

  • valid container experiment without experiment_type and mode=auto

  • valid container experiment without experiment_type and mode=recreate

  • valid container experiment with experiment_type and mode=auto

  • valid container experiment with experiment_type and mode=recreate

  • invalid namespace experiment with mode=auto

  • invalid namespace experiment with mode=recreate

  • invalid container experiment with experiment_type, target_cluster=remote and mode=recreate

  • invalid container experiment with experiment_type, target_cluster=remote and mode=auto

  • invalid container experiment without experiment_type, target_cluster=remote and mode=recreate

  • invalid container experiment without experiment_type, target_cluster=remote and mode=auto

@shekhar316 shekhar316 added the bug Something isn't working label Jan 16, 2025
@shekhar316 shekhar316 self-assigned this Jan 16, 2025
@shekhar316 shekhar316 added test and removed bug Something isn't working labels Jan 16, 2025
@shekhar316 shekhar316 added this to the Kruize 0.4 Release milestone Jan 16, 2025
@dinogun dinogun moved this to Todo in Monitoring Jan 16, 2025
@chandrams
Copy link
Contributor

@shekhar316 Also include tests for the supported / unsupported kubernetes object types with vpa

@shekhar316 shekhar316 linked a pull request Jan 21, 2025 that will close this issue
12 tasks
@shekhar316 shekhar316 moved this from Todo to Under Review in Monitoring Jan 21, 2025
@shekhar316
Copy link
Contributor Author

@chandrams Thanks for highlighting the case of an invalid Kubernetes object type. As per my discussion with Dino, we currently only support the deployment type. I’ve also added tests to cover the invalid object type scenario for both modes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Under Review
Development

Successfully merging a pull request may close this issue.

2 participants