How to upgrade the Istio ControlPlane Package chart📜
- Checkout the branch that renovate created. This branch will have the image tag updates and typically some other necessary version changes that you will want. You can either work off of this branch or branch off of it.
- Update the dashboards via
kpt
. You should be able to runkpt pkg update chart/dashboards@<version> --strategy force-delete-replace
(ex:kpt pkg update chart/dashboards@1.14.3 --strategy force-delete-replace
). - Update version references for the Chart.
version
should be<version>-bb.0
(ex:1.14.3-bb.0
) andappVersion
should be<version>
(ex:1.14.3
). Also validate that the BB annotation for the main Istio version is updated (leave the Tetrate version as-is unless you are updating those images). - Add a changelog entry for the update. At minimum mention updating the image versions.
- Update the readme following the steps in Gluon.
- Open MR (or check the one that Renovate created for you) and validate that the pipeline is successful. Also follow the testing steps below for some manual confirmations.
Testing new Istio ControlPlane version📜
Generally the controlplane update should be tested alongside the new operator version. Follow the steps below for testing both. You should perform these steps on both a clean install and an upgrade from BB master.
- Update your values overrides to point to your branches for both the operator and controlplane, and enable/disable other apps needed for testing:
istio: git: tag: null branch: "renovate/ironbank" # Or your branch istioOperator: git: tag: null branch: "renovate/ironbank" # Or your branch jaeger: enabled: true monitoring: enabled: true grafana: enabled: true kiali: enabled: true tempo: enabled: false
- To more thoroughly test Istio, deploy the following:
- Jaeger with SSO enabled. Use the dev sso values for Jaeger here. Also, be sure to disable Tempo (necessary to deploy Jaeger in this way).
- Kiali
- Monitoring
- Grafana
- Navigate to Jaeger (https://tracing.dev.bigbang.mil/) and validate you are prompted to login with SSO and that the login is successful. This verifies that Authservice is working as an Istio extension.
- Navigate to Prometheus and validate that the Istio targets are up (under Status -> Targets). There should be targets for istio-envoy, istio-operator and istio-pilot.
- Navigate to Grafana (https://grafana.dev.bigbang.mil/) and validate that the Istio dashboards are present and show some data. You may need to alter filters to pick a workload that has information showing.
- Since Kiali interfaces with Istio for most of its information it is a good idea to validate its functionality. To do this, perform the test steps here.
- Once you’ve confirmed that the package tests above pass, also test your branches against Big Bang per the steps in this document.
Last update:
2024-05-16 by Greg M