Skip to content

[Feat] Operator: Queue configuration supported#347

Merged
Pavan-SAP merged 1 commit intomainfrom
tenantQueues
Mar 5, 2026
Merged

[Feat] Operator: Queue configuration supported#347
Pavan-SAP merged 1 commit intomainfrom
tenantQueues

Conversation

@Pavan-SAP
Copy link
Copy Markdown
Member

@Pavan-SAP Pavan-SAP commented Mar 3, 2026

Enable concurrent reconciles for resources with the following defaults:

{
	CAPApplication:        1,
	CAPApplicationVersion: 3,
	CAPTenant:             10,
	CAPTenantOperation:    10,
	Domain:                1,
	ClusterDomain:         1,
}

This can be overridden using the corresponding env:

  "MAX_CONCURRENT_RECONCILES_CAP_APPLICATION",
  "MAX_CONCURRENT_RECONCILES_CAP_APPLICATION_VERSION",
  "MAX_CONCURRENT_RECONCILES_CAP_TENANT",
  "MAX_CONCURRENT_RECONCILES_CAP_TENANT_OPERATION",
  "MAX_CONCURRENT_RECONCILES_DOMAIN",
  "MAX_CONCURRENT_RECONCILES_CLUSTER_DOMAIN",

on the CAP Operator controller.

@Pavan-SAP Pavan-SAP requested a review from cbarbian-sap March 3, 2026 12:46
@Pavan-SAP Pavan-SAP added the build-pr-images Set this label on PRs to build docker images for changes label Mar 3, 2026
@Pavan-SAP Pavan-SAP force-pushed the tenantQueues branch 2 times, most recently from 00a96c6 to fe77b86 Compare March 3, 2026 16:45
@Pavan-SAP Pavan-SAP added build-pr-images Set this label on PRs to build docker images for changes and removed build-pr-images Set this label on PRs to build docker images for changes labels Mar 3, 2026
@Pavan-SAP Pavan-SAP changed the title [Feature] Operator: queue configuraton optimized [Feature] Operator: Queue configuration supported Mar 5, 2026
@Pavan-SAP Pavan-SAP changed the title [Feature] Operator: Queue configuration supported [Feat] Operator: Queue configuration supported Mar 5, 2026
@Pavan-SAP Pavan-SAP added build-pr-images Set this label on PRs to build docker images for changes and removed build-pr-images Set this label on PRs to build docker images for changes labels Mar 5, 2026
@Pavan-SAP Pavan-SAP added build-pr-images Set this label on PRs to build docker images for changes and removed build-pr-images Set this label on PRs to build docker images for changes labels Mar 5, 2026
@Pavan-SAP Pavan-SAP marked this pull request as ready for review March 5, 2026 11:10
@Pavan-SAP Pavan-SAP added build-pr-images Set this label on PRs to build docker images for changes and removed build-pr-images Set this label on PRs to build docker images for changes labels Mar 5, 2026
@Pavan-SAP Pavan-SAP force-pushed the tenantQueues branch 2 times, most recently from 8cf4381 to 069ad91 Compare March 5, 2026 13:09
@Pavan-SAP Pavan-SAP changed the base branch from main to informerUp March 5, 2026 13:09
@Pavan-SAP Pavan-SAP added build-pr-images Set this label on PRs to build docker images for changes and removed build-pr-images Set this label on PRs to build docker images for changes labels Mar 5, 2026
Copy link
Copy Markdown
Contributor

@anirudhprasad-sap anirudhprasad-sap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Base automatically changed from informerUp to main March 5, 2026 15:40
Enable concurrent reconciles for resources with the following defaults:
```
{
	CAPApplication:        1,
	CAPApplicationVersion: 3,
	CAPTenant:             10,
	CAPTenantOperation:    10,
	Domain:                1,
	ClusterDomain:         1,
}
```
This can be overridden using the corresponding env:
```
  "MAX_CONCURRENT_RECONCILES_CAP_APPLICATION",
  "MAX_CONCURRENT_RECONCILES_CAP_APPLICATION_VERSION",
  "MAX_CONCURRENT_RECONCILES_CAP_TENANT",
  "MAX_CONCURRENT_RECONCILES_CAP_TENANT_OPERATION",
  "MAX_CONCURRENT_RECONCILES_DOMAIN",
  "MAX_CONCURRENT_RECONCILES_CLUSTER_DOMAIN",
```
on the CAP Operator controller.

Apart from the above, the following changes were made:
 - custom ratelimit workqueue configuration for tenants and tenant
operations to avoid long delays in processing of these resources.
 - default resync period for operator resources set to 5 minutes.
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Mar 5, 2026

@Pavan-SAP Pavan-SAP merged commit 6ac552b into main Mar 5, 2026
9 checks passed
@Pavan-SAP Pavan-SAP deleted the tenantQueues branch March 5, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build-pr-images Set this label on PRs to build docker images for changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants