This article outlines the configuration steps required for the Avi Kubernetes Operator (AKO) when migrating the CNI plugin from OpenShift SDN to OVN-Kubernetes.
Please follow these steps to update the CNIPlugin in Avi Kubernetes Operator
Important: Before initiating the migration, validate that the current and new CNI configurations are mutually compatible
Note:
Step-1: Login to your Kubernetes cluster and identify the AKO config-map name:
user@####-####:~$ kubectl get configmap -n <namespace>
NAME DATA AGE
avi-k8s-config 46 49d
Steps-2: Edit the config-map by running the command
user@####-####:~$ kubectl edit configmap <config-map-name> -n <namespace>
3. Restart the AKO pod for the changes to reflect
kubectl delete <ako-pod-name> -n <namespace>
Note: Updating the config-map and restarting the AKO pod is the only requirement from the AKO side to complete the CNI plugin transition.