Last active
August 7, 2018 15:37
-
-
Save 2vcps/d0fba9495975c29896b98531b04badfd to your computer and use it in GitHub Desktop.
Storage Quotas for K8s
This file contains 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
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: development | |
labels: | |
name: development |
This file contains 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
apiVersion: v1 | |
kind: ResourceQuota | |
metadata: | |
name: quota | |
spec: | |
hard: | |
cpu: "20" | |
memory: 1Gi | |
pods: "10" | |
replicationcontrollers: "20" | |
resourcequotas: "1" | |
services: "5" |
This file contains 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
apiVersion: v1 | |
kind: ResourceQuota | |
metadata: | |
name: storagequota | |
spec: | |
hard: | |
persistentvolumeclaims: "10" | |
requests.storage: "100Gi" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment