Repository navigation
test: speed projected volume updates in Kind qualification - #2124
Merged
Merged
Conversation
Co-authored-by: Mecatl <[email protected]>
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
Why
The baseline production Kind job took 67s/68s/60s for the three post-apply security ledger waits, with <1s API applies. Kubernetes documents a default kubelet
syncFrequencyof 1m and that projected Secret updates can take a sync period plus cache propagation; Kind supports patchingKubeletConfigurationin its cluster config. This is a fixture-specific speed trial, not a change to production behavior.Local comparison
syncFrequency: 5swithout reading security material.Verification
go test ./deploy/mecatl-execution-kind -count=1task testMECATL_EXECUTION_QUAL_CI=1 task e2e:k8s:execution:productionpassed; no cluster retained.task lint,task test:race, and offline demo passed. The first race run timed out in unrelatedTestMicroVMChildRetainsParentSourceAfterRetirementafter 10m; that test passed in isolation, and the full race gate passed on retry.CI comparison
The production Kind job and ordinary Kind job passed. Against the baseline job:
The setup outlier was a ~295s gap between provider scale-down and legacy executor Pod readiness (versus ~73s in baseline), a phase that also runs the legacyfixture
go runbefore waiting for Pods (run.sh:353-359). The log cannot assign that gap to compilation versus scheduling; don't attribute the setup regression to the kubelet patch without evidence. The test-phase gain is independently reproduced locally and in CI. Even if retained, this does not alone solve the ~30-minute pipeline; larger reductions require a separate coverage-preserving design, not shorter safety waits.