Skip to content

Commit 655d0a1

Browse files
committed
Add a note
Signed-off-by: doxiao <[email protected]>
1 parent 8400f15 commit 655d0a1

File tree

1 file changed

+6
-0
lines changed
  • kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image

1 file changed

+6
-0
lines changed

kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ $ create-weblogic-credentials.sh
2626

2727
## Use the script to create a domain
2828

29+
**Note**: The `create-domain.sh` script generates a new Docker image on each run with a new domain home and a different internal `domain secret` in it. To prevent having disparate images with different domain secrets in the same domain, it is highly recommended that a new domain uses a `domainUID` that is different from any of the active domains, or that you delete the existing domain resource before you create a domain with the same `domainUID` using the following command (and wait until all the server pods are terminated):
30+
31+
```
32+
$kubectl delete domain [domainUID] -n [domainNameSpace]
33+
```
34+
2935
Make a copy of the `create-domain-inputs.yaml` file, and run the create script, pointing it at your inputs file and an output directory:
3036

3137
```

0 commit comments

Comments
 (0)