Skip to content

Use the Machine Type Selector table - Azure#7768

Merged
kubermatic-bot merged 2 commits intokubermatic:mainfrom
ahmadhamzh:7755-Advanced-Machine-Type-Selector-Azure
Feb 11, 2026
Merged

Use the Machine Type Selector table - Azure#7768
kubermatic-bot merged 2 commits intokubermatic:mainfrom
ahmadhamzh:7755-Advanced-Machine-Type-Selector-Azure

Conversation

@ahmadhamzh
Copy link
Contributor

@ahmadhamzh ahmadhamzh commented Jan 13, 2026

What this PR does / why we need it:
Frontend / UI

  • Refactored the Azure machine type selector to use a table-based UI for better readability.
  • Introduced tabs to categorize machines into "GPU Supported" and "Standard"

Backend / API

  • Updated the sizes endpoint to rely exclusively on the SKU client.

Which issue(s) this PR fixes:
Fixes #7755 #7605

What type of PR is this?
/kind design

Does this PR introduce a user-facing change? Then add your Release Note here:

Introduced a tabbed, searchable table for Azure machines with categorized GPU support and optimized SKU-based data retrieval.

Documentation:

TBD

@kubermatic-bot kubermatic-bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. do-not-merge/docs-needed Indicates that a PR should not merge because it's missing one of the documentation labels. do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. sig/api Denotes a PR or issue as being assigned to SIG API. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jan 13, 2026
@ahmadhamzh
Copy link
Contributor Author

/retest

@ahmadhamzh ahmadhamzh force-pushed the 7755-Advanced-Machine-Type-Selector-Azure branch from 1b1bcb7 to 35cab25 Compare February 9, 2026 13:56
@kubermatic-bot kubermatic-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Feb 9, 2026
@ahmadhamzh ahmadhamzh changed the title WIP Use the Machine Type Selector table - Azure Use the Machine Type Selector table - Azure Feb 9, 2026
@kubermatic-bot kubermatic-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. docs/tbd Denotes a PR that needs documentation (change) that will be done later. and removed do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. do-not-merge/docs-needed Indicates that a PR should not merge because it's missing one of the documentation labels. do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Feb 9, 2026
@ahmadhamzh ahmadhamzh force-pushed the 7755-Advanced-Machine-Type-Selector-Azure branch from 35cab25 to cadb028 Compare February 9, 2026 14:18
vm.ResourceDiskSizeInMB = safeInt(cap.Value)
}
if *cap.Name == "MemoryGB" {
vm.MemoryInMB = safeInt(cap.Value) * 1024
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wanted to double check that Smaller VM's if values are returned like in floating number this method would fail?

 what if value is greater then 1 but still fractional?                                                                          

  strconv.Atoi("0.75")  → error → 0
  strconv.Atoi("1.75")  → error → 0
  strconv.Atoi("3.5")   → error → 0
  strconv.Atoi("4.0")   → error → 0   

I assume all values are returned as strict "int" values in which it will be able to parse then correctly.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

im not sure so maybe it's better to fix that.

@KhizerRehan
Copy link
Contributor

KhizerRehan commented Feb 10, 2026

Please try to keep one issue per PR. This helps when discussion or backporting is needed (e.g. #7605). if it’s not an issue, please mark it resolved and i will remove unhold.

@KhizerRehan
Copy link
Contributor

/approve
/lgtm

@kubermatic-bot kubermatic-bot added the lgtm Indicates that a PR is ready to be merged. label Feb 10, 2026
@kubermatic-bot
Copy link
Contributor

LGTM label has been added.

DetailsGit tree hash: b6bf52a9d12e04af2c9a7d952c3b1312e15aa997

@kubermatic-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: KhizerRehan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubermatic-bot kubermatic-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 10, 2026
@KhizerRehan
Copy link
Contributor

/hold

@kubermatic-bot kubermatic-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 10, 2026
@ahmadhamzh ahmadhamzh force-pushed the 7755-Advanced-Machine-Type-Selector-Azure branch from cadb028 to 17fe4ec Compare February 10, 2026 12:13
@kubermatic-bot kubermatic-bot removed the lgtm Indicates that a PR is ready to be merged. label Feb 10, 2026
@ahmadhamzh ahmadhamzh force-pushed the 7755-Advanced-Machine-Type-Selector-Azure branch from 17fe4ec to 8100c4d Compare February 10, 2026 12:50
@KhizerRehan
Copy link
Contributor

/unhold
/lgtm

@kubermatic-bot kubermatic-bot added lgtm Indicates that a PR is ready to be merged. and removed do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Feb 11, 2026
@kubermatic-bot
Copy link
Contributor

LGTM label has been added.

DetailsGit tree hash: 5a95559171463ada07f1a800dd030a46535942f8

@kubermatic-bot kubermatic-bot merged commit 13eef33 into kubermatic:main Feb 11, 2026
15 checks passed
@kubermatic-bot kubermatic-bot added this to the KKP 2.30 milestone Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. docs/tbd Denotes a PR that needs documentation (change) that will be done later. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/api Denotes a PR or issue as being assigned to SIG API. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Advanced Machine Type Selector for Azure

3 participants