Skip to content

Commit e6aa250

Browse files
committed
OWLS-66101, Additional documentation based on review
1 parent 368af47 commit e6aa250

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

site/persistent-volumes.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ The following prerequisites must be fulfilled before proceeding with the creatio
1111
* Make sure that the host directory that will be used already exists and has the appropriate file permissions set.
1212

1313
## Storage locations
14-
Persistent volumes can point to different storage locations, for example NFS servers or a local directory path. Please read the [Kubernetes documentation](https://kubernetes.io/docs/concepts/storage/persistent-volumes/) regarding on how to configure this.
14+
Persistent volumes can point to different storage locations, for example NFS servers or a local directory path. The list of available options is listed in the [Kubernetes documentation](https://kubernetes.io/docs/concepts/storage/persistent-volumes/).
1515

16-
Note regarding NFS:
16+
Note regarding NFS:
1717
In the current GA version, the OCI Container Engine for Kubernetes supports network block storage that can be shared across nodes with access permission RWOnce (meaning that only one can write, others can read only). At this time, the WebLogic on Kubernetes domain created by the WebLogic Server Kubernetes Operator, requires a shared file system to store the WebLogic domain configuration, which MUST be accessible from all the pods across the nodes. As a workaround, you need to install an NFS server on one node and share the file system across all the nodes.
1818

1919
Currently, we recommend that you use NFS version 3.0 for running WebLogic Server on OCI Container Engine for Kubernetes. During certification, we found that when using NFS 4.0, the servers in the WebLogic domain went into a failed state intermittently. Because multiple threads use NFS (default store, diagnostics store, Node Manager, logging, and domain_home), there are issues when accessing the file store. These issues are removed by changing the NFS to version 3.0.
2020

2121
# YAML files
2222

23-
Persistent volumes and claims are described in YAML files. For each persistent volume, you should create one persistent volume YAML file and one persistent volume claim YAML file. In the example above, you will find 2 YAML templates, one for the persistent volume and one for the persistent volume claim. 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.
23+
Persistent volumes and claims are described in YAML files. For each persistent volume, you should create one persistent volume YAML file and one persistent volume claim YAML file. In the example below, you will find 2 YAML templates, one for the volume and one for the claim. As stated above, they can either be dedicated to a specific domain, or shared across multiple domains. For the use cases where a volume will be dedicated to 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.
2424

2525
For sample YAML templates, please refer to this example.
2626
* [Persistent Volumes example](../kubernetes/samples/scripts/create-weblogic-domain-pv-pvc/README.md)
@@ -35,6 +35,16 @@ After you have written your YAML files, please use them to create the persistent
3535
3636
```
3737

38+
# Verify the results
39+
40+
To confirm that the persistent volume was created, use these commands:
41+
42+
```
43+
kubectl describe pv [persistent volume name]
44+
kubectl describe pvc -n NAMESPACE [persistent volume claim name]
45+
46+
```
47+
3848
# Common problems
3949

4050
This section provides details of common problems that might occur while running the script and how to resolve them.
@@ -43,16 +53,7 @@ This section provides details of common problems that might occur while running
4353

4454
Possibly the most common problem experienced during testing was the incorrect configuration of the persistent volume provider. The persistent volume must be accessible to all Kubernetes nodes, and must be able to be mounted as Read/Write/Many. If this is not the case, the persistent volume creation will fail.
4555

46-
The simplest case is where the `HOST_PATH` provider is used. This can be either with one Kubernetes node, or with the `HOST_PATH` residing in shared storage available at the same location on every node (for example, on an NFS mount). In this case, the path used for the persistent volume must have its permission bits set to 777.
47-
48-
# Verify the results
49-
50-
To confirm that the persistent volume was created, use these commands:
51-
52-
```
53-
kubectl describe pv [persistent volume name]
54-
kubectl describe pvc -n NAMESPACE [persistent volume claim name]
55-
```
56+
The simplest case is where the `HOST_PATH` provider is used. This can be either with one Kubernetes node, or with the `HOST_PATH` residing in shared storage available at the same location on every node (for example, on an NFS mount). In this case, the path used for the persistent volume must have its permission bits set to 777.
5657

5758
# Further reading
5859

0 commit comments

Comments
 (0)