astefanutti opened a new pull request #2814:
URL: https://github.com/apache/camel-k/pull/2814


   On typical environments, it can takes up to 30s for the operator binary to 
startup, and being ready to service reconciliation requests. This is mainly 
caused by the installation of the Kamelets bundled within the operator while it 
starts.
   
   In order to speed up that installation time and reduce the start time 
overall, this PR:
   
   * Increases the value of the maximum burst parameter used for client-side 
request throttling
   * Use Server-Side Apply to reduce the number of requests for each Kamelet, 
from up to 3 (get + create + update) down to a single one (patch) in all cases
   * Installs each bundled Kamelet in a separate Goroutine executed in parallel
   
   This results in a startup time as small as 0.5s with the current number of 
bundled Kamelets, and should scale by orders of magnitude better as the this 
number increases.
   
   Incidentally, this should also speed up the reconciliation of 
IntegrationPlatform that are created, as bundle Kamelets are also installed in 
that case.
   
   **Release Note**
   ```release-note
   feat: Faster operator startup
   ```
   


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