openshift-cookbook
openshift-cookbook copied to clipboard
Suggest a topic
For support questions about OpenShift, please use StackOverflow.
This repository's issue tracker is only for issues related to the OpenShift cookbook content. It is not a forum for asking about how to use OpenShift, or to get help with problems you are having with using OpenShift.
This issue template is for suggesting a new topic to be included in the OpenShift cookbook. Please provide answers to the following questions.
What is the new topic you would like to added to the OpenShift cookbook?
Summarize storage use
If this is to help you solve a specific problem, can you describe that problem?
See how much disk space is being used in a project. Basically, add up all the PVC's requested. Not sure if there are any other items to consider. Trying to answer a basic "how much storage do I need" for a project after building it up over time.
This is one option:
oc get pvc | tail +2 | awk -F" +" '{sum += $4} END { print sum }'