You can switch a master instance to a replica instance in the event of a master instance performance failure or planned node maintenance.
Specify "switchover" for the action type of the FEPAction CR to update FEPAction CR.
Equivalent Kubernetes command: kubectl apply -f <new_spec>
The "switchover" action type requires the user to specify the name of the target cluster on which to perform the switchover. The args section is not needed for switchovers, as FEPAction internally identifies the pod to switch from and promotes a new master pod.
spec: fepAction: type: switchover targetClusterName: new-fep
Refer to "FEPAction Custom Resource Parameters" in the Reference for more information on parameters.