Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI too slow on remote clusters #792

Closed
nicolaferraro opened this issue Jul 2, 2019 · 0 comments · Fixed by #940
Closed

CLI too slow on remote clusters #792

nicolaferraro opened this issue Jul 2, 2019 · 0 comments · Fixed by #940
Assignees
Labels
area/ux Improves user experience kind/bug Something isn't working
Milestone

Comments

@nicolaferraro
Copy link
Member

The 'kamel' binary is spending a lot of time in initialization. I suspect it's initializing caches and metadata for all object kinds present on the remote cluster.

A simple command like 'kamel run it.groovy' can take up to 10/15 seconds but it literally needs to do a simple POST with Json data.

There are command line tools (e.g. stern) that are much faster on the same cluster (1/2 seconds to do their job).

I think we should review our usage of the double kind of client in our project and disable unneeded features when running in CLI mode.

@nicolaferraro nicolaferraro added this to the 1.0.0 milestone Jul 2, 2019
@nicolaferraro nicolaferraro added kind/bug Something isn't working area/ux Improves user experience labels Jul 2, 2019
@nicolaferraro nicolaferraro self-assigned this Sep 18, 2019
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Sep 18, 2019
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Sep 18, 2019
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Sep 18, 2019
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Sep 18, 2019
astefanutti pushed a commit that referenced this issue Sep 18, 2019
astefanutti pushed a commit that referenced this issue Sep 18, 2019
astefanutti pushed a commit that referenced this issue Sep 18, 2019
astefanutti pushed a commit that referenced this issue Sep 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ux Improves user experience kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant