-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resource request and limit #640
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,17 +19,13 @@ pg: | |
# readOnlyRootFilesystem: true | ||
# runAsNonRoot: true | ||
# runAsUser: 1000 | ||
resources: {} | ||
# We usually recommend not to specify default resources and to leave this as a conscious | ||
# choice for the user. This also increases chances charts run on environments with little | ||
# resources, such as Minikube. If you do want to specify resources, uncomment the following | ||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'. | ||
# limits: | ||
# cpu: 100m | ||
# memory: 128Mi | ||
# requests: | ||
# cpu: 100m | ||
# memory: 128Mi | ||
resources: | ||
limits: | ||
cpu: 1 | ||
memory: 512Mi | ||
requests: | ||
cpu: 200m | ||
memory: 256Mi | ||
nodeSelector: {} | ||
affinity: {} | ||
tolerations: [] | ||
|
@@ -47,7 +43,13 @@ meshweb: | |
tag: main | ||
podSecurityContext: {} | ||
securityContext: {} | ||
resources: {} | ||
resources: | ||
limits: | ||
cpu: 1 | ||
memory: 512Mi | ||
requests: | ||
cpu: 200m | ||
memory: 350Mi | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pin this guy to 512Mi. 200m is probably fine as a request, as I think most of the CPU is on startup with the tracer. |
||
nodeSelector: {} | ||
affinity: {} | ||
tolerations: [] | ||
|
@@ -56,7 +58,13 @@ nginx: | |
port: 80 | ||
podSecurityContext: {} | ||
securityContext: {} | ||
resources: {} | ||
resources: | ||
limits: | ||
cpu: 1 | ||
memory: 100Mi | ||
requests: | ||
cpu: 250m | ||
memory: 30Mi | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This guy definitely doesn't need more than 250mcore and like, 128Mi of RAM. If our web proxy is taking up more than that, we've either got wayyyy more users than we thought we did, or we have a performance problem. |
||
nodeSelector: {} | ||
affinity: {} | ||
tolerations: [] | ||
|
@@ -83,7 +91,13 @@ redis: | |
port: 6379 | ||
podSecurityContext: {} | ||
securityContext: {} | ||
resources: {} | ||
resources: | ||
limits: | ||
cpu: 1 | ||
memory: 512Mi | ||
requests: | ||
cpu: 50m | ||
memory: 30Mi | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Redis really doesn't like not being pinned, especially as an in-memory cache. I'd say pin it to 256Mi and like..... 250mcore. If that doesn't work, bump it. |
||
nodeSelector: {} | ||
affinity: {} | ||
tolerations: [] | ||
|
@@ -92,7 +106,13 @@ pelias: | |
port: 3000 | ||
podSecurityContext: {} | ||
securityContext: {} | ||
resources: {} | ||
resources: | ||
limits: | ||
cpu: 1 | ||
memory: 512Mi | ||
requests: | ||
cpu: 250m | ||
memory: 250Mi | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No fucking idea here. Can probably get away with pinning limit to the smaller request here tho. |
||
nodeSelector: {} | ||
affinity: {} | ||
tolerations: [] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should definitely pin Postgres to a core. It deserves it.