Skip to content

Commit aa9306e

Browse files
fix format again
1 parent 71bbdd0 commit aa9306e

File tree

1 file changed

+14
-15
lines changed
  • kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv

1 file changed

+14
-15
lines changed

kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/README.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -391,21 +391,20 @@ pod domain1-create-weblogic-sample-domain-job-4qwt2 status is Pending
391391
The create domain job is not showing status completed after waiting 300 seconds.`
392392
The most likely cause is related to the value of `persistentVolumeClaimName`, defined in `domain-home-on-pv/create-domain-inputs.yaml`. To determine if this is the problem:
393393

394-
* Execute `kubectl get all --all-namespaces` to find the name of the `create-weblogic-sample-domain-job`.
395-
* Execute `kubectl describe pod <name-of-create-weblogic-sample-domain-job>` to see if there is an event that has text similar to `persistentvolumeclaim "domain1-weblogic-sample-pvc" not found`.
396-
* Find the name of the PVC that was created by executing [create-pv-pvc.sh](../../create-weblogic-domain-pv-pvc/README.md), using `kubectl describe pvc`. It is likely to be `weblogic-sample-pvc`.
397-
398-
* Change the value of `persistentVolumeClaimName` to match the name created when you executed [create-pv-pvc.sh](../../create-weblogic-domain-pv-pvc/README.md).
399-
* Rerun the `create-domain.sh` script with the same arguments as you did before.
400-
* Verify that the operator is deployed. Use the command:
394+
* Execute `kubectl get all --all-namespaces` to find the name of the `create-weblogic-sample-domain-job`.
395+
* Execute `kubectl describe pod <name-of-create-weblogic-sample-domain-job>` to see if there is an event that has text similar to `persistentvolumeclaim "domain1-weblogic-sample-pvc" not found`.
396+
* Find the name of the PVC that was created by executing [create-pv-pvc.sh](../../create-weblogic-domain-pv-pvc/README.md), using `kubectl describe pvc`. It is likely to be `weblogic-sample-pvc`.
397+
* Change the value of `persistentVolumeClaimName` to match the name created when you executed [create-pv-pvc.sh](../../create-weblogic-domain-pv-pvc/README.md).
398+
* Rerun the `create-domain.sh` script with the same arguments as you did before.
399+
* Verify that the operator is deployed. Use the command:
401400
```
402401
kubectl get all --all-namespaces
403402
```
404403
Look for lines similar to:
405404
```
406405
weblogic-operator1 pod/weblogic-operator-
407406
```
408-
If you do not find something similar in the output, the WebLogic Operator for Kubernetes may not have been installed completely. Review the operator [installation instructions](../../../../../site/install.md).
407+
If you do not find something similar in the output, the WebLogic Operator for Kubernetes may not have been installed completely. Review the operator [installation instructions](../../../../../site/install.md).
409408

410409

411410
2. Message: `ERROR: Unable to create folder /shared/domains`
@@ -419,17 +418,17 @@ create-domain.sh
419418
```
420419
A correct value for `weblogicDomainStoragePath` will meet the following requirements:
421420

422-
* Must be the name of a directory.
423-
* The directory must be world writable.
421+
* Must be the name of a directory.
422+
* The directory must be world writable.
424423

425424
Optionally, follow these steps to tighten permissions on the named directory after you run the sample the first time:
426425

427-
* Become the root user.
428-
* `ls -nd $value-of-weblogicDomainStoragePath`
426+
* Become the root user.
427+
* `ls -nd $value-of-weblogicDomainStoragePath`
429428
* Note the values of the third and fourth field of the output.
430-
* `chown $third-field:$fourth-field $value-of-weblogicDomainStoragePath`
431-
* `chmod 755 $value-of-weblogicDomainStoragePath`
432-
* Return to your normal user ID.
429+
* `chown $third-field:$fourth-field $value-of-weblogicDomainStoragePath`
430+
* `chmod 755 $value-of-weblogicDomainStoragePath`
431+
* Return to your normal user ID.
433432

434433
3. Message: `ERROR: The create domain job will not overwrite an existing domain. The domain folder /shared/domains/domain1 already exists`
435434
You will see this message if the directory `domains/domain1` exists in the directory named as the value of `weblogicDomainStoragePath` in `create-pv-pvc-inputs.yaml`. For example, if the value of `weblogicDomainStoragePath` is `/tmp/wls-op-4-k8s`, you would need to remove (or move) `/tmp/wls-op-4-k8s/domains/domain1`.

0 commit comments

Comments
 (0)