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:

  1. Create a Release 2 cluster configuration file.

  2. Create an OSTree image.

  3. Create Ignition files.

  4. Set up the automated Oracle Linux installation. This includes creating a Kickstart file to use the OSTree image and Ignition configuration files.

  5. 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:

    1. Drain the node, and reset the node.

    2. Add the node back into the cluster using the Release 2 Ignition configuration.

    3. 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.

    4. Uncordon the node.

    5. Validate the node is upgraded.