Skip to content
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

feat(vmcpu): added vmcpu resource and controller #24

Merged
merged 3 commits into from
Mar 21, 2024
Merged

Conversation

Isteb4k
Copy link
Contributor

@Isteb4k Isteb4k commented Mar 13, 2024

Description

Added VirtualMachineCPUModel (vmcpu) resource and controller
Refactored vmattachee - moved the disk/image/cpu-specific code from the vmattachee package (open for extensions, closed for modifications principle)

Why do we need it, and what problem does it solve?

PR provides ability to create virtual machines with the required virtual CPU model

What is the expected result?

Resources in cluster: virtualmachinecpumodel.virtualization.deckhouse.io
Controller works with this resource
Ability to bound vmcpu to virtual machine throw vm.spec.cpu.model

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

@Isteb4k Isteb4k force-pushed the feat/vmcpu branch 5 times, most recently from 6680c21 to 52b7da3 Compare March 14, 2024 11:12
@Isteb4k Isteb4k changed the title Feat/vmcpu feat(vmcpu): added vmcpu resource and controller Mar 14, 2024
@Isteb4k Isteb4k self-assigned this Mar 14, 2024
@Isteb4k Isteb4k force-pushed the feat/vmcpu branch 6 times, most recently from c99b495 to 4adbf43 Compare March 14, 2024 20:20
@Isteb4k Isteb4k marked this pull request as ready for review March 14, 2024 20:51
@Isteb4k Isteb4k force-pushed the feat/vmcpu branch 3 times, most recently from 86d7b42 to 8f6013b Compare March 14, 2024 22:31
Copy link
Member

@yaroslavborbat yaroslavborbat left a comment

Choose a reason for hiding this comment

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

you need to add a comparison of the cpumodel in vmchange pkg

crds/virtualmachine.yaml Outdated Show resolved Hide resolved
@Isteb4k Isteb4k force-pushed the feat/vmcpu branch 2 times, most recently from f729f9a to 421bf38 Compare March 20, 2024 10:16
@Isteb4k Isteb4k merged commit 1576d18 into main Mar 21, 2024
5 of 6 checks passed
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.

3 participants