Background:
I've deployed a spring boot app to the openshift platform, and would like to know how to handle persistent storage in OpenShift3. I've subscribed to the free plan and have access to the console. I can use oc command, but access seems limited under my user for commands like 'oc get pv' and others.
Question
How can I get a finer control over my pvc (persistent storage claim) on OS3? Ideally, I want a shell and be able to 'list' file on that volume.
Thanks in advance for your help!
Solution
- Add storage to your pod
- use the command
oc rsh <my-pod>
to get access to the pod - cd /path-to-your-storage/