nicolaferraro opened a new pull request #940: Making kamel CLI 90% faster on 
remote clusters
URL: https://github.com/apache/camel-k/pull/940
 
 
   Fix #792
   
   Latest released version:
   ```
   [nferraro@localhost camel-k]$ time kamel-1.0.0-M1 run examples/routes.groovy
   integration "routes" created
   
   real    0m16.353s
   user    0m0.794s
   sys     0m0.068s
   ```
   
   With this change:
   ```
   [nferraro@localhost camel-k]$ time kamel run examples/routes.groovy
   integration "routes" created
   
   real    0m1.898s
   user    0m0.508s
   sys     0m0.036s
   ```
   
   I.e. from **16 seconds** to just ~ **2 seconds**.
   
   This is fast because it does not initialize all kubernetes custom resources 
available in the cluster (~50 on a standard OpenShift installation) but focuses 
on the 5 resource groups that our CLI needs.
   
   Only drawback is that we should remember to sync the set of allowed API 
groups (you get a unknown-resource error in case you use a new group from the 
CLI client).

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to