Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-46277

GA: Support declarative VirtualMachine management with instance types

XMLWordPrintable

    • cnv-instancetype-status-revisionName
    • Product / Portfolio Work
    • Hide
      • MUST allow for the declarative management of VirtualMachines
      • MUST be backwardly compatible with previous VirtualMachine API
      • MUST retain all existing VirtualMachine lifecycle behaviour when using instance types and preferences
      • MUST allow users to switch between instance types easily
      • MUST allow users to switch between instance type revisions easily
      • MUST have tier 1 functional tests
      Show
      MUST allow for the declarative management of VirtualMachines MUST be backwardly compatible with previous VirtualMachine API MUST retain all existing VirtualMachine lifecycle behaviour when using instance types and preferences MUST allow users to switch between instance types easily MUST allow users to switch between instance type revisions easily MUST have tier 1 functional tests
    • Green
    • Done
    • 0% To Do, 0% In Progress, 100% Done
    • dev-ready, doc-ready
    • Hide

      2025-06-02:
      CNV-61236 is not a blocker, only documentation remains...

      Show
      2025-06-02: CNV-61236 is not a blocker, only documentation remains...
    • Yes

      Goal

      At present a VirtualMachine using instance types and/or preferences will have runtime derived data such as the name of a ControllerRevision capturing the state of each resource mutated into the core spec during submission.

      This breaks declarative management of VirtualMachines as an owner has no way of pre-populating these runtime derived values and will always see changes made to the spec of their VirtualMachine after submission.

      This design proposal aims to enable declarative management of VirtualMachines using instance types and/or preferences by using status to track runtime derived data while retaining all existing behavior and lifecycle support of a VirtualMachine using an instance type and/or preference.

      User Stories

      • As a VirtualMachine owner I want to declaratively manage my VirtualMachines using instance types and/or preferences
      • As a VirtualMachine owner I want existing VirtualMachine lifecycle features to continue to work such as snapshot and restore
      • As a VirtualMachine owner I want an easy to use mechanism for switching between instance types and preferences

      Non-Requirements

      • Deduplication of instance type and preference ControllerRevisions
      • A new instancetype API group version to v1beta2, all of the API changes actually land in the core v1 API group.

      Notes

          1.
          upstream roadmap issue Sub-task Closed Normal Unassigned
          2.
          upstream design Sub-task Closed Normal Unassigned
          3.
          upstream documentation Sub-task Closed Normal Unassigned
          4.
          upgrade consideration Sub-task Closed Normal Unassigned
          5.
          CEE/PX summary presentation Sub-task Closed Normal Dominik Holler
          6.
          test plans in polarion Sub-task Closed Normal Unassigned
          7.
          automated tests Sub-task Closed Normal Unassigned
          8.
          downstream documentation merged Sub-task Closed Normal Unassigned

              rhn-support-lyarwood Lee Yarwood
              rhn-support-lyarwood Lee Yarwood
              Geetika Kapoor Geetika Kapoor
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: