Skip to content

Measure best-effort Pod annotation refresh in Minikube - #186

Merged
joshuarli merged 4 commits into
test/minikube-propagation-latencyfrom
test/minikube-pod-annotation-refresh
Sep 25, 2026
Merged

joshuarli merged 4 commits into
test/minikube-propagation-latencyfrom
test/minikube-pod-annotation-refresh

Conversation

@joshuarli

@joshuarli joshuarli commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds an opt-in Minikube comparison that requests an immediate kubelet refresh by updating the probe Pod annotation after each ConfigMap PATCH succeeds. Each request is started once in a background thread; failures are reported but do not stop client polling. The original baseline target remains the default.

Measurement

The timer still starts immediately before the ConfigMap server-side apply PATCH and ends at the first new-first dual-read returning the changed value. The report records whether each Pod annotation request completed, failed, or remained unconfirmed.

Five local Minikube samples with the best-effort annotation request: 5.322, 5.329, 5.317, 5.345, 5.347 seconds; mean 5.332 seconds, sample standard deviation 0.013 seconds. All five annotation PATCHes completed. The baseline in the parent PR had mean 58.392 seconds and sample standard deviation 30.736 seconds, with a 5.328–85.102 second range.

Run make test-minikube-propagation-latency-annotation for the annotation mode, or make test-minikube-propagation-latency for the baseline. Production deployment wiring is in getsentry/sentry-options-automator#9897.

@joshuarli
joshuarli marked this pull request as ready for review September 24, 2026 23:28
@joshuarli
joshuarli added this pull request to stack #189 September 25, 2026 17:41
@joshuarli
joshuarli merged commit 99c8972 into main Sep 25, 2026
29 checks passed
@joshuarli
joshuarli deleted the test/minikube-pod-annotation-refresh branch September 25, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants