Skip to content

Conversation

@alex-hunt-materialize
Copy link

@alex-hunt-materialize alex-hunt-materialize commented Jan 8, 2026

Description
Adds a new osDiskType enum field to the AKSNodeClass spec, with two variants:

  • EphemeralWithFallbackToManaged
    This is the default and matches the current behavior.
  • Managed
    This explicitly forces use of a managed disk, even if the instance type supports ephemeral disks large enough to be used as the OS disk.

Partially addresses #1247.
While this does not implement the suggested solution in that issue, it does provide a better alternative than creating a massive OS disk.

This also relates to #801, and conflicts with #1256.
I think that PR should be updated to instead use a field name such as osManagedDiskStorageAccountType to better match the storage profile field names.

How was this change tested?

  • New acceptance and E2E tests are included.
  • Manual testing in AKS was also performed.

Does this change impact docs?

  • Yes, PR includes docs updates
  • Yes, issue opened: #
  • No

Release Note

feat: support for choosing between ephemeral and managed OS Disk Type in AKSNodeClass

Adds a new `osDiskType` enum field to the AKSNodeClass spec, with two
variants:

* `EphemeralWithFallbackToManaged`
  This is the default and matches the current behavior.
* `Managed`
  This explicitly forces use of a managed disk, even if the instance
  type supports ephemeral disks large enough to be used as the OS disk.
@alex-hunt-materialize
Copy link
Author

@microsoft-github-policy-service agree company="Materialize"

@alex-hunt-materialize alex-hunt-materialize marked this pull request as ready for review January 12, 2026 14:50
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