Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Adeptia Connect allows you to configure the CPU and memory for a microservice by setting the following parameters in the values.yaml file.

  • CPU and Memory limit - The maximum amount of CPU and the memory a microservice can consume.
  • CPU and Memory Request - The minimum amount of CPU and the memory required by a microservice.
  • Minimum Replicas - The minimum number of replicas (pods) of a microservice that will run by default.
  • Maximum Replicas - The maximum number of replicas (pods) to which a microservice can scale up.

This page lists all the microservices with their default CPU and memory sizes. It also mentions the minimum and maximum number of replicas each microservice can have.

Sl. No.Service NameJava optsCPU RequestCPU LimitMemory RequestMemory LimitMinimum ReplicasMaximum Replicas
1runtimeXms1024M -Xmx4096M -Djdk.tls.useExtendedMasterSecret=false1000m2 CPU3 GB5 GB24
2rabbitmqXms1024M -Xmx2048M -Djdk.tls.useExtendedMasterSecret=false500m1 CPU1 GB3 GB12
3eventXms1024M -Xmx2048M -Djdk.tls.useExtendedMasterSecret=false500m1 CPU1 GB3 GB12
4listenerXms1024M -Xmx2048M -Djdk.tls.useExtendedMasterSecret=false500m1 CPU1 GB3 GB11
5api-gatewayXms512M -Xmx1024M -Djdk.tls.useExtendedMasterSecret=false500m1 CPU512 MB2 GB12
6soap-apiXms512M -Xmx2048M -Djdk.tls.useExtendedMasterSecret=false500m1 CPU512 MB3 GB12
7rest-apiXms512M -Xmx2048M -Djdk.tls.useExtendedMasterSecret=false500m1 CPU512 MB3 GB12
8webapp-gatewayXms512M -Xmx1024M -Djdk.tls.useExtendedMasterSecret=false200m1 CPU512 MB2 GB12
9portalXms512M -Xmx2048M -Djdk.tls.useExtendedMasterSecret=false500m1 CPU512 MB3 GB12
10web-runnerXms512M -Xmx2048M -Djdk.tls.useExtendedMasterSecret=false500m1 CPU512 MB3 GB12
11licenseXms512M -Xmx2048M -Djdk.tls.useExtendedMasterSecret=false500m1 CPU512 MB3 GB11
12archival-and-cleanupXms512M -Xmx2048M -Djdk.tls.useExtendedMasterSecret=false500m1 CPU512 MB3 GB12
13autoscalerNot applicable200m1 CPU256 MB512 MB12
14ai-mapNot applicable500m1 CPU512 MB2 GB12
  Total requirement 6900m = 6.9 CPU15 CPU10.75 GB38.5 GB   
 Recommended Capacity  4 CPUs x 4 Cores (16 Cores) 4 x 16 GB (64 GB)  

You can set the maximum number of replicas for a microservice only after enabling its autoscaling property by setting the value for enabled to true in the values.yaml file. By default, autoscaling is disabled. After enabling the autoscaling, you can set the value for maxReplicas variable based on your requirement. Given below is an example showing autoscaling settings for the webrunner microservice. 

Important

The maximum number of replicas for the listener and license microservices cannot be more than what has been specified in the table (Maximum Replicas).

Though Adeptia recommends the maximum number of replicas for each microservice, it may vary (except for the listener and license microservices) based on your requirement.


  • No labels