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
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
287
The script launches a Kubernetes pod named 'pvhelper' using the provided persistent volume claim name and the mount path.
288
288
You can run the 'kubectl exec' command 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 the 'kubectl delete pvhelper -n <namespace>' command to delete the Pod after it's no longer needed.
289
+
Use the 'kubectl delete pod 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
293
293
```
294
-
$ domain-on-pv-helper.sh -h
294
+
$ pv-pvc-helper.sh -h
295
295
```
296
296
297
-
The following is an example command to launch the helper pod with the PVC name `sample-domain1-weblogic-sample-pvc` and mount path `/shared`.
297
+
The following is an example command to launch the helper pod with the PVC name `sample-domain1-weblogic-sample-pvc` and mount path `/shared`.
298
+
Specifying the `-r` argument allows the script to run as the `root` user.
0 commit comments