UNCLASSIFIED - NO CUI

Skip to content

istio update to 1.22.2-bb.2

Package Merge Request

Package Changes

https://repo1.dso.mil/big-bang/product/packages/istio-controlplane/-/blob/1.22.2-bb.2/CHANGELOG.md

Package MR

big-bang/product/packages/istio-controlplane!301 (merged)

For Issue

Closes #2048 (closed)

Upgrade Notices

This prefers an upgrade to K8s 1.29 for native sidecars. This gets rid of the istioproxy container and instead builds it into the existing container. This allows jobs to exit gracefully (rather than staying alive forever because istioproxy won't exit), and allows init containers to run because envoy is built into each of them rather than coming up after init containers would run. This requires .Values.values.pilot.env contains {"ENABLE_NATIVE_SIDECARS": true}, so if you are currently passing values there, make sure to add this to them.

You can run this on 1.28 by enabling the SidecarContainers feature gate.

When upgrading, if desired, you can, but don't have to, force the switch to init containers immediately by restarting all of your istiosupporting pods, e.g.

for ns in $(kubectl get ns -l app.kubernetes.io/part-of=bigbang,istio-injection=enabled -o custom-columns=":metadata.name"); do
  kubectl rollout restart deployment -n $ns
  kubectl rollout restart statefulset -n $ns
  kubectl rollout restart daemonset -n $ns
done

If you don't do this immediately, they will switch to init containers on their next restart, but this should be backwards compatible with the istioproxy sidecar containers.

Edited by Michael Martin

Merge request reports