Created
May 3, 2016 21:18
-
-
Save dileeph/ab2143c0a475456b50bf0f4ccc259586 to your computer and use it in GitHub Desktop.
resource limits json for kubernetes
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
{ | |
"kind": "LimitRange", | |
"apiVersion": "v1", | |
"metadata": { | |
"name": "bs-limits" | |
}, | |
"spec":{ | |
"limits":[ | |
{ | |
"max":{"cpu":"1", "memory":"1Gi"}, | |
"min":{"cpu":"200m", "memory":"128Mi"}, | |
"type": "Pod" | |
}, | |
{ | |
"max":{"cpu":"1", "memory":"1Gi"}, | |
"min":{"cpu":"100m", "memory":"64Mi"}, | |
"default":{"cpu":"500m", "memory":"512Mi"}, | |
"defaultRequest":{"cpu":"300m", "memory":"256Mi"}, | |
"type": "Container" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment