6 Upgrade an OCI Cluster
Upgrade a cluster running on Oracle Cloud Infrastructure (OCI). Use this to upgrade a cluster from Oracle CNE Release 1 to Release 2
The steps to upgrade a Release 1 cluster to Release 2 are:
-
Set up OCI.
-
Create a Release 2 cluster configuration file.
-
Create an Oracle Container Host for Kubernetes (OCK) image.
-
Create Ignition files.
-
Decide the order of the nodes to upgrade.
Important:
The control planes nodes must be upgraded first, then worker nodes.
Upgrade one node at a time. For each node in the cluster:
-
Drain the node, and reset the node.
-
Add the node back into the cluster using the Release 2 Ignition configuration.
-
Replace the boot volume and reboot the node. The node is joined to the cluster, using the Release 2 OS, as the appropriate role.
-
Uncordon the node.
-
Validate the node is upgraded.
-