-
-
Save bitwhys/2154e4b2c0d6aa5ba376d6af34a1547c 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 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: 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