Skip to content

Commit 938d50f

Browse files
committed
OWLS-66101, Site documentation for persistent volumes
1 parent 3789710 commit 938d50f

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

site/persistent-volumes.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ The following prerequisites must be fulfilled before proceeding with the creatio
1414
For sample YAML templates, please refer to this example.
1515
* [Persistent Volumes example](../kubernetes/samples/scripts/create-weblogic-domain-pv-pvc/README.md)
1616

17-
## Naming conventions
18-
19-
Persistent volumes and claims and their properties are described in YAML files. For each PV, you should create one PV YAML file and one PVC YAML file. In the example above, you will find 2 YAML templates, one for the PV and one for the PVC. The example suggest that you name the PV and PVC [domainUID]-[baseName]-pv and [domainUID]-[baseName]-pvc respectively, where domainUID is the ID of the domain resource to which the generated PV and PVC will be dedicated, and baseName is the base name of the PV and PVC.
17+
Persistent volumes and claims and their properties are described in YAML files. For each PV, you should create one PV YAML file and one PVC YAML file. In the example above, you will find 2 YAML templates, one for the PV and one for the PVC. They can either be dedicated to a specific domain, or shared across multiple domains. For the use cases where a dedicated for a particular domain, it is a best practice to label it with weblogic.domainUID=[domain name]. This makes it easy to search for, and clean up, resources associated with that particular domain.
2018

2119
## Storage locations
2220
PVs can point to different storage locations, for example NFS server storage or local path. Please read the [Kubernetes documentation](https://kubernetes.io/docs/concepts/storage/persistent-volumes/) regarding on how to configure this.
@@ -31,12 +29,6 @@ After you have written your YAML files, please use them to create the PV by crea
3129
3230
```
3331

34-
## Shared versus dedicated PVC
35-
36-
By default, the `domainUID` is left empty in the inputs file so that the generated PV and PVC can be shared by multiple domain resources in the same Kubernetes namespaces.
37-
38-
For the use cases where a dedicated PV and PVC is desired for a particular domain, the `domainUID` can be set, which will cause the generated PV and PVC to be associated with the specified `domainUID`. In the per domain PV and PVC case, the names of the generated YAML files and the Kubernetes PV and PVC objects are decorated with the `domainUID`, and the PV and PVC objects are also labeled with the `domainUID`.
39-
4032
# Common problems
4133

4234
This section provides details of common problems that might occur while running the script and how to resolve them.
@@ -55,5 +47,3 @@ To confirm that the PV and PVC were created, use these commands:
5547
kubectl describe pv [PV name]
5648
kubectl describe pvc -n NAMESPACE [PVC name]
5749
```
58-
59-
Replace `NAMESPACE` with the namespace that the PVC was created in.

0 commit comments

Comments
 (0)