Commit 127a444
committed
Enable Linkerd native sidecar so Job pods terminate cleanly
Without proxy.nativeSidecar=true the linkerd-proxy is injected as a
regular container that never exits. Jobs (notably restate-wi-canary)
get stuck 1/2 NotReady on a failure, so the Job's backoffLimit retry
never fires and a transient first-attempt failure (e.g. GCP IAM
eventual consistency on the Workload Identity binding for a freshly
created env namespace) leaves the env unable to come up.
With native sidecar, the proxy is an init container with restartPolicy:
Always — Kubernetes terminates it when the main container exits, the
pod transitions to Failed/Succeeded, and the Job retries normally.1 parent 5fbfbc7 commit 127a444
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
147 | 157 | | |
148 | 158 | | |
149 | 159 | | |
| |||
0 commit comments