You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/site/content/managing-domains/persistent-storage/oci-fss-pv.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,17 +16,17 @@ when the domain is initially created."
16
16
-[Provisioning PVCs on the File Storage Service (FSS)](https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengcreatingpersistentvolumeclaim_Provisioning_PVCs_on_FSS.htm#Provisioning_Persistent_Volume_Claims_on_the_FileStorageService) in the OCI documentation.
17
17
-[Setting up storage for kubernetes clusters](https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengcreatingpersistentvolumeclaim.htm) in the OCI documentation.
18
18
19
-
If you are running your Kubernetes cluster on Oracle Container Engine
20
-
for Kubernetes (commonly known as OKE), and you use Oracle Cloud Infrastructure File Storage (FSS)
21
-
for persistent volumes to store the WebLogic domain home or log files, then the file system
19
+
Oracle recommends using Oracle Cloud Infrastructure File Storage (FSS) for persistent volumes to store
20
+
the WebLogic domain home or log files when running the Kubernetes cluster on Oracle Container Engine
21
+
for Kubernetes (OKE). When using the FSS with OKE for domain home or log files, the file system
22
22
handling will require an update to properly initialize the file ownership on the persistent volume
23
23
when the domain is initially created.
24
24
25
25
{{% notice note %}}
26
26
File permission handling on persistent volumes can differ between
27
27
cloud providers and even with the underlying storage handling on
28
-
Linuxbased systems.
29
-
The operator requires permissions to create directories on the persistent volume under the shared mount path.
28
+
Linux-based systems.
29
+
The operator requires permission to create directories on the persistent volume under the shared mount path.
30
30
The following instructions provide an option to update the file ownership and permissions.
31
31
{{% /notice %}}
32
32
@@ -38,13 +38,13 @@ This script launches a Pod and mounts the specified PVC in the Pod containers at
38
38
39
39
See the `pv-pvc-helper.sh` in `Examine, change permissions or delete PV contents` section in the [README](https://github.com/oracle/weblogic-kubernetes-operator/tree/{{< latestMinorVersion >}}/kubernetes/samples/scripts/domain-lifecycle/README.md) file for the script details.
40
40
41
-
For example, run the following command to create the pod.
41
+
For example, run the following command to create the Pod.
After you get a shell to the running pod container, change the directory to `/shared` and you can change the ownership or permissions using appropriate `chown` or `chmod` commands. For example,
75
+
After you get a shell to the running Pod container, change the directory to `/shared`, and you can change the ownership or permissions using appropriate `chown` or `chmod` commands. For example,
Copy file name to clipboardExpand all lines: documentation/site/content/managing-domains/persistent-storage/pv-pvc.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ PersistentVolumes can point to different storage locations, for example NFS serv
20
20
21
21
**Note regarding HostPath**: In a single-node Kubernetes cluster, such as may be used for testing or proof of concept activities, `HOST_PATH` provides the simplest configuration. In a multinode Kubernetes cluster, a `HOST_PATH` that is located on shared storage mounted by all nodes in the Kubernetes cluster is the simplest configuration. If nodes do not have shared storage, then NFS is probably the most widely available option. There are other options listed in the referenced table.
22
22
23
-
The operator provides a sample script to create the PersistentVolume and PersistentVolumeClaim for the domain. this script must be executed before creating the domain. Beginning with Operator 4.1.0, for Domain on PV [domain home source type]({{< relref "/managing-domains/choosing-a-model/_index.md" >}}), the operator provides options to create the PV and PVC during the domain initialization. See [Domain on PV documentation]({{< relref "/managing-domains/domain-on-pv/_index.md" >}}) or the `domain.spec.configuration.initializeDomainOnPV` section in the domain resource [schema](https://github.com/oracle/weblogic-kubernetes-operator/blob/{{< latestMinorVersion >}}/documentation/domains/Domain.md) for more details.
23
+
The operator provides a sample script to create the PersistentVolume and PersistentVolumeClaim for the domain. This script must be executed before creating the domain. Beginning with operator version 4.1.0, for the Domain on PV [domain home source type]({{< relref "/managing-domains/choosing-a-model/_index.md" >}}), the operator provides options to create the PV and PVC during the domain initialization. See [Domain on PV documentation]({{< relref "/managing-domains/domain-on-pv/_index.md" >}}) or the `domain.spec.configuration.initializeDomainOnPV` section in the domain resource [schema](https://github.com/oracle/weblogic-kubernetes-operator/blob/{{< latestMinorVersion >}}/documentation/domains/Domain.md) for more details.
24
24
25
25
#### Persistent Volumes using HostPath approach
26
26
The `HOST_PATH` provider is the simplest case for creating a Persistent Volume. It requires creating a directory on the Kubernetes master and ensuring that it has the correct permissions:
@@ -35,7 +35,7 @@ Persistent volumes and claims are described in YAML files. For each PersistentVo
35
35
36
36
For sample YAML templates, refer to the [PersistentVolumes example]({{< relref "/samples/storage/_index.md" >}}).
37
37
38
-
For more details, refer to [Kubernetes examples](https://github.com/kubernetes/examples/), and the PV/PVC examples [here](https://github.com/kubernetes/examples/tree/master/staging/volumes).
38
+
For more details, refer to Kubernetes PV/PVC examples [here](https://github.com/kubernetes/examples/tree/master/staging/volumes).
Use this helper script for examining, changing permissions or deleting the contents of persistent volume (such as domain files or logs) for a WebLogic Domain on PV or Model in Image domain.
287
-
The script launches a a Kubernetes pod named as 'pvhelper' using the provided persistent volume claim name and the mount path.
288
-
You can run the 'kubectl exec' to get a shell to the running pod container and run commands to examine or clean up the contents of shared directories on persistent volume.
289
-
Use 'kubectl delete pvhelper -n <namespace>' command to delete the pod after it's no longer needed.
286
+
Use this helper script for examining, changing permissions, or deleting the contents of the persistent volume (such as domain files or logs) for a WebLogic Domain on PV or Model in Image domain.
287
+
The script launches a Kubernetes pod named 'pvhelper' using the provided persistent volume claim name and the mount path.
288
+
You can run the 'kubectl exec' to get a shell to the running pod container and run commands to examine or clean up the contents of shared directories on the persistent volume.
289
+
Use 'kubectl delete pvhelper -n <namespace>' command to delete the Pod after it's no longer needed.
290
290
291
291
Use the following command for script usage:
292
292
@@ -300,17 +300,17 @@ Following is an example command to launch the helper pod with PVC name `sample-d
0 commit comments