×

As a Red Hat OpenShift Service on AWS (ROSA) (classic architecture) cluster administrator, you can initiate the migration from the OpenShift SDN network plugin to the OVN-Kubernetes network plugin and verify the migration status using the ROSA CLI.

Some considerations before starting migration initiation are:

  • The cluster version must be 4.16.24 and above.

  • The migration process cannot be interrupted.

  • Migrating back to the SDN network plugin is not possible.

  • Cluster nodes will be rebooted during migration.

  • There will be no impact to workloads that are resilient to node disruptions.

  • Migration time can vary between several minutes and hours, depending on the cluster size and workload configurations.

Initiate migration using the ROSA CLI

You can only initiate migration on clusters that are version 4.16.24 and above.

To initiate the migration, run the following command:

$ rosa edit cluster -c <cluster_id> (1)
  --network-type OVNKubernetes
  --ovn-internal-subnets <configuration> (2)
1 Replace <cluster_id> with the ID of the cluster you want to migrate to the OVN-Kubernetes network plugin.
2 Optional: Users can create key-value pairs to configure internal subnets using any or all of the options join, masquerade, transit along with a single CIDR per option. For example, --ovn-internal-subnets="join=0.0.0.0/24,transit=0.0.0.0/24,masquerade=0.0.0.0/24".

You cannot include the optional flag --ovn-internal-subnets in the command unless you define a value for the flag --network-type.

Verify migration status using the ROSA CLI

To check the status of the migration, run the following command:

$ rosa describe cluster -c <cluster_id> (1)
1 Replace <cluster_id> with the ID of the cluster to check the migration status.