Move MII/JRF domains to PV
FMW/JRF domains using the Model in Image domain home source type has been deprecated since WebLogic Kubernetes Operator 4.1. We recommend moving your domain home to Domain on Persistent Volume (Domain on PV). For more information, see Domain On Persistent Volume .
If you cannot move the domain to a persistent volume right now, you can use the following procedure.
-
Back up the OPSS wallet and save it in a secret if you have not already done it.
The operator provides a helper script, the OPSS wallet utility , for extracting the wallet file and storing it in a Kubernetes
walletFileSecret. In addition, you should save the wallet file in a safely backed-up location, outside of Kubernetes. For example, the following command saves the OPSS wallet for thesample-domain1domain in thesample-nsnamespace to a file namedewallet.p12in the/tmpdirectory and also stores it in the wallet secret namedsample-domain1-opss-walletfile-secret. -
Follow the steps in Upgrade managed domains .
-
If you are using an auxiliary image in your MII/JRF domain, then it will be used as a domain creation image. If you are not using an auxiliary image in your MII/JRF domain, then create a Domain creation image .
-
You can delete the old domain resource YAML file by using this command:
$ kubectl delete -f <original domain resource YAML>. -
Then, create a new domain resource YAML file. You should have at least the following changes:
-
Deploy the domain. If it is successful, then the domain has been migrated to a persistent volume.