Repository navigation
feat(pool): add UDSVirtualMachinePool rolling fleet updates and ADRs - #12
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of Changes
UDSVirtualMachinePool(udsvmpool) Go API types,DeepCopymethods, andmanifests/crd/udsvirtualmachinepools.uds.dev.yamlCRD.PoolReconciler(pkg/controller/pool_reconciler.go) with deterministic template revision hashing (ComputeTemplateHash),maxSurgereplacement creation, andmaxUnavailablereadiness-gated draining.PoolReconcilerincmd/uds-vm-operator/main.go, addudsvirtualmachinepoolsandcdi.kubevirt.iodatavolumes/source(create) RBAC permissions inmanifests/operator/deployment.yaml, and include the pool CRD inzarf.yaml.docs/adr/(0001,0002,0003).Problem & Motivation
Completes Milestone v0.5.0 Phase 5C by enabling zero-downtime rolling updates across
UDSVirtualMachinefleets while preserving all NIST 800-53 compliance controls on every replica, and formalizes architectural decisions indocs/adr/.NIST 800-53 Compliance Checklist
Check all applicable controls impacted or verified by this change:
sha256:<hex>) validated.go test -race) test suite passes without regressions (43/43 tests).Air-Gap & Edge Readiness
Testing & Verification
Automated Tests
go test -v -race ./...Live Cluster Verification
kubevirt-sandbox)UDSVirtualMachinePool(test-fleet) cloninguds-golden-images/golden-linux-baseReadyin 33s (f1f8bc544e)cpus: 2Updating(maxSurge: 1, maxUnavailable: 0) toReady(2/2on278ee74bbcat 76s) with clean drain of old replicasDocumentation
docs/adr/0001–0003added.