Skip to main content
Version: 1.7

Production Infra Recommendations

1. Infrastructure Overview​

For production environments, we recommend a dedicated infrastructure setup that separates Devtron microservices to ensure optimal performance, reliability, and cost efficiency.

Node Group Structure​

Set up separate node groups to isolate workloads, optimize resource allocation, and ensure system stability under production load.

Node GroupPurposeInstance TypeConfiguration
Devtron MicroservicesHosts all Devtron core componentsOn-Demand3 nodes (4 CPU, 16 GB RAM each)
CI WorkersHandles build jobs and CI processesSpot InstancesAuto-scaling based on workload

Autoscaling Configuration​

Configure autoscaling to handle fluctuating workloads efficiently, reduce downtime, and control cloud costs without manual intervention.

  • Devtron Node Group: Minimum 1 node, Maximum 5 nodes (Autoscaled)
  • CI Node Group (Tainted): Configure based on build volume and concurrency requirements

Blob Storage​

Use blob storage to persist build caches and logs, enabling faster builds and reliable CI troubleshooting in production environments. Refer Blob Storage Guide to know more.

  • Cache-Storage: Used to store the build cache to reduce build time of your application.
  • CI Logs Bucket: Used to store the build logs of your application.

2. Cloud-Specific Setup Guidelines​

Depending on your choice of cloud provider, refer the instructions/scripts below to set up a cluster.

AWS (EKS)​

You can follow this Readme for setting up the EKS cluster for Devtron.

GCP (GKE)​

Use our provided Terraform scripts to set up GKE cluster for Devtron.

Azure (AKS)​

Use our provided Terraform scripts to set up AKS cluster for Devtron.

Next Step

3. Microservice Resource Recommendations​

Below are the core components (Devtron microservices) for which you need to allocate appropriate CPU and memory resources. This will ensure optimum performance and prevent resource contention in production.

ComponentCPU RequestsCPU LimitsMemory RequestsMemory Limits
Devtron111536Mi1536Mi
Kubelink111536Mi1536Mi
Dashboard100m100m150Mi150Mi
Lens200m200m100Mi100Mi
Git-sensor800m11510Mi1510Mi
Kubewatch200m300m600Mi1000Mi
Need a YAML template to add resources?

You can create a resources file similar to this YAML file and add resources according to your load and requirements for any service you want, and remove those you don’t wish to modify.

Run the following command once the file is ready:

helm upgrade devtron devtron/devtron-operator -n devtroncd --reuse-values -f resources-values-file.yaml

4. Kubernetes Configuration​

CI Isolation with Taints and Tolerations​

To ensure CI workloads run exclusively on the dedicated CI nodes, you need to specify the taints and labels to the node. Then, for the CI build pods, you can add the tolerations and node selectors in the devtron-custom-cm (ConfigMap) of devtroncd namespace using these keys. These will automatically propagate to CI workloads when they are created.

If you are following our Cloud-Specific Setup Guidelines then set the below values for the keys in devtron-custom-cm:

CI_NODE_LABEL_SELECTOR: purpose=ci
CI_NODE_TAINTS_KEY: dedicated
CI_NODE_TAINTS_VALUE: ci