-
Notifications
You must be signed in to change notification settings - Fork 13
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
azure: Allow selecting disk controller for the VM #517
Conversation
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.
Awesome, this is exactly what I was hoping for!
@jepio: Cool. It doesn't address the issue of setting NVMe support for our images though, but I couldn't see how it can be done - the DiskControllers stuff is not exposed in GalleryImageStorageProfile. Anyway, any hints how to test it, or were you able to see if it works? |
This stuff is underdocumented, it's through an under specified "features" field in the gallery specification.
This should translate to this change to the gallery template:
|
Oh yeah, I saw the Features field, but as you said, it's undocumented and my assumption was that it was about stuff like "GPU for AI" support. I'll update the PR. |
Updated, I have bumped the api version in the template too, so they match the api version used in code. I visually checked that the bump didn't require any other changes in the template. |
This bumps the Azure SDK version to v68.0.0 and the autorest to 0.9.23. The latter was done to avoid a warning about retracted version due to some token refresh issues. The compute API we updated to is still deprecated, but at least it provides settings for NVMe disk controllers to use when creating a VM.
We bumped API version of compute in Go code to 2022-08-01, and do the same for the template, since it's using compute resources.
47c3daa
to
996d446
Compare
Not even tested yet.
changelog/
directory (user-facing change, bug fix, security fix, update)