lsergio opened a new issue, #5223:
URL: https://github.com/apache/camel-k/issues/5223

   ### What happened?
   
   Create an Integration and configure the Deployment trait as below:
   ```
   traits:
       deployment:
         strategy: RollingUpdate
   ```
   Per the docs, the default maxSurge and maxUnavailable should be 25%, but 
checking the Deployment we get 25, not 25%:
   ```
     strategy:
       rollingUpdate:
         maxSurge: 25
         maxUnavailable: 25
       type: RollingUpdate
   ```
   
   It works, though, if we do not declare the deployment trait at all. In this 
case the deploment will be as below:
   ```
     strategy:
       rollingUpdate:
         maxSurge: 25%
         maxUnavailable: 25%
       type: RollingUpdate
   ```
   
   
   
   ### Steps to reproduce
   
   _No response_
   
   ### Relevant log output
   
   _No response_
   
   ### Camel K version
   
   2.2.0


-- 
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: commits-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to