Prepare the Release 2 Configuration
Set up the configuration for an Oracle CNE Release 2 cluster.
Creating a Cluster Configuration File
Create a cluster configuration file to match the configuration of the Release 1 cluster. Ensure you include any custom configuration identified in OS Customizations. The options you set must match the Release 1 cluster, for example, the cluster name must be the same.
Create a cluster configuration file. The minimum configuration required is:
provider: byo
name: cluster_name
kubernetesVersion: kube_version
loadBalancer: ip_address
providers:
byo:
networkInterface: nic_name
For information on what can be included in a cluster configuration file, see Oracle Cloud Native Environment: Kubernetes Clusters.
For example:
provider: byo
name: mycluster
kubernetesVersion: 1.29
loadBalancer: 192.0.2.100
providers:
byo:
networkInterface: enp1s0
Creating an OSTree Image
Before you begin, identify the version of Kubernetes running in the Oracle CNE Release 1 cluster.
Creating Ignition Files
In Release 2, Ignition files are needed to join a node to a Kubernetes cluster. The settings in an Ignition file differ for control plane and worker nodes, so create an Ignition file for each of the cluster node types. You include these Ignition files in the Kickstart file that's used to boot nodes when upgrading the host OS to the Release 2 OS.
Creating an Automated Oracle Linux Installation
Create two Kickstart files, one to start control plane nodes, and one to start worker nodes. They're highly likely to be identical, but must include references to the appropriate Ignition file for the Kubernetes node type.
Note:
To retain existing host IP addresses, ensure you create one Kickstart file for each node and include the IP address configuration. Adjust the steps in this upgrade as appropriate.