Skip to content

Commit

Permalink
Increase resource limit comments/hints
Browse files Browse the repository at this point in the history
Signed-off-by: Greg Nyahay <greg.nyahay@anchore.com>
  • Loading branch information
gnyahay committed Jan 15, 2025
1 parent 55dc5d0 commit 00f0819
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 16 deletions.
2 changes: 1 addition & 1 deletion stable/enterprise/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: enterprise
version: "3.3.1"
version: "3.3.2"
appVersion: "5.13.1"
kubeVersion: 1.23.x - 1.31.x || 1.23.x-x - 1.31.x-x
description: |
Expand Down
54 changes: 39 additions & 15 deletions stable/enterprise/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,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

Expand All @@ -800,12 +801,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
Expand Down Expand Up @@ -875,13 +878,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
##
Expand Down Expand Up @@ -945,13 +950,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
##
Expand Down Expand Up @@ -987,6 +994,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.
##
replicaCount: 1

Expand Down Expand Up @@ -1026,6 +1034,7 @@ dataSyncer:
# cpu: 1
# memory: 8G
# limits:
# cpu: 2
# memory: 8G

## @param dataSyncer.labels Labels for Anchore DataSyncer pods
Expand Down Expand Up @@ -1062,6 +1071,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

Expand Down Expand Up @@ -1095,12 +1105,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
Expand Down Expand Up @@ -1165,13 +1177,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
##
Expand Down Expand Up @@ -1240,14 +1254,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
Expand Down Expand Up @@ -1327,12 +1343,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
Expand Down Expand Up @@ -1397,13 +1415,15 @@ 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:
# memory: 8G
# cpu: 4
# memory: 12G

## @param simpleQueue.labels Labels for Anchore Simple Queue pods
##
Expand Down Expand Up @@ -1487,13 +1507,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
##
Expand Down Expand Up @@ -1740,10 +1762,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
##
Expand Down

0 comments on commit 00f0819

Please sign in to comment.