istio.io/istio@v0.0.0-20240520182934-d79c90f27776/releasenotes/notes/startupProbe.yaml (about) 1 apiVersion: release-notes/v2 2 kind: feature 3 area: installation 4 issue: 5 - 32569 6 7 releaseNotes: 8 - | 9 **Added** a `startupProbe` by default for the sidecar. This optimizes startup time and minimizes load throughout the pod lifecycle. See Upgrade Notes for more information. 10 11 upgradeNotes: 12 - title: StartupProbe added to sidecar by default 13 content: | 14 The sidecar container now comes with a `startupProbe` enabled by default. 15 Startup probes run only at the start of the pod. Once the startup probe completes, readiness probes will continue. 16 17 By using a startup probe, we can poll for the sidecar to start more aggressively, without polling as aggressively throughout 18 the entire pod's lifecycle. 19 On average, this improves pod startup time by roughly 1s. 20 21 If the startup probe does not pass after 10 minutes, the pod will be terminated. 22 Previously, the pod would never be terminated even if it was unable to start indefinitely. 23 24 If you do not want this feature, it can be disabled. However, you will want to tune the readiness probe with it. 25 26 The recommended values with the startup probe enabled (the new defaults): 27 28 ``` 29 readinessInitialDelaySeconds: 0 30 readinessPeriodSeconds: 15 31 readinessFailureThreshold: 4 32 startupProbe: 33 enabled: true 34 failureThreshold: 600 35 ``` 36 37 The recommended values to disable the startup probe (reverting the behavior to match older Istio versions): 38 39 ``` 40 readinessInitialDelaySeconds: 1 41 readinessPeriodSeconds: 2 42 readinessFailureThreshold: 30 43 startupProbe: 44 enabled: false 45 ```