Repository navigation
feat(service): Run the Service rows under a Kubernetes Lease - #6099
Conversation
Details of step 1 of #6058ToolThe Lease API
So RBAC (Role
|
|
Checks on head a6de793: Static Analysis and Semantic PR title pass. The only failing test is This pull request stays a draft until #6101 is fixed on |
8f5a9bf to
6265f70
Compare
🤖 I have created a release *beep* *boop* --- ## [0.170.0](v0.169.4...v0.170.0) (2026-11-17) ### Features * **service:** Run the Service rows under a Kubernetes Lease ([#6099](#6099)) ([894fbdd](894fbdd)) ### Bug Fixes * **roadmap:** fix-checks repairs failures its plan causes ([#6121](#6121)) ([78544b3](78544b3)) * **roadmap:** mark a draft ready only when draft readiness allows it ([#6132](#6132)) ([e0c0cdb](e0c0cdb)) * **roadmap:** Stop the false strength failure and log the volume use ([#6111](#6111)) ([3d2b4e2](3d2b4e2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Only the pod that holds the Kubernetes Lease roadmap-service-rows now reads the state files and runs the rows of the roadmap Service; a pod that waits keeps its deliveries in its lane queues, and a pod gives the Lease back after its drain. A preStop sleep of 10 s keeps the socket open while the endpoint leaves, and the pod name is service.instance.id. The Deployment keeps Recreate (expand/contract): the release with the Lease code stops the old pod before the new one starts. #6107 then switches to RollingUpdate with maxSurge 1 and maxUnavailable 0.
Live check: after the release with this code,
kubectl -n devops get lease roadmap-service-rows -o jsonpath='{.spec.holderIdentity}'names the running pod.Closes #6058
Change:
openspec/changes/archive/2026-11-17-6058-service-surge-release/