Skip to content

Instantly share code, notes, and snippets.

@parthghiya
Created November 5, 2017 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save parthghiya/be80246cc5792f796760a0d43af935db to your computer and use it in GitHub Desktop.
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
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