diff --git a/helm/biosdk-service/values.yaml b/helm/biosdk-service/values.yaml index 8e27fbb..9b28710 100644 --- a/helm/biosdk-service/values.yaml +++ b/helm/biosdk-service/values.yaml @@ -113,20 +113,20 @@ resources: # 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: 2000m + cpu: 1600m memory: 5000Mi requests: - cpu: 2000m - memory: 5000Mi + cpu: 800m + memory: 2500Mi additionalResources: ## Specify any JAVA_OPTS string here. These typically will be specified in conjunction with above resources ## Example: java_opts: "-Xms500M -Xmx500M" javaOpts: >- -XX:+UseZGC -XX:+ZGenerational -XX:+ZProactive - -Xms3000m -Xmx3000m -XX:SoftMaxHeapSize=2500m + -Xms1875m -Xmx4050m -XX:SoftMaxHeapSize=3550m -XX:ActiveProcessorCount=2 -XX:+UseContainerSupport - -XX:MaxMetaspaceSize=400m -XX:MetaspaceSize=100m - -XX:ReservedCodeCacheSize=150m -XX:InitialCodeCacheSize=37m + -XX:MaxMetaspaceSize=300m -XX:MetaspaceSize=160m + -XX:ReservedCodeCacheSize=192m -XX:InitialCodeCacheSize=64m -XX:+UseCodeCacheFlushing -XX:+ExitOnOutOfMemoryError ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container ## Clamav container already runs as 'mosip' user, so we may not need to enable this