Skip to content

Commit 772d5ea

Browse files
committed
Minor editorial changes
Signed-off-by: doxiao <[email protected]>
1 parent e10b009 commit 772d5ea

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -183,29 +183,27 @@ There are times when a running domain needs to be updated with modified properti
183183
This can be achieved by following the steps below. For convenience of discussion, we assume that the domain is originally created by the following example command, where `/path/to/weblogic-operator-output-directory` is a directory that is created in advance to store the files that are generated by the operator.
184184

185185
```
186-
./create-weblogic-domain.sh \
187-
-i create-domain-job-inputs.yaml \
188-
-o /path/to/weblogic-operator-output-directory
189-
186+
./create-weblogic-domain.sh \
187+
-i create-domain-job-inputs.yaml \
188+
-o /path/to/weblogic-operator-output-directory
190189
```
191190

192191
* Delete the domain using the [Delete WebLogic domain resources](kubernetes/delete-weblogic-domain-resources.sh) script.
193192

194193
```
195-
./delete-weblogic-domain-resources.sh -d <domainUID>
194+
./delete-weblogic-domain-resources.sh -d <domainUID>
196195
197196
````
198197
* Delete the contents of the physical volume using the appropriate tools.
199-
* Delete the contents in the `weblogic-domains/<domainUID>` directory under `/path/to/weblogic-operator-output-directory`, which is used in the previous run of the [Create WebLogic domain](kubectles/create-weblogic-domain.sh) script.
198+
* Delete the contents in the `weblogic-domains/<domainUID>` directory under the output directory that is used when the domain is originally created, which is `/path/to/weblogic-operator-output-directory` in our example.
200199
* Modify the create WebLogic domain inputs file `create-domain-job-inputs.yaml`.
201-
* Recreate all resources that are labeled with the `domainUID`, but are NOT created by the [Create WebLogic domain](kubernetes/create-weblogic-domain.sh) script. One example of such resources is the `secret` for the domain credentials, which often is created manually and may be labeled with `domainUID`. Any resources that are not labeled with the `domainUID` is not deleted by the [Delete WebLogic domain resources](kubernetes/delete-weblogic-domain-resources.sh) script, and therefore, do not need to be recreated.
200+
* Recreate all resources that are labeled with the `domainUID`, but are not created by the [Create WebLogic domain](kubernetes/create-weblogic-domain.sh) script. One example of such resources is the `secret` for the domain credentials, which often is created manually and may be labeled with `domainUID`. Any resources that are not labeled with the `domainUID` is not deleted by the [Delete WebLogic domain resources](kubernetes/delete-weblogic-domain-resources.sh) script, and therefore, do not need to be recreated.
202201
* Recreate the domain using the [Create WebLogic domain](kubectles/create-weblogic-domain.sh) script with the modified create WebLogic domain inputs file.
203202
204-
If for some reason the last step failed, repeat the steps above after deleting the failed create WebLogic domain job using the following command. The `<output-dir>` is the directory that is passed to the create WebLogic domain script via `-o`. It is `/path/to/weblogic-operator-output-directory` in our example.
203+
If for some reason the last step failed, repeat the steps above after deleting the failed create WebLogic domain job using the following command. The `<output-dir>` is the directory that is passed to the create WebLogic domain script via `-o`, which is `/path/to/weblogic-operator-output-directory` in our example.
205204
206205
```
207-
kubectl delete -f <output-dir>/weblogic-domains/<domainUID>/create-weblogic-domain-job.yaml
208-
206+
kubectl delete -f <output-dir>/weblogic-domains/<domainUID>/create-weblogic-domain-job.yaml
209207
```
210208
211209
## Removing the operator

0 commit comments

Comments
 (0)