Upgrade a Kubernetes cluster

These instructions describe how to upgrade a Kubernetes cluster created using kubeadm on which an Oracle SOA Suite domain is deployed. A rolling upgrade approach is used to upgrade nodes (master and worker) of the Kubernetes cluster.

It is expected that there will be a down time during the upgrade of the Kubernetes cluster as the nodes need to be drained as part of the upgrade process.

Prerequisites

  • Review Prerequisites and ensure that your Kubernetes cluster is ready for upgrade. Make sure your environment meets all prerequisites.
  • Make sure the database used for the SOA domain deployment is up and running during the upgrade process.

Upgrade the Kubernetes version

An upgrade of Kubernetes is supported from one MINOR version to the next MINOR version, or between PATCH versions of the same MINOR. For example, you can upgrade from 1.x to 1.x+1, but not from 1.x to 1.x+2. To upgrade a Kubernetes version, first all the master nodes of the Kubernetes cluster must be upgraded sequentially, followed by the sequential upgrade of each worker node.

  • See here for Kubernetes official documentation to upgrade from 1.19 to 1.20
  • See here for Kubernetes official documentation to upgrade from 1.20 to 1.21
  • See here for Kubernetes official documentation to upgrade from 1.21 to 1.22
  • See here for Kubernetes official documentation to upgrade from 1.22 to 1.23