Last active
July 2, 2019 19:35
-
-
Save liveaverage/2697df78d13c0b87be0b00600903e228 to your computer and use it in GitHub Desktop.
Sample Resource Quota Patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spec: | |
hard: | |
limited-use-nfs.storageclass.storage.k8s.io/requests.storage: "0" | |
limited-use-nfs.storageclass.storage.k8s.io/persistentvolumeclaims: "0" |
Base command to apply/create quota:
oc apply -f https://gist.githubusercontent.com/liveaverage/a2b29fcde34ac2478264d8fab113eff3/raw/1b410fcbcdd69722e47b2086e8b6b593bb05ad1a/sample-storage-class-quota.yaml -n testy2
Base command to patch a quota:
oc patch quota base-project-quota --patch "$(curl https://gist.githubusercontent.com/liveaverage/2697df78d13c0b87be0b00600903e228/raw/8e1697eddd0c15c41a9a63d698f0154be7c48841/patch.yaml)" -n testy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.