Increasing the Number of Services per tenant.
search cancel

Increasing the Number of Services per tenant.

book

Article ID: 246241

calendar_today

Updated On:

Products

DX Operational Intelligence

Issue/Introduction

Is there any limitation on service definitions on DOI?

Environment

DX OI 2*
DX O2 2*

Cause

There is clamp for total number of service per tenant, default is 2k.

There is no limit on the subservice or hierarchy. User can created any number of subservices.

Resolution

The service limit is currently controlled by service management microservice using the two Env variables.

  • DEFAULT_MAX_SERVICES_LIMIT:Default value is 2k and applicable to all the tenants, except those tenants which are part of the CUSTOMIZED_MAX_SERVICES_LIMIT.
  • CUSTOMIZED_MAX_SERVICES_LIMIT:For overriding the default 2k service creation limit, This env variable is used to increase or decrease the service creation limit for the tenant. Just need to configure the tenant cohort id and limit with comma-separated. Syntax as below.

 

Syntax:

CUSTOMIZED_MAX_SERVICES_LIMIT=<Tenant Cohort ID>=<New Limit>;

 

Example: DEFAULT_MAX_SERVICES_LIMIT=5000.

This need to be changed in Service Management Pod .

Example below:

 

 

 

 

Additional Information

Note:

In case you are creating more services, you will need to allocate additional resources to certain components. The allocation of CPU and memory to the pods depends on the service modeling. For instance, if you  are creating individual services or a simple hierarchy with 10 to 20 services, it can be processed without any changes. However, if you are creating a multi-level service hierarchy, you  will definitely need to assign more resources.

Refer the below document

AIOPs Troubleshooting and Common Issues