If "spec.fepChildCrVal.upgrade" is defined for the FEPCluster custom resource, the FEPUpgrade custom resource is defined.
The parameters are as follows:
Field | Default | Details |
|---|---|---|
apiVersion | fep.fujitsu.io/v1 | Fixed |
kind | FEPUpgrade | Fixed |
metadata.name | Same as FEPClusterCR | Fixed |
metadata.namespace | Same as FEPClusterCR | Fixed |
spec.upgrade | ||
spec.upgrade.sourceCluster | Specifies the FEPClusterCR name from which to migrate data. Required. | |
spec.upgrade.mcSpec.limits | cpu: 200m memory: 300Mi | Optional Specifies the maximum number of resources to allocate to the upgrade execution container. |
spec.upgrade.mcSpec.requests | cpu: 100m memory: 200Mi | Optional Specifies the lower limit of resources allocated to the upgrade execution container. |
spec.upgrade.image | Optional If omitted, the URL for image is obtained from the operator container environment. | |
spec.upgrade.imagePullPolicy | IfNotPresent | Optional Specifies the pull policy for the container image.
|
spec.upgrade.source.pgAdminTls.certificateName | Optional If you do not define spec.fepChildCrVal.sysUsers.pgAdminTls.certificateName for the data source, it points to the Kubernetes TLS secret that contains the certificate for the Postgres user "postgres" in the data source. If the data source FEP has set the authentication method for the upgrade execution container to "cert", then the upgrade execution container uses the certificate defined as secret. | |
spec.upgrade.destination.pgAdminTls.certificateName | Optional If you have not defined the spec.fepChildCrVal.sysUsers.pgAdminTls.certificateName of the newly created FEPCluster, it points to the Kubernetes TLS secret that contains the certificate of the Postgres user "postgres" in the data source. If you create a new FEP with the "cert" authentication method for the upgrade execution container, the upgrade execution container uses the certificate defined as secret. | |
spec.upgrade.storage | Optional Defines the storage for storing dump files. | |
spec.upgrade.storage.storageClass | Optional If omitted, the default storage class for your environment is used. | |
spec.upgrade.storage.size | 2Gi | Optional Specifies the size of the storage to store the dump file. |
spec.upgrade.storage.accessModes | ReadWriteOnce | Optional accessModes for store the dump file Specified as an array of accessModes e.g. [ReadWriteMany] If omitted, it will be treated as [ReadWriteOnce] |