Developer Offshore guide
Drain Kubernetes traffic before a pod exits
A practical review for platform teams deploying services with long-lived requests. It defines a replayable check, the evidence to retain, and the decision that stays with the system owner.
Published September 10, 2026
Drain Kubernetes traffic before a pod exits
- Write the question plainly: measure the sequence from termination notice to endpoint removal and process exit.
- Keep deletion time, readiness, EndpointSlice state, open requests, signals, grace period, and exit code.
- Include the uncomfortable case where a request begins just before the pod receives SIGTERM.
Name the behavior under review
This review is for platform teams deploying services with long-lived requests. Start with one observable claim: measure the sequence from termination notice to endpoint removal and process exit. Record the repository revision, environment, test identity, time source, and reviewer.
Keep the first run small. A teammate in another time zone should be able to repeat it without reconstructing assumptions from chat.
Capture an ordinary run
Save deletion time, readiness, EndpointSlice state, open requests, signals, grace period, and exit code. Use synthetic or approved test data and avoid broad production access. The baseline is useful only when its inputs and expected outcome are written down.
If the baseline fails, repair the fixture or narrow the question before adding timing, load, or failure conditions.
Review record
Scroll sideways to read every column on a small screen.
| Checkpoint | Evidence | Owner |
|---|---|---|
| Baseline | deletion time, readiness, EndpointSlice state, open requests, signals, grace period, and exit code | Assigned reviewer |
| Boundary case | a request begins just before the pod receives SIGTERM | Technical owner |
| Release | Checks, limits, and rollback note | Internal release owner |
Exercise the boundary case
Test the case most likely to expose a bad assumption: a request begins just before the pod receives SIGTERM. Change one condition, preserve raw output, and timestamp both the trigger and result.
Repeat the nearest passing case after the failure. That comparison is more useful than a pile of unrelated logs.
Make the smallest supported correction
Trace the evidence to the first boundary that violates the stated behavior. Add a focused regression check, prepare a reversible correction, and rerun both cases.
Record adjacent risks separately, with an owner and a reason they remain outside this change.
Hand off the decision
An offshore developer can design fixtures, inspect code, prepare a patch, and assemble evidence. The internal owner retains protected credentials, sensitive data, exceptions, and production release authority.
The handoff names revisions, changed files, commands, passed and skipped checks, rollback, remaining uncertainty, and the next owner.
Questions about assessing Philippine developers
Can an offshore developer run this review?
Yes, with scoped access, approved fixtures, a fixed revision, and a named reviewer.
Who approves production?
The accountable internal owner reviews the evidence, limits, and rollback plan.
Sources
International Labour Organization guidance on remote work arrangements reinforces why remote role briefs should document expectations, communication rhythms, and accountable handoffs.