The software described in this documentation is either no longer supported or is in extended support.
Oracle recommends that you upgrade to a current supported release.

2.3 Updating the Kubernetes Cluster

Update the cluster to the latest Kubernetes errata release.

On the operator node, use the olcnectl module update command to update to the latest Kubernetes errata release. This example updates a Kubernetes module named mycluster in the myenvironment environment to the latest Kubernetes errata release:

$ olcnectl --api-server 127.0.0.1:8091 module update \
  --environment-name myenvironment \
  --name mycluster

If you are using the NGINX load balancer deployed by the Platform CLI, you should also update NGINX on the master nodes. You specify the location from which to pull the NGINX container image used to update NGINX using the --nginx-image option.

For example, include this additional line in the olcnectl module update command to update NGINX from the Oracle Container Registry:

  --nginx-image container-registry.oracle.com/olcne/nginx:1.17.7
Important

Make sure you update to the latest NGINX release. To get the version number of the latest NGINX container image, see Release Notes.

The nodes in the cluster are updated to the latest errata release and the cluster's health is validated.

Important

If you are updating from Release 1.1.x to 1.1.10, you must also update your cluster to configure access to externalIPs. For information on the steps required, see Section 2.4, “Updating to Release 1.1.10”.