Stop the running business application before executing the major version upgrade.
Next, edit "spec.fepChildCrVal.customPgHba" of the data source FEPCluster Custom Resource to allow the connection of the upgrade execution container.
The addresses that are allowed to connect are specified as follows:
<fep>-upgrade-pod.<fep>- upgrade-headless-svc.<namespace>.svc.cluster.local
<fep> specifies the name of the newly created FEPCluster Custom Resource.
The authentication method can be either trust/md5/cert.
Example of Editing a FEPCluster Custom Resource in a Data Source:
apiVersion: fep.fujitsu.io/v2
kind: FEPCluster
metadata:
name: source-fep
namespace: my-namespace
spec:
fepChildCrVal:
customPgHba: |
host all all destination-fep-upgrade-pod. destination-fep-upgrade-headless-svc. my-namespace.svc.cluster.local trust
...