How to upgrade Sitecore Managed Cloud Containers solutions to AKS 1.23


Description

The end of life of Azure Kubernetes Service (AKS) 1.22 is November 2022. Sitecore Managed Cloud Containers solutions, based on AKS 1.22, must be updated to a newer version that uses AKS 1.23. For more details on AKS's end of life and the consequences of deprecation refer to here.

Upgrade your solution only if the version you have is lower than the ones listed below in the Solutions section. To find out the version of your solution, view the solution.json file in the infrastructure repository of your Managed Cloud Containers Azure DevOps project.

This article contains upgrade instructions for the Sitecore Managed Cloud Containers solution to the version that uses AKS 1.23.

Breaking Changes

Upgrading the AKS version from 1.22 to 1.23 introduces some breaking changes:

Upgrade Instructions

  1. Download an upgrade package for the required topology and version from the storage.
    There is a list of available upgrade packages:
    • Sitecore 10.1.0:
      • mcc.xp.upgrade.10.1.0-r.0.1.263672.nupkg
      • mcc.xm.upgrade.10.1.0-r.0.1. 263672.nupkg
      • mcc.xc.upgrade.10.1.0-r.0.1. 263672.nupkg
    • Sitecore 10.1.1:
      • mcc.xp.upgrade.10.1.1-r.0.1.263671.nupkg
      • mcc.xm.upgrade.10.1.1-r.0.1.263671.nupkg
    • Sitecore 10.1.2:
      • mcc.xp.upgrade.10.1.2-r.0.1.263669.nupkg
      • mcc.xm.upgrade.10.1.2-r.0.1.263669.nupkg
    • Sitecore 10.2.0:
      • mcc.xp.upgrade.10.2.0-r.0.1. 263668.nupkg
      • mcc.xm.upgrade.10.2.0-r.0.1. 263668.nupkg
  2. Install the upgrade package to your solution (follow the guideline for Sitecore 10.1 or Sitecore 10.2)
  3. Run the Infrastructure pipeline.
  4. Run the Application pipeline.
  5. Run the check cluster upgrades pipeline.
  6. Run the cluster version upgrade pipeline (Kubernetes_version 1.23.* - select the latest available patch version received from the pipeline in step 5).

Init Containers Entrypoint Override

Image entry point override can be accomplished via k8s pod container specification using additional cmd and args added as shown below. For example: