4 Upgrade a Bring Your Own Cluster
Upgrade a Kubernetes cluster using the Bring Your Own (BYO) provider. 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:
-
Create a Release 2 cluster configuration file.
-
Create an OSTree image.
-
Create Ignition files.
-
Set up the automated Oracle Linux installation. This includes creating a Kickstart file to use the OSTree image and Ignition configuration 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.
-
Reboot the node using the Kickstart appropriate to the role (control plane or worker 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.
-