astefanutti commented on issue #3132: URL: https://github.com/apache/camel-k/issues/3132#issuecomment-1235268577
Yes it seems KEDA also requires the `.spec.replicas` to be set. Some context has been shared in https://github.com/apache/camel-k/pull/2838#discussion_r783859878. I agree, the `.spec` block should not be updated by the operator. One approach could be to use defaulting in the CRD. But that'd require some adjustments in the Knative trait, so it plays well with Knative autoscaling. In the short term, before a long term solution is found, we could also advocate to document that for HPA to work, users have to set the replicas explicitly on the integrations. I'd rather not patch Camel K here and there to accommodate how each autoscaler interprets the scale sub-resource specification and derive their own requirements. -- 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]
