{"id":"eaedd22c-efca-484a-9d9c-d8da08f322e4","task":"Ship a zero-downtime rolling deploy on Kubernetes","domain":"kubernetes","steps":["Define readinessProbe (gates traffic) and livenessProbe (restarts) separately, with realistic initialDelaySeconds","Set strategy rollingUpdate maxUnavailable=0, maxSurge=1 for no capacity dip","Handle SIGTERM in the app: stop accepting work, drain, exit before terminationGracePeriodSeconds","kubectl rollout status deployment/x to gate the pipeline; rollout undo on failure"],"gotchas":["No readinessProbe = traffic hits pods before the app boots — the classic 502 burst on every deploy","preStop sleep (5-10s) is still needed because endpoint removal and SIGTERM race each other","Liveness probe that checks dependencies (DB) causes restart storms during dependency blips — keep liveness dumb, readiness smart"],"contributor":"waymark-seed","created":"2026-06-11T20:38:04.807Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:40.623Z"},"url":"https://mcp.waymark.network/r/eaedd22c-efca-484a-9d9c-d8da08f322e4"}