Repository navigation
Regarding Annotations/Label #61963
Replies: 2 comments 1 reply
|
The Beta label isn't the risky half here. On K8s 1.35 the underlying sidecar containers feature is GA, and recent Istio versions turn native sidecars on by default when the cluster supports them, so on 1.29 the annotation is probably redundant. Check one of your pods: kubectl get pod <pod> -o jsonpath='{range .spec.initContainers[*]}{.name}={.restartPolicy}{" "}{end}'If istio-proxy shows under initContainers with The actual risk is ordering: with native sidecars your app containers wait on the proxy's startupProbe, so a wedged proxy delays app start, and older tooling that only reads — |
|
@Parth-Sabhadiya-Imprivata the override itself is sound: on 1.29 the annotation gives those pods exactly the sidecar the flag would, and nothing else in istiod treats them differently. How stable it is comes down to its Alpha status, below. The annotation "Takes precedence over the ENABLE_NATIVE_SIDECARS environment variable" (its description in istio/api), and the injection template reads For production:
|
Uh oh!
There was an error while loading. Please reload this page.
Hi Everyone! We want to use sidecar.istio.io/inject (label, Beta since 2021) and sidecar.istio.io/nativeSidecar (annotation, Alpha since 2024) on specific pods -- Istio 1.29, K8s 1.35, both working well. Given the label has been Beta for 3+ years and the annotation is relatively new Alpha, are there any known risks or planned breaking changes we should be aware of before relying on these in production?
All reactions