Created
August 13, 2017 17:52
-
-
Save sunnykrGupta/0ed36abac8c2a6309940652e7c328b39 to your computer and use it in GitHub Desktop.
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
Convention | |
# RAM : Mi = MB, ie, 1024Mi is 1024 MB or 1GB | |
# CPU : m = milicpu , ie, 100m cpu is 100 milicpu, or say 0.1 CPU | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: cpu-ram-demo | |
spec: | |
containers: | |
- name: cpu-ram-demo-container | |
image: gcr.io/google-samples/node-hello:1.0 | |
resources: | |
requests: | |
memory: "64Mi" | |
cpu: "250m" | |
limits: | |
memory: "128Mi" | |
cpu: "500m" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment