An engineer compares a Kubernetes container’s start time with log entries for its first successful startup probe and first liveness check.

A Startup Probe Passed. When Did Kubernetes Begin Liveness Checks?

Mon, Nov 23, 2026

A successful startupProbe is an important state transition, but it is a poor release verdict. It tells you that Kubernetes may stop suppressing the container's liveness and readiness probes; it does not, by itself, prove when the first liveness probe was executed, whether initialDelaySeconds was counted from the point you assumed, whether readiness had run, whether a replacement container inherited the correct startup state, or whether a subsequent liveness failure caused the intended restart. The Kubernetes probe documentation states that when a startup probe exists, liveness and readiness probes are not executed until it succeeds, and that startup or liveness failures reaching their threshold can make the container subject to restart behavior.

That leaves a narrower operational question: after a startup probe passed, exactly what evidence proves when liveness became eligible and when it actually ran?

For a release gate, I would not answer that question from a green kubectl return, a single Started=true, or a remembered timing diagram. The proof needs a disposable, version-pinned cluster; synthetic endpoints that distinguish startup, liveness and readiness requests; an expected-case oracle written before observation; a negative control; a comparison case; container identity across restarts; and a ledger that can reject incomplete evidence.

No fixture described below was executed for this article. Every proposed outcome is therefore marked EXPECTED / NOT EXECUTED. The final release disposition for this research artifact is consequently HOLD, not ACCEPT.

Define the operational contract

The contract begins with three separate questions, because collapsing them into “the startup probe passed” is how timing mistakes enter release reviews.

First, gating: while a container that has a startupProbe has not satisfied it, liveness and readiness must not execute. Kubernetes documents that explicitly; it also says a failed startup probe can result in the kubelet killing the container and applying its restart policy.

Second, scheduling: after the startup gate opens, the first liveness request is not synonymous with the instant of startup success. Probe workers operate on periodSeconds, and release-1.37 kubelet source shows periodic worker scheduling, including random staggering shortly after kubelet startup to avoid a burst of probes. A manual trigger can also reset the periodic timer.

Third, restart identity: if liveness reaches its failure threshold, evidence must establish which container failed and which replacement container subsequently received startup, liveness and readiness traffic. The release-1.37 worker tracks container IDs and holds a failed startup/liveness worker until it observes a new container.

Use four evidence labels throughout:

Label

Meaning

DOCUMENTED

Stated by Kubernetes documentation or API reference

SOURCE

Derived from the exact pinned Kubernetes source branch

OBSERVED

Captured by the disposable run

EXPECTED / NOT EXECUTED

Authored oracle; no run has established it

A useful adjacent Refonte article is the custom readiness-gate acceptance playbook. It also distinguishes container readiness from a superficially healthy Pod and uses version capture and disposable controls, but its acceptance target is custom PodCondition/EndpointSlice state rather than startup-probe scheduling or container restart identity.

The rejection rule for this playbook is simple: a successful startup response without a complete timing-and-identity chain is insufficient evidence for release acceptance.

Capture a versioned baseline

Pin the laboratory to kind v0.33.0 and the exact Kubernetes v1.37.0 node image:

kindest/node:v1.37.0@sha256:a1ed56cfb0e7b93589bdf97c8cd566405a265939e3620fc4f5de89adff580ae5

kind v0.33.0 was released on August 26, 2026, defaults to Kubernetes 1.37.0, and the kind v0.33.0 release notes recommend using the image digest to guarantee the intended release image.

That choice is deliberate. It gives us a concrete release branch whose kubelet source can be inspected rather than saying “current Kubernetes.” It is not a claim that v1.37.0 is the latest Kubernetes patch as of November 23, 2026.

Use a digest-pinned application image as well:

python:3.13.9-alpine3.22@sha256:e5fa639e49b85986c4481e28faa2564b45aa8021413f31026c3856e5911618b1

The node-image digest is the effective pin for the kubelet and in-node container runtime bits. Capture the runtime's reported version anyway; identity evidence should be redundant enough to detect a wrong image or unexpected host configuration.

Create an evidence directory before the cluster exists:

export CLUSTER=startup-probe-timing
export NS=probe-timing-lab

mkdir -p evidence

kind version | tee evidence/kind-version.txt
kubectl version --client -o yaml | tee evidence/kubectl-client.yaml

cat > kind.yaml <<'EOF'
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
name: startup-probe-timing
nodes:
- role: control-plane
EOF

sha256sum kind.yaml | tee evidence/kind-config.sha256

The expected baseline is EXPECTED / NOT EXECUTED: kind version reports v0.33.0 and the created node uses exactly the pinned v1.37.0 digest.

Pin fixture identity

The measurable assertion is stronger than “cluster creation succeeded.” After creation, capture Kubernetes server identity, kubelet identity, runtime identity, node image and test-manifest hashes:

kind create cluster \
  --name "$CLUSTER" \
  --image kindest/node:v1.37.0@sha256:a1ed56cfb0e7b93589bdf97c8cd566405a265939e3620fc4f5de89adff580ae5 \
  --config kind.yaml

kubectl get --raw /version \
  | tee evidence/server-version.json

kubectl get nodes -o wide \
  | tee evidence/nodes.txt

docker inspect startup-probe-timing-control-plane \
  --format '{{.Config.Image}}' \
  | tee evidence/node-image.txt

docker exec startup-probe-timing-control-plane \
  kubelet --version \
  | tee evidence/kubelet-version.txt

docker exec startup-probe-timing-control-plane \
  containerd --version \
  | tee evidence/containerd-version.txt

Assertion: server and kubelet identify as v1.37.0, and node-image.txt resolves to the specified digest.

Rejection condition: any missing identity, wrong digest, wrong Kubernetes release, or a manifest hash calculated only after evidence was inspected. The intended identity result is EXPECTED / NOT EXECUTED.

Build the isolated test environment

This fixture needs no production Service, cloud resource, credential, ingress or customer workload. A single kind control-plane node is enough because the question is kubelet probe execution against one container.

The application writes every probe request to both stdout and an emptyDir file. The file survives an individual container restart while the Pod remains, which lets us correlate multiple container generations without introducing external storage.

Create server.py:

import datetime, http.server, json, os, pathlib, time

STATE = pathlib.Path("/state")
STATE.mkdir(exist_ok=True)

generation_file = STATE / "generation"
generation = (
    int(generation_file.read_text()) + 1
    if generation_file.exists() else 1
)
generation_file.write_text(str(generation))

t0 = time.monotonic()
startup_after = float(os.getenv("STARTUP_AFTER_SECONDS", "0"))
never_startup = os.getenv("NEVER_STARTUP", "false").lower() == "true"
fail_from_generation = int(os.getenv("FAIL_STARTUP_FROM_GENERATION", "0"))

def record(path, status):
    row = {
        "ts": datetime.datetime.now(datetime.timezone.utc).isoformat(),
        "elapsed_s": round(time.monotonic() - t0, 3),
        "generation": generation,
        "path": path,
        "status": status,
    }
    line = json.dumps(row, sort_keys=True)
    print(line, flush=True)
    with open(STATE / "probes.jsonl", "a") as f:
        f.write(line + "\n")

record("BOOT", 0)

class Handler(http.server.BaseHTTPRequestHandler):
    def do_GET(self):
        if self.path == "/startup":
            fail = (
                never_startup
                or (fail_from_generation and generation >= fail_from_generation)
                or (time.monotonic() - t0 < startup_after)
            )
            code = 503 if fail else 200
        elif self.path == "/live":
            code = 500 if (STATE / "fail-live").exists() else 200
        elif self.path == "/ready":
            code = 200
        else:
            code = 404

        record(self.path, code)
        self.send_response(code)
        self.end_headers()
        self.wfile.write(b"ok\n" if code < 400 else b"fail\n")

    def log_message(self, *args):
        pass

http.server.ThreadingHTTPServer(("0.0.0.0", 8080), Handler).serve_forever()

Package it as a ConfigMap:

kubectl create namespace "$NS"

kubectl -n "$NS" create configmap probe-server \
  --from-file=server.py=server.py \
  --dry-run=client -o yaml > probe-server.yaml

kubectl apply -f probe-server.yaml
sha256sum server.py probe-server.yaml | tee evidence/server-inputs.sha256

The nearby Kubernetes user-namespace rollout validation also uses a disposable rollout to isolate startup/readiness behavior from unrelated application concerns. This playbook keeps the fixture narrower: one synthetic process, one node and no storage beyond emptyDir.

Author the expected-case manifest

Write the oracle before looking at runtime results. Its job is to state falsifiable relationships, not to predict exact millisecond timestamps.

Create expected-cases.yaml:
schema: probe-timing-oracle/v1
kubernetes: v1.37.0

cases:
  A-gated-timing:
    assertions:
    - id: A-LIVE-GATE
      predicate: no /live row precedes first successful /startup row
    - id: A-READY-GATE
      predicate: no /ready row precedes first successful /startup row
    - id: A-INITIAL-DELAY
      predicate: first /live request is not before container StartedAt + 8s
    - id: A-NO-RESTART
      predicate: restartCount remains 0

  B-no-startup-comparison:
    assertions:
    - id: B-LIVE-DELAY
      predicate: first /live request is not before container StartedAt + 8s
    - id: B-NO-STARTUP
      predicate: no /startup request exists

  C-never-starts:
    assertions:
    - id: C-ONLY-STARTUP
      predicate: no /live or /ready request occurs
    - id: C-RESTART
      predicate: startup failures reach threshold and container identity changes

  D-replacement-gate:
    assertions:
    - id: D-NEW-IDENTITY
      predicate: replacement containerID differs from original
    - id: D-STARTUP-RESET
      predicate: replacement is not treated as startup-complete before its own startup succeeds
    - id: D-NO-EARLY-LIVE
      predicate: no replacement-generation /live precedes replacement startup success

Hash the expected-case manifest:

sha256sum expected-cases.yaml \
  | tee evidence/expected-cases.sha256

Every row in this oracle is EXPECTED / NOT EXECUTED.

A subtle point matters here. Current Kubernetes probe documentation says that when a startup probe exists, liveness/readiness probe delays “do not begin” until startup succeeds. The release-1.37 kubelet source, however, first checks InitialDelaySeconds using elapsed time from the container's Running.StartedAt, and separately suppresses non-startup probes while ContainerStatus.Started is false.

That means the fixture must preserve two hypotheses:

H-doc:
firstLive >= startupSuccess + initialDelaySeconds

H-source-1.37:
firstLive >= max(containerStartedAt + initialDelaySeconds,
                 startupSuccess)

The run determines which timing model describes the pinned runtime. Do not silently rewrite the oracle after seeing the answer.

Prove the negative control

Case C is the negative control: its startup endpoint never succeeds.

Set NEVER_STARTUP=true, use startupProbe.periodSeconds: 1 and failureThreshold: 4, and configure liveness/readiness aggressively with zero initial delay. If either /live or /ready appears while startup never succeeds, the gate itself has failed.

Measurable assertion: for every generation, the ledger contains startup failures only; after the startup failure threshold is reached, a new container identity eventually appears under restartPolicy: Always.

Kubernetes documents that startup-probe failure beyond its threshold causes the container to be treated as unhealthy and subject to restart behavior.

Rejection condition: any liveness/readiness request before startup success, or failure to preserve enough identity evidence to tell whether a replacement occurred.

Result: EXPECTED / NOT EXECUTED.

Reproduce the misleading success

Now create the primary Pod. Its startup probe succeeds only after four application seconds; liveness and readiness have initialDelaySeconds: 8.

apiVersion: v1
kind: Pod
metadata:
  name: gated-timing
  namespace: probe-timing-lab
spec:
  restartPolicy: Always
  terminationGracePeriodSeconds: 1
  volumes:
  - name: app
    configMap:
      name: probe-server
  - name: state
    emptyDir: {}
  containers:
  - name: app
    image: python:3.13.9-alpine3.22@sha256:e5fa639e49b85986c4481e28faa2564b45aa8021413f31026c3856e5911618b1
    command: ["python", "/app/server.py"]
    env:
    - name: STARTUP_AFTER_SECONDS
      value: "4"
    volumeMounts:
    - {name: app, mountPath: /app}
    - {name: state, mountPath: /state}
    startupProbe:
      httpGet: {path: /startup, port: 8080}
      periodSeconds: 1
      timeoutSeconds: 1
      failureThreshold: 20
    livenessProbe:
      httpGet: {path: /live, port: 8080}
      initialDelaySeconds: 8
      periodSeconds: 1
      timeoutSeconds: 1
      failureThreshold: 3
    readinessProbe:
      httpGet: {path: /ready, port: 8080}
      initialDelaySeconds: 8
      periodSeconds: 1
      timeoutSeconds: 1
      failureThreshold: 1

Save as gated-timing.yaml, hash it, then apply:

sha256sum gated-timing.yaml | tee evidence/gated-timing.sha256
kubectl apply -f gated-timing.yaml

The deliberately misleading checkpoint is:

kubectl -n "$NS" get pod gated-timing \
  -o jsonpath='{.status.containerStatuses[0].started}{"\n"}'

true would be evidence that Kubernetes currently regards that container as started. It is not evidence that liveness has already executed.

Capture the timeline instead:

for i in $(seq 1 20); do
  date -u +"%Y-%m-%dT%H:%M:%S.%3NZ"
  kubectl -n "$NS" get pod gated-timing \
    -o custom-columns='UID:.metadata.uid,CID:.status.containerStatuses[0].containerID,STARTED:.status.containerStatuses[0].started,READY:.status.containerStatuses[0].ready,RESTARTS:.status.containerStatuses[0].restartCount,STARTED_AT:.status.containerStatuses[0].state.running.startedAt'
  sleep 1
done | tee evidence/A-status-timeline.txt

kubectl -n "$NS" exec gated-timing -- \
  cat /state/probes.jsonl \
  > evidence/A-probes.jsonl

kubectl -n "$NS" get pod gated-timing -o json \
  > evidence/A-pod.json

The expected primary finding is EXPECTED / NOT EXECUTED: startup reaches HTTP 200 first; neither liveness nor readiness precedes that success. The exact first-liveness timestamp remains deliberately unclaimed until evidence is reconciled against both timing hypotheses.

Run a controlled positive comparison

A valid timing test needs to show that the instrumentation can observe liveness when startup gating is absent. Case B therefore removes only startupProbe while retaining the same liveness/readiness eight-second delay.

apiVersion: v1
kind: Pod
metadata:
  name: no-startup-comparison
  namespace: probe-timing-lab
spec:
  restartPolicy: Always
  volumes:
  - name: app
    configMap: {name: probe-server}
  - name: state
    emptyDir: {}
  containers:
  - name: app
    image: python:3.13.9-alpine3.22@sha256:e5fa639e49b85986c4481e28faa2564b45aa8021413f31026c3856e5911618b1
    command: ["python", "/app/server.py"]
    volumeMounts:
    - {name: app, mountPath: /app}
    - {name: state, mountPath: /state}
    livenessProbe:
      httpGet: {path: /live, port: 8080}
      initialDelaySeconds: 8
      periodSeconds: 1
      failureThreshold: 3
    readinessProbe:
      httpGet: {path: /ready, port: 8080}
      initialDelaySeconds: 8
      periodSeconds: 1
      failureThreshold: 1

Run and retain the same three evidence streams:

kubectl apply -f no-startup-comparison.yaml

sleep 15

kubectl -n "$NS" get pod no-startup-comparison -o json \
  > evidence/B-pod.json

kubectl -n "$NS" exec no-startup-comparison -- \
  cat /state/probes.jsonl \
  > evidence/B-probes.jsonl

kubectl -n "$NS" logs no-startup-comparison --timestamps \
  > evidence/B-stdout.log

EXPECTED / NOT EXECUTED: there is no /startup row, and liveness/readiness do not occur before the eight-second initial-delay floor measured against container start. The exact first request may occur later because probe work is periodic; the source does not justify treating initialDelaySeconds + periodSeconds as an exact deadline.

This is a positive comparison, not the negative control. Its purpose is to prove that the recorder sees normal liveness/readiness traffic.

For comparison, Refonte's node-local endpoint admission test uses positive and negative routing cases to separate a global “healthy” signal from local endpoint eligibility. Its subject is Service routing and EndpointSlices; the same experimental discipline is useful here, but our observable is kubelet probe traffic and container identity.

Retain failed case artifacts

Never “fix and rerun” before preserving the failed state.

For each Pod:

kubectl -n "$NS" get pod POD -o yaml \
  > evidence/POD-final.yaml

kubectl -n "$NS" logs POD --timestamps \
  > evidence/POD-current.log

kubectl -n "$NS" logs POD --previous --timestamps \
  > evidence/POD-previous.log 2>&1 || true

kubectl -n "$NS" get events --sort-by=.lastTimestamp \
  > evidence/events.txt

If a container is still running:

kubectl -n "$NS" exec POD -- \
  cat /state/probes.jsonl \
  > evidence/POD-probes.jsonl

Assertion: every failed assertion keeps the Pod JSON/YAML, current and previous logs where applicable, probe ledger, manifest checksum, node/runtime identity and decision record.

Rejection condition: a restart was observed but the previous container's identity or requests cannot be reconstructed.

Retention outcome: EXPECTED / NOT EXECUTED.

Test negative and boundary cases

Create the never-starting negative control:

apiVersion: v1
kind: Pod
metadata:
  name: never-starts
  namespace: probe-timing-lab
spec:
  restartPolicy: Always
  terminationGracePeriodSeconds: 1
  volumes:
  - name: app
    configMap: {name: probe-server}
  - name: state
    emptyDir: {}
  containers:
  - name: app
    image: python:3.13.9-alpine3.22@sha256:e5fa639e49b85986c4481e28faa2564b45aa8021413f31026c3856e5911618b1
    command: ["python", "/app/server.py"]
    env:
    - {name: NEVER_STARTUP, value: "true"}
    volumeMounts:
    - {name: app, mountPath: /app}
    - {name: state, mountPath: /state}
    startupProbe:
      httpGet: {path: /startup, port: 8080}
      periodSeconds: 1
      failureThreshold: 4
    livenessProbe:
      httpGet: {path: /live, port: 8080}
      periodSeconds: 1
      failureThreshold: 1
    readinessProbe:
      httpGet: {path: /ready, port: 8080}
      periodSeconds: 1
      failureThreshold: 1

The expected result is EXPECTED / NOT EXECUTED: four consecutive startup failures reach the declared threshold; no liveness/readiness request is emitted before that generation terminates; a replacement container obtains a different container ID.

Then test the more important restart boundary. The first generation passes startup. The second generation is configured never to pass:

env:
- {name: STARTUP_AFTER_SECONDS, value: "1"}
- {name: FAIL_STARTUP_FROM_GENERATION, value: "2"}
startupProbe:
  httpGet: {path: /startup, port: 8080}
  periodSeconds: 1
  failureThreshold: 20
livenessProbe:
  httpGet: {path: /live, port: 8080}
  periodSeconds: 1
  failureThreshold: 1

After generation one has logged at least one successful /live, induce a synthetic liveness failure:

kubectl -n "$NS" exec replacement-boundary -- \
  touch /state/fail-live

This case is mandatory because an upstream Kubernetes issue filed in August 2026 documented a bug in which a container restarted after liveness failure could be reported started=true, allowing liveness to execute before the replacement's startup probe had succeeded. The issue was closed as completed on September 9, 2026, after the v1.37.0 release date.

Therefore, for the deliberately pinned v1.37.0 fixture, do not infer post-restart behavior from later fixes. The contract expectation remains EXPECTED / NOT EXECUTED: generation two must not receive liveness/readiness before its own startup success. If this boundary case is skipped, the release decision is HOLD.

Capture a complete evidence ledger

A probe-timing claim without a case ledger is too easy to overstate. Record one row per assertion, not one row per Pod.

Case

Assertion

Required evidence

Expected result

Run status

A

startup gates liveness

/startup and /live rows, same generation

first /live after successful /startup

EXPECTED / NOT EXECUTED

A

startup gates readiness

/startup and /ready rows

first /ready after startup success

EXPECTED / NOT EXECUTED

A

initial-delay timing

StartedAt, startup-success timestamp, first live timestamp

classify against both timing hypotheses

EXPECTED / NOT EXECUTED

A

no unintended restart

containerID, restartCount

unchanged identity, count 0

EXPECTED / NOT EXECUTED

B

instrumentation observes liveness

comparison probe log

/live exists after delay

EXPECTED / NOT EXECUTED

C

startup negative control

complete generation log

no /live or /ready

EXPECTED / NOT EXECUTED

C

startup failure restart

old/new containerID

identity changes

EXPECTED / NOT EXECUTED

D

replacement resets startup state

generation, containerID, started, probe rows

no early replacement liveness

EXPECTED / NOT EXECUTED

D

liveness caused intended restart

failing /live, restart count, IDs

failure precedes identity change

EXPECTED / NOT EXECUTED

Capture the status stream for all Pods in one file:

for i in $(seq 1 40); do
  printf '%s ' "$(date -u +%Y-%m-%dT%H:%M:%S.%3NZ)"
  kubectl -n "$NS" get pods \
    -o custom-columns='NAME:.metadata.name,UID:.metadata.uid,CID:.status.containerStatuses[0].containerID,STARTED:.status.containerStatuses[0].started,READY:.status.containerStatuses[0].ready,RESTARTS:.status.containerStatuses[0].restartCount'
  sleep 1
done | tee evidence/all-status-timeline.txt

Hash the completed evidence package:

find evidence -type f -print0 \
  | sort -z \
  | xargs -0 sha256sum \
  > evidence-files.sha256

The ledger is an audit mechanism, not a guarantee that timestamps are perfectly synchronized. The application timestamps, Kubernetes StartedAt, and host-side collection clock are different measurement surfaces. The decision should rely primarily on ordering and bounded eligibility, not fictitious sub-millisecond precision.

Detect missing evidence

Before judging behavior, apply a completeness gate.

Required: Kubernetes server version; node image digest; kubelet/runtime identity; fixture hash; expected-manifest hash; Pod UID; each relevant container ID; restartCount; StartedAt; probe JSONL; current and previous logs for restart cases; events; and analyst decision.

A simple preflight can reject omissions:

for f in \
  evidence/server-version.json \
  evidence/node-image.txt \
  evidence/kubelet-version.txt \
  evidence/containerd-version.txt \
  evidence/expected-cases.sha256 \
  evidence/all-status-timeline.txt
do
  test -s "$f" || {
    echo "MISSING: $f"
    exit 1
  }
done

Assertion: zero required files are missing and every case row can be associated with one Pod UID and, where restarts occur, one explicit container ID per generation.

Rejection condition: any behavior conclusion requires guessing which generation emitted a request.

Completeness: EXPECTED / NOT EXECUTED.

Reconcile identity and state

Now answer the title question using evidence, not intuition.

For each generation calculate four times:

T0 = Kubernetes container .state.running.startedAt
TS = first HTTP 200 /startup for that generation
TL = first /live for that generation
TR = first /ready for that generation

Then calculate:

startup_age = TS - T0
live_age    = TL - T0
live_after_startup = TL - TS

For the release-1.37 source, the liveness worker's eligibility path checks whether the container age has reached the probe's InitialDelaySeconds; it then checks ContainerStatus.Started and suppresses non-startup probes when that state is false.

For Case A, with a four-second synthetic startup delay and an eight-second liveness initial delay, the two interpretations diverge enough to measure:

source-model eligibility floor ≈ max(8s, ~4s) = ~8s from T0
docs-prose interpretation      ≈ ~4s + 8s = ~12s from T0

Those are eligibility floors, not promises of an exact request timestamp. Probe scheduling can add delay. The run should classify the first liveness request as supporting one model, both models, neither model, or insufficient evidence.

A Started=true snapshot also needs its container identity. The Kubernetes Pod API reference describes Pod status as the system's most recently observed status, which may lag behind the container. A value retained across a container-ID transition would therefore be especially dangerous to accept without reconciling IDs.

This is why the preStop and termination-budget validation is a useful neighboring pattern: it likewise separates an apparent lifecycle state from the ordered evidence needed to prove when behavior changed. That article concerns termination and EndpointSlice state, not startup/liveness gating.

Separate guarantees from observations

There are three source layers here, and they do not describe timing with identical language.

Documented behavior: Kubernetes says startup probes suppress liveness and readiness until startup succeeds. It also documents probe failureThreshold, periodSeconds, and the restart consequence of startup/liveness failure.

Current documentation wording: the probe concepts page says that when startup exists, liveness/readiness delays do not begin until startup succeeds.

Pinned implementation evidence: release-1.37 worker.go tests InitialDelaySeconds against elapsed time from Running.StartedAt, then applies the separate Started gate. It also schedules workers periodically rather than defining the first probe as an instantaneous callback from startup success.

That is a source conflict worth preserving, not smoothing over. It changes the expected timing distinction between “startup succeeded at four seconds and liveness initial delay is eight seconds” versus “both conditions become satisfied by eight seconds from container start.”

The correct release-review language is therefore:

For Kubernetes v1.37.0, the fixture is designed to determine the actual first liveness execution after both the startup gate and release-1.37 initial-delay condition are satisfied. No run was performed here, so the runtime result remains EXPECTED / NOT EXECUTED.

Do not replace that with “Kubernetes always waits eight seconds after startup passes.” The primary sources do not support such an unconditional guarantee for this pinned implementation.

The upstream 2026 restart bug also establishes why container replacement deserves its own case rather than being extrapolated from initial startup.

Bound the repair

A failed case should lead to the smallest repair consistent with its failure domain.

If Case A fails because the fixture used the wrong manifest, repair the fixture. If the wrong kind/node digest was used, repair version pinning and rerun everything. If timing is merely later than the eligibility floor, investigate scheduling before changing application settings. If a replacement container receives liveness before its own startup gate succeeds, do not “repair” the test by increasing the liveness delay; that would mask the property under test.

Measurable assertion: every repair changes only the artifact responsible for the failed assertion and generates a new manifest hash.

Rejection condition: a repair broadens the timeout until the failure disappears, changes multiple probe parameters simultaneously, or discards the original failed evidence.

Repair protocol status: EXPECTED / NOT EXECUTED.

Apply a bounded repair

Suppose Case A demonstrates that the team's mental model was wrong: engineers expected liveness eight seconds after startup success, but the pinned runtime's first liveness is compatible with an eight-second-from-container-start eligibility floor.

That is not automatically a Kubernetes defect. The repair may be to change the release requirement.

For example, if the actual application contract requires a four-second initialization phase plus a further eight-second liveness quiet period, express the intended safety envelope explicitly rather than depending on an ambiguous interpretation. One bounded option is to move the quiet period into the startup gate itself: keep startup failing until the application is genuinely ready for liveness scrutiny. Kubernetes documents startup probes specifically as a mechanism to protect slowly starting containers before liveness takes over.

The repair sequence is:

  1. Preserve failed evidence and manifest hashes.

  2. State which assertion failed.

  3. Determine whether failure is fixture, expectation or runtime behavior.

  4. Modify one dimension.

  5. Hash the new manifest.

  6. Recreate the affected disposable Pod.

  7. Rerun the full case, including controls if semantics changed.

Do not patch a live production workload as part of this playbook. The only permitted target is the disposable namespace.

For the replacement-container boundary, the appropriate repair may instead be a Kubernetes patch upgrade, but that decision requires verifying the exact patch's changelog/source and rerunning the same boundary case. The upstream issue indicates that a fix was completed after v1.37.0, but that fact alone is not evidence that any particular later binary in your environment contains it.

All repair outcomes in this article remain EXPECTED / NOT EXECUTED.

Test rollback and recovery

Recovery has two jobs: return the fixture to a clean state and prove that the repair is not the only condition under which the test harness appears green.

Before teardown, copy evidence:

kubectl -n "$NS" get pods -o yaml > evidence/final-pods.yaml
kubectl -n "$NS" get events --sort-by=.lastTimestamp > evidence/final-events.txt

for p in gated-timing no-startup-comparison never-starts replacement-boundary
do
  kubectl -n "$NS" exec "$p" -- cat /state/probes.jsonl \
    > "evidence/${p}-probes-final.jsonl" 2>/dev/null || true
done

For a Pod whose emptyDir contains fail-live, delete and recreate the Pod, rather than trying to mutate its persisted test state into a supposedly pristine baseline:

kubectl -n "$NS" delete pod replacement-boundary --wait=true
kubectl apply -f replacement-boundary.yaml

A clean recreation should start generation numbering from one because the Pod's emptyDir is new. That outcome is EXPECTED / NOT EXECUTED.

A rollback test should then reapply the original manifest and demonstrate that the original result is reproducible. If the result cannot be reproduced after restoring exactly the original manifest and node identity, classify the case RERUN or HOLD rather than declaring the repair successful.

When evidence is complete, destroy the entire laboratory:

kubectl delete namespace "$NS" --wait=true
kind delete cluster --name "$CLUSTER"

The topology-spread resilience test uses the same general discipline of a synthetic local cluster and explicit version evidence, but it tests scheduler-domain eligibility rather than probe workers or container restart identity.

Assign rerun ownership

The owner is the engineering team making the release decision, not “Kubernetes” and not the article author.

Record these fields in the ledger:

rerun:
  owner: "<team-or-role>"
  trigger:
  - Kubernetes node-image digest changes
  - kubelet patch changes
  - probe manifest changes
  - restart behavior changes
  - evidence collection changes
  required_cases:
  - A-gated-timing
  - B-no-startup-comparison
  - C-never-starts
  - D-replacement-gate

Measurable assertion: every change capable of altering scheduling, probe configuration or restart state has an identified owner and requires the relevant cases to be regenerated from the independently versioned oracle.

Rejection condition: a release uses evidence from a different Kubernetes digest or a previous manifest without an explicit compatibility decision.

Ownership outcome: EXPECTED / NOT EXECUTED.

Decide ACCEPT, REPAIR, RERUN or HOLD

The release gate is intentionally stricter than “startup succeeded.”

Evidence state

Decision

Reason

Exact pinned identities; A/B/C/D all match their oracle; no missing artifacts; restart generation proven by container ID

ACCEPT

The bounded probe-gating and restart contract is supported for the tested fixture

Evidence is complete and a failure is attributable to a controllable manifest/harness/application requirement

REPAIR

Make one bounded change, preserve failure, rerun

Runtime digest, manifest hash or test procedure drifted; transient infrastructure prevented a clean case

RERUN

Evidence does not correspond to the declared baseline

Any liveness/readiness occurs before startup success; replacement identity is ambiguous; required case D is skipped; source conflict is relevant but unmeasured; evidence is incomplete

HOLD

A safe release conclusion cannot be supported

For this article's research state, the decision is HOLD. No disposable fixture was executed, so every runtime prediction remains EXPECTED / NOT EXECUTED. That is not a failing test; it is the only decision consistent with the stated evidence policy.

Develop related skills with Refonte Learning

The Refonte Learning DevOps Engineer Program runs for three months and lists a workload of 12–14 hours per week. Applicants must be pursuing bachelor’s or postgraduate studies. The program lists DevOps Engineer, Cloud Engineer and Site Reliability Engineer among its career paths. The curriculum covers Linux and scripting, Git and GitHub, CI/CD, Docker and Kubernetes, Terraform, AWS, Azure and GCP, monitoring and logging, and a capstone project.

The program lists a lead instructor and mentor, mentions virtual internship opportunities, and offers a Training Certificate and a Certificate of Internship upon successful completion.