masayag commented on code in PR #337:
URL: 
https://github.com/apache/incubator-kie-kogito-serverless-operator/pull/337#discussion_r1439866970


##########
controllers/platform/services/services.go:
##########
@@ -114,8 +114,8 @@ func (d DataIndex) GetEnvironmentVariables() 
[]corev1.EnvVar {
 func (d DataIndex) GetPodResourceRequirements() corev1.ResourceRequirements {
        return corev1.ResourceRequirements{
                Limits: corev1.ResourceList{
-                       corev1.ResourceCPU:    resource.MustParse("100m"),
-                       corev1.ResourceMemory: resource.MustParse("256Mi"),
+                       corev1.ResourceCPU:    resource.MustParse("500m"),
+                       corev1.ResourceMemory: resource.MustParse("1Gi"),
                },

Review Comment:
   I can confirm that on OCP cluster the data-service failed to start with the 
default values set by the operator and had to set the resources limits in the 
platform CR explicitly to make it start:
   ```
     services:
       dataIndex:
         enabled: true
         podTemplate:
           container:
             image: 
"quay.io/kiegroup/kogito-data-index-postgresql-nightly:latest" # To be removed 
when stable version is released
             resources:
               limits:
                 cpu: 500m
                 memory: 512Mi
         persistence:
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to