-
Notifications
You must be signed in to change notification settings - Fork 350
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
Camel K could go offline #4118
Comments
Hello, at my work I need to install Camel K on cluster without internet and I'm trying to build the image locally to try out the work you've done. What should be done to make the kamel use this image at installation time? |
If you use that work, you just need to |
Thanks for pointing to the
But I wasn't able to create an integration because during it's creation it couldn't resolve parent POM
I took a look around the pre-downloaded dependencies and noticed that there were
So what I decided to do is use a messy hack:
As I understand This feels hacky but at least I was able to make it work |
Yeah, that procedure was a quick experiment to see how to fill the docker image and how much it would require in term of space. We need to fine tune in order for the operator to have the dependencies in the right directory. It is also advisable to run the build with |
BTW, feel free to work on the official feature if you want to. We're happy to receive any contribution! |
This issue has been automatically marked as stale due to 90 days of inactivity. |
I'm trying to refine the experiment script mentioned in the issue description, but I'm hitting the Maven issue https://issues.apache.org/jira/browse/MDEP-82 when we try to run the integration: I'm using a base Camel K runtime project in order to try to go offline, but the maven procedure is not really getting all the dependencies expected:
|
* Script used to create a maven offline bundle * Instructions how to setup Camel K offline on a disconnected cluster Closes apache#4118
* Script used to create a maven offline bundle * Instructions how to setup Camel K offline on a disconnected cluster Closes apache#4118
* Script used to create a maven offline bundle * Instructions how to setup Camel K offline on a disconnected cluster Closes #4118
Ref #1721
I've done some experiment to try a Camel K installation entirely offline. I've developed a script that download the entire Camel Catalog set of dependencies, which would allow Camel K to work completely closed from the Internet. The build requires around half an hour to download the wide set of dependencies. It has to be tested, but the outcome is that we could produce a docker image of about 5 GB:
This "fat" installation could be delivered beside the "normal" installation. Draft work available in ea2974d
The text was updated successfully, but these errors were encountered: