Created
November 5, 2017 20:04
-
-
Save parthghiya/be80246cc5792f796760a0d43af935db to your computer and use it in GitHub Desktop.
sample yml file for microservices configuration with memory resources limit and cpu limit
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: Pod | |
metadata: | |
name: shopping-management | |
spec: | |
containers: | |
- name: shopping-management | |
image: shopping-service | |
resources: | |
requests: | |
memory: "128Mi" | |
cpu: "500m" | |
limits: | |
memory: "256i" | |
cpu: "1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment