5 Upgrade an Oracle Linux Virtualization Manager Cluster
Upgrade a Kubernetes cluster running on Oracle Linux Virtualization Manager. Use this to upgrade a cluster from Oracle CNE Release 1 to Release 2
To upgrade a Kubernetes cluster running on Oracle Linux Virtualization Manager, you can use the steps in Upgrade a Bring Your Own Cluster, which uses a Kickstart file to change the host OS, or the steps outlined in this section, which uses the Oracle Linux Virtualization Manager console to replace the boot disk.
The steps to upgrade a Release 1 cluster to Release 2 are:
-
Create a Release 2 cluster configuration file.
-
Create an Oracle Container Host for Kubernetes (OCK) image.
-
Create Ignition files.
- Create configuration disks that contain the Ignition configuration.
-
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 disk, add the configuration disk, 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.
-