Skip to content

Conversation

yaroslavborbat
Copy link
Member

@yaroslavborbat yaroslavborbat commented Aug 21, 2025

Description

Virtualization API Refactoring

Current State (v1alpha2) - Legacy

  • subresources/v1alpha2 marked as legacy
  • Will be deleted in future versions
  • Current endpoint: /apis/subresources.virtualization.deckhouse.io/v1alpha2/...

New State (v1alpha3)

  • Add new API subresources/v1alpha3
  • Add APIVirtualMachine resource that contains all VM subresources
  • New endpoint: /apis/subresources.virtualization.deckhouse.io/v1alpha3/namespaces/<namespace>/apivirtualmachines/<name>/<subresource>

deckhouse/3p-kubevirt#17

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

What is the expected result?

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.

Changelog entries

section: core
type: feature
summary: refactor virtualization-api. Mark subresources/v1alpha2 as legacy, add subresources/v1alpha3 with APIVirtualMachine resource that contains all subresources for virtual machine

@yaroslavborbat yaroslavborbat added this to the v0.25.0 milestone Aug 21, 2025
@yaroslavborbat yaroslavborbat force-pushed the refactor/virtualization-api branch 2 times, most recently from fc5043c to c984c88 Compare August 21, 2025 22:21
@yaroslavborbat yaroslavborbat changed the base branch from main to chore/lint-cli August 21, 2025 22:22
@yaroslavborbat yaroslavborbat marked this pull request as ready for review August 21, 2025 22:22
Base automatically changed from chore/lint-cli to main August 22, 2025 09:04
@yaroslavborbat yaroslavborbat force-pushed the refactor/virtualization-api branch 2 times, most recently from ed0b597 to e1f49e7 Compare August 22, 2025 09:06
@Isteb4k Isteb4k marked this pull request as draft August 26, 2025 09:14
@nevermarine nevermarine modified the milestones: v0.25.0, v0.26.0 Aug 29, 2025
@nevermarine nevermarine modified the milestones: v1.0.0, v1.1.0 Sep 11, 2025
@yaroslavborbat yaroslavborbat force-pushed the refactor/virtualization-api branch 2 times, most recently from 491e74c to 9bb8f59 Compare September 22, 2025 07:44
@yaroslavborbat yaroslavborbat force-pushed the refactor/virtualization-api branch from 13e2f62 to 6746924 Compare September 22, 2025 10:53
@yaroslavborbat yaroslavborbat changed the base branch from main to refactor/api/delete-generated-openapi-code-from-api September 22, 2025 10:54
@yaroslavborbat yaroslavborbat added the validation/skip/doc_changes Skip doc changes validation label Sep 22, 2025
@yaroslavborbat yaroslavborbat marked this pull request as ready for review September 22, 2025 15:56
Signed-off-by: Yaroslav Borbat <[email protected]>
@yaroslavborbat yaroslavborbat force-pushed the refactor/virtualization-api branch from 148ee39 to d9d4886 Compare September 22, 2025 15:57
@yaroslavborbat yaroslavborbat changed the title refactor: virtualization api feat(apiserver): Add new API subresources/v1alpha3 Sep 22, 2025
Base automatically changed from refactor/api/delete-generated-openapi-code-from-api to main September 24, 2025 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
validation/skip/doc_changes Skip doc changes validation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants