astefanutti commented on issue #3132:
URL: https://github.com/apache/camel-k/issues/3132#issuecomment-1236618175

   > For many cases defaulting to `.spec.replicas=1` seems to make sense. What 
if we set up `.spec.replicas` on an integration only when Knative profile is 
not chosen, or Knative Service trait is not applied?
   
   The defaulting proposed above is at the CRD level, as in 
https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#defaulting.
 It has the advantage that it avoids the operator touching the spec block which 
should be owned by users, but has the "disadvantage" that it's static. I'm 
quoting disadvantage, because I could almost argue it's an advantage, i.e., 
having a sensible, consistent default, that's not dynamic because it must 
accommodate interpretation / implementation of auto-scalers.


-- 
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]

Reply via email to