Skip to content

Commit e610c88

Browse files
committed
wip
1 parent 92978be commit e610c88

File tree

1 file changed

+9
-4
lines changed
  • kubernetes/samples/scripts/create-weblogic-domain-pv-pvc

1 file changed

+9
-4
lines changed

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

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ Prior to running the `create-pv-pvc.sh` script, make a copy of the `create-pv-pv
1616
Run the create script, pointing it at your inputs file and an output directory:
1717

1818
```
19-
./create-pv-pvc.sh \
19+
$ ./create-pv-pvc.sh \
2020
-i create-pv-pvc-inputs.yaml \
2121
-o /path/to/output-directory
2222
```
2323

24-
The `create-pv-pvc.sh` script will create a subdirectory `pv-pvcs` under the given `/path/to/output-directory` directory. By default, the script generates two YAML files, namely `weblogic-sample-pv.yaml` and `weblogic-sample-pvc.yaml`, in the `/path/to/output-directory` `directory/pv-pvcs`. These two YAML files can be used to create the Kubernetes resources using the `kubectl create -f` command.
24+
The `create-pv-pvc.sh` script will create a subdirectory `pv-pvcs` under the given `/path/to/output-directory` directory. By default, the script generates two YAML files, namely `weblogic-sample-pv.yaml` and `weblogic-sample-pvc.yaml`, in the `/path/to/output-directory/pv-pvcs`. These two YAML files can be used to create the Kubernetes resources using the `kubectl create -f` command.
2525

2626
```
27-
kubectl create -f weblogic-sample-pv.yaml
28-
kubectl create -f weblogic-sample-pvc.yaml
27+
$ kubectl create -f weblogic-sample-pv.yaml
28+
$ kubectl create -f weblogic-sample-pvc.yaml
2929
3030
```
3131

@@ -173,6 +173,9 @@ spec:
173173

174174
### Verify the PV and PVC objects
175175

176+
You can use this command to verify the persistent volume was created, note that the 'Status' field
177+
should have the value 'Bound', indicating the that persistent volume has been claimed:
178+
176179
```
177180
$ kubectl describe pv weblogic-sample-pv
178181
Name: weblogic-sample-pv
@@ -193,6 +196,8 @@ Events: <none>
193196
194197
```
195198

199+
You can use this command to verify the persistent volume claim was created:
200+
196201
```
197202
$ kubectl describe pvc weblogic-sample-pvc
198203
Name: weblogic-sample-pvc

0 commit comments

Comments
 (0)