Skip to content

[Backport 2.14.1] feat: add cpu model dropdown for harvester REK2 cluster provisioning#17161

Open
a110605 wants to merge 1 commit intorancher:release-2.14from
a110605:backport_16724
Open

[Backport 2.14.1] feat: add cpu model dropdown for harvester REK2 cluster provisioning#17161
a110605 wants to merge 1 commit intorancher:release-2.14from
a110605:backport_16724

Conversation

@a110605
Copy link
Copy Markdown
Member

@a110605 a110605 commented Apr 8, 2026

Summary

Fixes #16724

Occurred changes and/or fixed issues

backport #17041 to release-2.14

Technical notes summary

Areas or cases that should be tested

Areas which could experience regressions

Screenshot/Video

Add CPU Model dropdown in harvester RKE2 provisioning create page

Screenshot 2026-04-08 at 5 36 03 PM

The VM created on harvester
Screenshot 2026-04-08 at 5 50 11 PM

Checklist

  • The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
  • The PR has a Milestone
  • The PR template has been filled out
  • The PR has been self reviewed
  • The PR has a reviewer assigned
  • The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
  • The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes
  • The PR has been reviewed in terms of Accessibility
  • The PR has considered, and if applicable tested with, the three Global Roles Admin, Standard User and User Base

@a110605 a110605 changed the title feat: add cpu model dropdown for harvester REK2 cluster provisioning [Backport 2.14] feat: add cpu model dropdown for harvester REK2 cluster provisioning Apr 8, 2026
@a110605 a110605 changed the title [Backport 2.14] feat: add cpu model dropdown for harvester REK2 cluster provisioning [Backport 2.14.1] feat: add cpu model dropdown for harvester REK2 cluster provisioning Apr 8, 2026
@rancher-ui-project-bot rancher-ui-project-bot bot added this to the v2.14.1 milestone Apr 8, 2026
@a110605 a110605 requested review from aalves08 and richard-cox April 8, 2026 10:16
Copy link
Copy Markdown
Member

@richard-cox richard-cox left a comment

Choose a reason for hiding this comment

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

Would you be able to fill in the template?

Would you also be able to provide the contents of that harvester-system/node-cpu-model-configuration configmap (saves me upgrading my local harvester)?


const modelEntries = Object.entries(cpuModelsData.models || {});

modelEntries.sort((a, b) => a[0].localeCompare(b[0]));
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

how come we sort modelEntries but not globalModels?

networks: this.$store.dispatch('cluster/request', { url: `${ url }/k8s.cni.cncf.io.network-attachment-definitions` }),
storageClass: this.$store.dispatch('cluster/request', { url: `${ url }/${ STORAGE_CLASS }es` }),
settings: this.$store.dispatch('cluster/request', { url: `${ url }/${ MANAGEMENT.SETTING }s` }),
cpuModelConfig: this.$store.dispatch('cluster/request', { url: `${ url }/${ CONFIG_MAP }s/harvester-system/node-cpu-model-configuration` }),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

if server-side pagination for config maps is ...

  • disabled - we're already fetching all config maps
  • enabled - we're fetching specific config maps, this one can just be added to that list

so in both cases we can avoid this request

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.

2 participants