-
Notifications
You must be signed in to change notification settings - Fork 71
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
Increase resource limit comments/hints #430
base: main
Are you sure you want to change the base?
Changes from all commits
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 |
---|---|---|
|
@@ -797,6 +797,7 @@ anchoreConfig: | |
###################################################### | ||
analyzer: | ||
## @param analyzer.replicaCount Number of replicas for the Anchore Analyzer deployment | ||
## Please note that Anchore licensing may dictate the permitted number of analyzers. | ||
## | ||
replicaCount: 1 | ||
|
||
|
@@ -814,12 +815,14 @@ analyzer: | |
## @param analyzer.resources Resource requests and limits for Anchore Analyzer pods | ||
## ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ | ||
## Commented values below are just a suggested baseline. Contact Anchore support for deployment specific recommendations. | ||
## Please note that we do not suggest setting CPU limits. | ||
## | ||
resources: {} | ||
# requests: | ||
# cpu: 1 | ||
# cpu: 2 | ||
# memory: 8G | ||
# limits: | ||
# cpu: 2 | ||
# memory: 8G | ||
|
||
## @param analyzer.labels Labels for Anchore Analyzer pods | ||
|
@@ -893,13 +896,15 @@ api: | |
## @param api.resources Resource requests and limits for Anchore API pods | ||
## ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ | ||
## Commented values below are just a suggested baseline. Contact Anchore support for deployment specific recommendations. | ||
## Please note that we do not suggest setting CPU limits. | ||
## | ||
resources: {} | ||
# requests: | ||
# cpu: 1 | ||
# memory: 4G | ||
# cpu: 2 | ||
# memory: 8G | ||
# limits: | ||
# memory: 4G | ||
# cpu: 4 | ||
# memory: 8G | ||
|
||
## @param api.labels Labels for Anchore API pods | ||
## | ||
|
@@ -966,13 +971,15 @@ catalog: | |
## @param catalog.resources Resource requests and limits for Anchore Catalog pods | ||
## ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ | ||
## Commented values below are just a suggested baseline. Contact Anchore support for deployment specific recommendations. | ||
## Please note that we do not suggest setting CPU limits. | ||
## | ||
resources: {} | ||
# requests: | ||
# cpu: 2 | ||
# memory: 8G | ||
# limits: | ||
# memory: 8G | ||
# cpu: 4 | ||
# memory: 12G | ||
|
||
## @param catalog.labels Labels for Anchore Catalog pods | ||
## | ||
|
@@ -1012,6 +1019,7 @@ catalog: | |
######################################################### | ||
dataSyncer: | ||
## @param dataSyncer.replicaCount Number of replicas for the Anchore DataSyncer deployment | ||
## Please note that we do not suggest more than 1 instance of dataSyncer. | ||
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. If we don't suggest this, should we remove this as a configurable option? I think we have to assume that while our comments should be correct, they won't be read nor followed. 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. Yes please! @gnyahay @InfraInnovator @zhill - lets just remove the option |
||
## | ||
replicaCount: 1 | ||
|
||
|
@@ -1051,6 +1059,7 @@ dataSyncer: | |
# cpu: 1 | ||
# memory: 8G | ||
# limits: | ||
# cpu: 2 | ||
# memory: 8G | ||
|
||
## @param dataSyncer.labels Labels for Anchore DataSyncer pods | ||
|
@@ -1091,6 +1100,7 @@ dataSyncer: | |
############################################ | ||
notifications: | ||
## @param notifications.replicaCount Number of replicas for the Anchore Notifications deployment | ||
## Please note that at this time only 1 instance of notifications can be active therefore we do not suggest more than 2. | ||
## | ||
replicaCount: 1 | ||
|
||
|
@@ -1124,12 +1134,14 @@ notifications: | |
## @param notifications.resources Resource requests and limits for Anchore Notifications pods | ||
## ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ | ||
## Commented values below are just a suggested baseline. Contact Anchore support for deployment specific recommendations. | ||
## Please note that we do not suggest setting CPU limits. | ||
## | ||
resources: {} | ||
# requests: | ||
# cpu: 1 | ||
# cpu: 2 | ||
# memory: 8G | ||
# limits: | ||
# cpu: 4 | ||
# memory: 8G | ||
|
||
## @param notifications.labels Labels for Anchore Notifications pods | ||
|
@@ -1198,13 +1210,15 @@ policyEngine: | |
## @param policyEngine.resources Resource requests and limits for Anchore Policy Engine pods | ||
## ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ | ||
## Commented values below are just a suggested baseline. Contact Anchore support for deployment specific recommendations. | ||
## Please note that we do not suggest setting CPU limits. | ||
## | ||
resources: {} | ||
# requests: | ||
# cpu: 2 | ||
# memory: 8G | ||
# limits: | ||
# memory: 8G | ||
# cpu: 4 | ||
# memory: 12G | ||
|
||
## @param policyEngine.labels Labels for Anchore Policy Engine pods | ||
## | ||
|
@@ -1277,14 +1291,16 @@ reports: | |
## @param reports.resources Resource requests and limits for Anchore Reports pods | ||
## ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ | ||
## Commented values below are just a suggested baseline. Contact Anchore support for deployment specific recommendations | ||
## Please note that we do not suggest setting CPU limits. | ||
## NOTE: the commented resources below are assuming the use of a scratch volume with `anchoreConfig.reports.use_volume=true` | ||
## If not using a scratch volume, the memory resources may need to be increased. | ||
## | ||
resources: {} | ||
# requests: | ||
# memory: 8G | ||
# cpu: 1 | ||
# cpu: 2 | ||
# limits: | ||
# cpu: 2 | ||
# memory: 8G | ||
|
||
## @param reports.labels Labels for Anchore Reports pods | ||
|
@@ -1368,12 +1384,14 @@ reportsWorker: | |
## @param reportsWorker.resources Resource requests and limits for Anchore Reports Worker pods | ||
## ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ | ||
## Commented values below are just a suggested baseline. Contact Anchore support for deployment specific recommendations. | ||
## Please note that we do not suggest setting CPU limits. | ||
## | ||
resources: {} | ||
# requests: | ||
# memory: 8G | ||
# cpu: 2 | ||
# limits: | ||
# cpu: 2 | ||
# memory: 8G | ||
|
||
## @param reportsWorker.labels Labels for Anchore Reports Worker pods | ||
|
@@ -1442,12 +1460,14 @@ simpleQueue: | |
## @param simpleQueue.resources Resource requests and limits for Anchore Simple Queue pods | ||
## ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ | ||
## Commented values below are just a suggested baseline. Contact Anchore support for deployment specific recommendations. | ||
## Please note that we do not suggest setting CPU limits. | ||
## | ||
resources: {} | ||
# requests: | ||
# cpu: 1 | ||
# cpu: 2 | ||
# memory: 8G | ||
# limits: | ||
# cpu: 4 | ||
# memory: 8G | ||
|
||
## @param simpleQueue.labels Labels for Anchore Simple Queue pods | ||
|
@@ -1536,13 +1556,15 @@ ui: | |
## @param ui.resources Resource requests and limits for Anchore UI pods | ||
## ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ | ||
## Commented values below are just a suggested baseline. Contact Anchore support for deployment specific recommendations. | ||
## Please note that we do not suggest setting CPU limits. | ||
## | ||
resources: {} | ||
# requests: | ||
# cpu: 1 | ||
# cpu: 2 | ||
# memory: 4G | ||
# limits: | ||
# memory: 4G | ||
# cpu: 4 | ||
# memory: 8G | ||
|
||
## @param ui.labels Labels for Anchore UI pods | ||
## | ||
|
@@ -1797,10 +1819,12 @@ postgresql: | |
## @param postgresql.primary.resources The resource limits & requests for the PostgreSQL Primary containers | ||
## | ||
resources: {} | ||
# limits: {} | ||
# limits: | ||
# memory: 16G | ||
# cpu: 4 | ||
# requests: | ||
# memory: 512Mi | ||
# cpu: 2 | ||
# memory: 16G | ||
# cpu: 4 | ||
|
||
## @param postgresql.primary.service.ports.postgresql Port used to connect to Postgresql | ||
## | ||
|
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.
It seems that if we don't suggest setting CPU limits, then we shouldn't have them in here at all, just the requests.
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.
In cases where they are going to set them anyway I want to make sure they don't set it too low.
I am also hoping the BB chart follows our example: https://repo1.dso.mil/big-bang/product/packages/anchore-enterprise/-/blob/main/chart/values.yaml?ref_type=heads#L1444