-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 vpa support #5352
Add vpa support #5352
Conversation
Kicked off a pipeline to generate the recording file though not sure if I did it right. |
AKS |
if self.context.get_enable_vpa(): | ||
if mc.workload_auto_scaler_profile is None: | ||
mc.workload_auto_scaler_profile = self.models.ManagedClusterWorkloadAutoScalerProfile() | ||
mc.workload_auto_scaler_profile.vertical_pod_autoscaler = self.models.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(enable=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check if mc.workload_auto_scaler_profile.vertical_pod_autoscaler is None?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated in the latest iteration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
[Release] Update index.json for extension [ aks-preview ] : https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1854690&view=results |
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
az aks create --enable-vpa
az aks update --enable-vpa
az
General Guidelines
azdev style <YOUR_EXT>
locally? (pip install azdev
required)python scripts/ci/test_index.py -q
locally?For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update
src/index.json
automatically.The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify
src/index.json
.