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

Add development script to quickly test VPA in kind cluster #7653

Open
omerap12 opened this issue Jan 3, 2025 · 1 comment · May be fixed by #7654
Open

Add development script to quickly test VPA in kind cluster #7653

omerap12 opened this issue Jan 3, 2025 · 1 comment · May be fixed by #7654
Assignees
Labels
area/vertical-pod-autoscaler kind/feature Categorizes issue or PR as related to a new feature.

Comments

@omerap12
Copy link
Member

omerap12 commented Jan 3, 2025

Which component are you using?:
/area vertical-pod-autoscaler

Is your feature request designed to solve a problem? If so describe the problem this feature should solve.:
Currently, setting up a local VPA instance for testing requires multiple manual steps that can be time-consuming and error-prone. When testing changes in a branch, users need to manually build the components, deploy them to their cluster, and configure the necessary dependencies. This process should be streamlined with automation.

Describe the solution you'd like.:
A development script that would:

  1. Build VPA components from the current branch
  2. Automatically load the built images into kind cluster using kind load docker-image
  3. Deploy metrics-server if not present
  4. Deploy VPA components with the correct image references for kind

The script should use kind as the target cluster and handle all the kind-specific requirements (like image loading) automatically. This would allow developers to quickly iterate on their changes with minimal manual intervention.

Describe any alternative solutions you've considered.:

Additional context.:
This would greatly simplify the local development workflow for VPA, especially since kind is a common choice for local Kubernetes development. The script would ensure that images are properly loaded into kind, which is a step that's often forgotten or done incorrectly.

@omerap12 omerap12 added the kind/feature Categorizes issue or PR as related to a new feature. label Jan 3, 2025
@adrianmoisey
Copy link
Member

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/vertical-pod-autoscaler kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants