Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest a topic #19

Open
davidishee opened this issue Jun 2, 2020 · 1 comment
Open

Suggest a topic #19

davidishee opened this issue Jun 2, 2020 · 1 comment

Comments

@davidishee
Copy link

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.

@davidishee
Copy link
Author

This is one option:

oc get pvc | tail +2 | awk -F" +" '{sum += $4} END { print sum }'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant