Repository navigation
release: v0.5.1 — controller/CLI hardening, pool metrics, and documentation cleanup - #14
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
Release
v0.5.1hardens controller reconciliation and CLI error paths, adds Prometheus pool replica metrics (uds_vm_pool_replicas), removes duplicated test/CLI/documentation artifacts, and aligns manifests and runbooks withv0.5.1.Type of Change
Changes Made
Controller, CLI & Tests (
c6418a2)resource.MustParseonspec.dataDisks[].sizewith saferesource.ParseQuantityerror handling (reconciler.go), incrementeduds_vm_reconcile_total{status="error"}on reconcile errors, populateduds_vm_storage_overhead_ratiofromCalculatedPVCSize, and usedmeta.SetStatusConditionwithObservedGeneration.UDSVirtualMachinePoolstatus updates inretry.RetryOnConflict(skipping redundant updates) and addeduds_vm_pool_replicas{pool, namespace, state}(desired,active,ready,updated,outdated).SOURCEcolumn touds-vmctl inventory, removed redundantnamespace == ""fallbacks incmd/uds-vmctl/main.goandpkg/cli/power.go, and unified pool/VM test schemes onnewTestReconcilerScheme().Documentation, Manifests & Version Bump (
a15369a)HANDOFF.md, deduplicated inline ADR essay inREADME.mdinto the ADR index table, and updatedREADME.md,ROADMAP.md,docs/end-to-end-verification-runbook.md,docs/plan-golden-images-rolling-updates-persistence.md,docs/windows-troubleshooting.md, and.github/pull_request_template.md.spec.memoryandspec.dataDisks[].sizeinmanifests/crd/udsvirtualmachines.uds.dev.yamland addedmanifests/examples/tactical-vm-pool.yaml.v0.5.1/0.5.1acrossMakefile,cmd/uds-vmctl/main.go,zarf.yaml,manifests/operator/deployment.yaml, andcompliance/oscal-component.yaml.Testing & Verification
go vet ./...— passed.go test -v -race -cover -count=1 ./...— 49/49 tests passing.make build&make zarf-build— builtghcr.io/celttechie/uds-vm-operator:v0.5.1andzarf-package-uds-vm-operator-amd64-0.5.1.tar.zst.0.5.1Zarf package tokubevirt-sandbox(tactical-sensor-vmReady,uds-vmctl inventoryverified withSOURCEcolumn).make lula-validate— 4/4 OSCAL controls (ia-5,ac-3,sc-7,si-7)satisfied.UDSVirtualMachinePool(tactical-vm-pool) provisioned 2 CDI-cloned replicas and completed a rolling update (cpus: 2 -> 3,maxSurge: 1,maxUnavailable: 0) toReadywithuds_vm_pool_replicasverified on/metrics.Checklist
go vet ./...andgo test -v -race -cover -count=1 ./...pass locally