Skip to content

UID2-7580: add graceful termination support to opt-out - #419

Open
swibi-ttd wants to merge 3 commits into
mainfrom
swi-UID2-7580-graceful-termination
Open

UID2-7580: add graceful termination support to opt-out#419
swibi-ttd wants to merge 3 commits into
mainfrom
swi-UID2-7580-graceful-termination

Conversation

@swibi-ttd

@swibi-ttd swibi-ttd commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • register the shared PodTerminationMonitor during opt-out startup with the existing 3-second default
  • prepare a writable termination-marker directory in the non-root container image
  • cover startup registration and configured interval behavior

Test plan

  • mvn clean test (255 tests)
  • build the Docker image
  • verify the uid2-optout user can create /app/pod_terminating/pod_terminating
  • publish snapshot image 4.10.5-alpha-234-SNAPSHOT
  • update the uid2-deployment branch to use that snapshot in UID2 test
  • deploy the branch to UID2 test through uid2-infra #1190
  • after all test pods run the snapshot, terminate one pod and verify health becomes 503, the process remains alive during the 60-second drain, and no termination-attributable ALB 5xx occurs

Made with Cursor

Register the shared termination monitor and prepare the image marker directory so Kubernetes can drain targets before shutdown.

Co-authored-by: Cursor <cursoragent@cursor.com>
@swibi-ttd
swibi-ttd force-pushed the swi-UID2-7580-graceful-termination branch 2 times, most recently from ff39372 to b0c1f7a Compare July 29, 2026 05:40
github-actions Bot added 2 commits July 29, 2026 06:04
…o-jira - reason: automated release]

Automated release (PR #420).
…o-jira - reason: automated release]

Automated release (PR #421).
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.

1 participant