Created
June 1, 2019 05:14
-
-
Save dkeightley/6f5a0e929b5f860d0c94690f6ab8b0dc to your computer and use it in GitHub Desktop.
Example of an Nginx Pod with CPU/Mem requests and limits
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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: nginx-requests-limits | |
spec: | |
containers: | |
- name: nginx-requests-limits | |
image: nginx | |
resources: | |
requests: | |
memory: "128Mi" | |
cpu: .5 | |
limits: | |
memory: "256Mi" | |
cpu: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment