From 1b1cc183d9618043d0fb1d92a5c8758cfce1ee97 Mon Sep 17 00:00:00 2001 From: desmax74 Date: Mon, 14 Mar 2022 10:51:16 +0100 Subject: [PATCH] [RHPAM-3528] Increase KieExecutorMDB threads in RHPAM image Signed-off-by: desmax74 --- deploy/crds/kieapp.crd.yaml | 11 +++++++++-- .../dev/7.12.1-1/manifests/kieapp.crd.yaml | 11 +++++++++-- .../prod/7.12.1-1/manifests/kieapp.crd.yaml | 11 +++++++++-- .../test/7.12.1-1/manifests/kieapp.crd.yaml | 11 +++++++++-- deploy/ui/form.json | 2 +- pkg/apis/app/v2/kieapp_types.go | 2 +- 6 files changed, 38 insertions(+), 10 deletions(-) diff --git a/deploy/crds/kieapp.crd.yaml b/deploy/crds/kieapp.crd.yaml index c364d941f..b74f343bf 100644 --- a/deploy/crds/kieapp.crd.yaml +++ b/deploy/crds/kieapp.crd.yaml @@ -1629,7 +1629,10 @@ spec: set, or for multiple sets if deployments is set to >1 properties: MDBMaxSession: - description: MDBMaxSession number of KIE Executor sessions + description: MDBMaxSession number of max KIE Executor session, + it must be lower than the value of max-pool-size passed + as jboss.mdb.strict.max.pool.size, if leaved empty if + leaved empty the max.pool.size will be set to 60 type: integer build: description: KieAppBuildObject Data to define how to build @@ -4502,7 +4505,11 @@ spec: to >1 properties: MDBMaxSession: - description: MDBMaxSession number of KIE Executor sessions + description: MDBMaxSession number of max KIE Executor + session, it must be lower than the value of max-pool-size + passed as jboss.mdb.strict.max.pool.size, if leaved + empty if leaved empty the max.pool.size will be set + to 60 type: integer build: description: KieAppBuildObject Data to define how to diff --git a/deploy/olm-catalog/dev/7.12.1-1/manifests/kieapp.crd.yaml b/deploy/olm-catalog/dev/7.12.1-1/manifests/kieapp.crd.yaml index c364d941f..b74f343bf 100644 --- a/deploy/olm-catalog/dev/7.12.1-1/manifests/kieapp.crd.yaml +++ b/deploy/olm-catalog/dev/7.12.1-1/manifests/kieapp.crd.yaml @@ -1629,7 +1629,10 @@ spec: set, or for multiple sets if deployments is set to >1 properties: MDBMaxSession: - description: MDBMaxSession number of KIE Executor sessions + description: MDBMaxSession number of max KIE Executor session, + it must be lower than the value of max-pool-size passed + as jboss.mdb.strict.max.pool.size, if leaved empty if + leaved empty the max.pool.size will be set to 60 type: integer build: description: KieAppBuildObject Data to define how to build @@ -4502,7 +4505,11 @@ spec: to >1 properties: MDBMaxSession: - description: MDBMaxSession number of KIE Executor sessions + description: MDBMaxSession number of max KIE Executor + session, it must be lower than the value of max-pool-size + passed as jboss.mdb.strict.max.pool.size, if leaved + empty if leaved empty the max.pool.size will be set + to 60 type: integer build: description: KieAppBuildObject Data to define how to diff --git a/deploy/olm-catalog/prod/7.12.1-1/manifests/kieapp.crd.yaml b/deploy/olm-catalog/prod/7.12.1-1/manifests/kieapp.crd.yaml index c364d941f..b74f343bf 100644 --- a/deploy/olm-catalog/prod/7.12.1-1/manifests/kieapp.crd.yaml +++ b/deploy/olm-catalog/prod/7.12.1-1/manifests/kieapp.crd.yaml @@ -1629,7 +1629,10 @@ spec: set, or for multiple sets if deployments is set to >1 properties: MDBMaxSession: - description: MDBMaxSession number of KIE Executor sessions + description: MDBMaxSession number of max KIE Executor session, + it must be lower than the value of max-pool-size passed + as jboss.mdb.strict.max.pool.size, if leaved empty if + leaved empty the max.pool.size will be set to 60 type: integer build: description: KieAppBuildObject Data to define how to build @@ -4502,7 +4505,11 @@ spec: to >1 properties: MDBMaxSession: - description: MDBMaxSession number of KIE Executor sessions + description: MDBMaxSession number of max KIE Executor + session, it must be lower than the value of max-pool-size + passed as jboss.mdb.strict.max.pool.size, if leaved + empty if leaved empty the max.pool.size will be set + to 60 type: integer build: description: KieAppBuildObject Data to define how to diff --git a/deploy/olm-catalog/test/7.12.1-1/manifests/kieapp.crd.yaml b/deploy/olm-catalog/test/7.12.1-1/manifests/kieapp.crd.yaml index c364d941f..b74f343bf 100644 --- a/deploy/olm-catalog/test/7.12.1-1/manifests/kieapp.crd.yaml +++ b/deploy/olm-catalog/test/7.12.1-1/manifests/kieapp.crd.yaml @@ -1629,7 +1629,10 @@ spec: set, or for multiple sets if deployments is set to >1 properties: MDBMaxSession: - description: MDBMaxSession number of KIE Executor sessions + description: MDBMaxSession number of max KIE Executor session, + it must be lower than the value of max-pool-size passed + as jboss.mdb.strict.max.pool.size, if leaved empty if + leaved empty the max.pool.size will be set to 60 type: integer build: description: KieAppBuildObject Data to define how to build @@ -4502,7 +4505,11 @@ spec: to >1 properties: MDBMaxSession: - description: MDBMaxSession number of KIE Executor sessions + description: MDBMaxSession number of max KIE Executor + session, it must be lower than the value of max-pool-size + passed as jboss.mdb.strict.max.pool.size, if leaved + empty if leaved empty the max.pool.size will be set + to 60 type: integer build: description: KieAppBuildObject Data to define how to diff --git a/deploy/ui/form.json b/deploy/ui/form.json index a9d318baa..21ad7d687 100644 --- a/deploy/ui/form.json +++ b/deploy/ui/form.json @@ -1733,7 +1733,7 @@ "required": false, "jsonPath": "$.spec.objects.servers[*].MDBMaxSession", "originalJsonPath": "$.spec.objects.servers[*].MDBMaxSession", - "description": "Number of max session used by the JMS Executor." + "description": "Number of max session used by the JMS Executor, it must be lower than the value of max-pool-size passed as jboss.mdb.strict.max.pool.size, if leaved empty the max.pool.size will be set to 60." } ] }, diff --git a/pkg/apis/app/v2/kieapp_types.go b/pkg/apis/app/v2/kieapp_types.go index d0fa80730..3376cf167 100644 --- a/pkg/apis/app/v2/kieapp_types.go +++ b/pkg/apis/app/v2/kieapp_types.go @@ -151,7 +151,7 @@ type KieServerSet struct { Kafka *KafkaExtObject `json:"kafka,omitempty"` KafkaJbpmEventEmitters *KafkaJBPMEventEmittersObject `json:"kafkaJbpmEventEmitters,omitempty"` Cors *CORSFiltersObject `json:"cors,omitempty"` - // MDBMaxSession number of KIE Executor sessions + // MDBMaxSession number of max KIE Executor session, it must be lower than the value of max-pool-size passed as jboss.mdb.strict.max.pool.size, if leaved empty if leaved empty the max.pool.size will be set to 60 MDBMaxSession *int `json:"MDBMaxSession,omitempty"` }