Comments (25)
Don't know about the version, @valdar can help on that. AFAIK Camel K is now built in the pipeline and we should update that version field to whatever is built there.
There is an additional step to do to enable camel k that is:
- adding/changing the value of
controllers->integration
tocamel-k
in thesyndesis-server-config
configmap - restarting syndesis-server
I don't know if it's better adding a script that does that or documenting it. Long-term I think that camel k should be configurable in the syndesis custom resource and the operator should configure the platform for using the right engine.
from fuse-online-install.
In CR1 it was this one: fuse7/fuse-camel-k:fuse-7.3-rhel-7-containers-candidate-81569-20190321124048
(See https://issues.jboss.org/browse/ENTESB-10310)
from fuse-online-install.
It's even worse: https://github.com/syndesisio/fuse-online-install/blob/master/install_ocp.sh#L602
It seems to pull community bits in fuse-online-install.
@valdar @nicolaferraro Can you update the scripts to work with prod versions?
from fuse-online-install.
There are others requirements:
- All the maven artefacts must be reachable to camel-k so probably
--camel-k-options "--repository https://$GA_REPO" --camel-version <syndesis_camel_version> (i.e. 2.21.0.fuse-730074) --runtime-version <camel-k-runtime_version> (i.e. 0.3.1)
should be used. - Camel syndesis version catalog must be installed in the cluster, it is published as part of
install
ofintegration/runtime-camelk
like:mvn org.apache.maven.plugins:maven-dependency-plugin:copy -Dartifact=io.syndesis.integration:integration-runtime-camelk:<syndesis_version>:yaml:catalog -DoutputDirectory=./
oc apply -f ./integration-runtime-camelk-<syndesis_version>-catalog.yaml
from fuse-online-install.
@heiko-braun We had a chat with @orpiske and @djcoleman, asked to add kamel
binary to the productized image so we can use that one, without the need of relaying to the upstream version. We had reviewed the image build script that now should properly generate and include the right version of the catalog sparing the need of installing it from maven (i.e. see the second item on my last comment).
Once the new image is generated and the install script updated to use it, we can have an install run and see if this is fixed.
from fuse-online-install.
Great, thanks for following up on this. If I understand you correctly, with those changes in place, both the kamel
binary and the catalog will be delivered by the prod team? How to we get access to those artefacts?
from fuse-online-install.
That is the expectation. We should grab the image from the registry and use the kamel
binary from there.
from fuse-online-install.
The catalog as well?
from fuse-online-install.
The catalog, if we envisioned everything correctly, should be "backed in to the camel-k operator".
from fuse-online-install.
@orpiske and @djcoleman given jboss-fuse/camel-k#1 and nicolaferraro@5ee832f can you give camel-k image creation another go?
from fuse-online-install.
@valdar I think we can. Looking at these patches, it seems to me we will need a new PNC build, right @djcoleman?
from fuse-online-install.
@valdar Cool, are we all set?
from fuse-online-install.
@nicolaferraro is doing last tests to check all the flow, but he needs the rebuilt image to actually test all the exact flow of installation...
from fuse-online-install.
ok, let's leave it open for the time being until @nicolaferraro confirmed that it's working as expected
from fuse-online-install.
Yeah, this needs to be backported to 1.6.x and I'm still having some issues. It's still using camel 2.23.1
inside..
from fuse-online-install.
fuse-online-install/install_ocp.sh
Line 639 in 038007a
just a note, this will parse nothing until you have the image pulled locally
@heiko-braun do we want to require the users to have docker installed? Currently when you run install_ocp.sh
, the script will pull the camel-k docker image to your pc to copy the kamel binary from it. Can't we release the binary as a separate artifact? 🤔 @orpiske ?
cc @tplevko
from fuse-online-install.
A dependency on docker should be prevented, but since this is TP, I would say it's ok this time around
from fuse-online-install.
Thanks @avano, will fix.
Agree, we need to simplify this a bit in 7.4.
from fuse-online-install.
I used @avano's fork and were able to get the camel-k operator running, but I got these errors on the camel-k operator:
E0412 12:31:08.876235 1 reflector.go:134] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: Failed to list *v1alpha1.IntegrationPlatform: v1alpha1.IntegrationPlatformList.Items: []v1alpha1.IntegrationPlatform: v1alpha1.IntegrationPlatform.Spec: v1alpha1.IntegrationPlatformSpec.Build: v1alpha1.IntegrationPlatformBuildSpec.Registry: ReadString: expects " or n, but found {, error found in #10 byte of ...|egistry":{},"reposit|..., bigger context ...|-88f2-52540063a234"},"spec":{"build":{"registry":{},"repositories":["https://origin-repository.jboss| ...
from fuse-online-install.
Martin used the branch test
from my fork where I cherry-picked the two commits from #95 to 1.6.9
tag
from fuse-online-install.
...
@heiko-braun do we want to require the users to have docker installed? Currently when you run
install_ocp.sh
, the script will pull the camel-k docker image to your pc to copy the kamel binary from it. Can't we release the binary as a separate artifact? thinking @orpiske ?cc @tplevko
I don't think we have time for that on this release, @avano. I think we could discuss about that for 7.4, though.
from fuse-online-install.
Martin used the branch
test
from my fork where I cherry-picked the two commits from #95 to1.6.9
tag
I see, it seems a mismatch between the go struct and the actual resource, but I don't experience it.
Can you check if the image of the camel-k-operator deployment is the one coming from brew and also provide the output of oc get integrationplatform -o yaml
?
from fuse-online-install.
@avano I just noticed I forgot to checkout the Test branch (which is not working) I was able to get the camel-k operator running on master.
@nicolaferraro > oc get integrationplatfrom -o yaml
error: the server doesn't have a resource type "integrationplatfrom"
from fuse-online-install.
@avano @orpiske @nicolaferraro I have created a separate issue to remove the need to have docker available: #107 it's scheduled for 7.4
from fuse-online-install.
I think this can be closed, as issues related to camel k have been solved.
from fuse-online-install.
Related Issues (20)
- [1.7.7] Use fuse7-tech-preview instead of fuse-7-tech-preview HOT 3
- [1.7.7] Mismatch between imagestreams in fuse-online-install and operator template HOT 2
- [1.7.7] No switch for datavirt install HOT 5
- [CamelK] Camel K uses `fuse7` instead of `fuse7-tech-preview` namespace HOT 1
- [camel-k] unknown flag --repository HOT 1
- [camel-k] Camel-k-operator cannot pull image HOT 1
- Unable to install as basic user on OCP 4.X HOT 13
- [camel-k] Can't install camel-k on fedora, permissions error HOT 1
- [camel-k] fuse-java-openshift is no longer tech-preview
- [Upgrade] Update_ocp --version fails with $tag_komodo: bad substitution HOT 4
- [Upgrade] Upgrade never completes as it is missing the komodo image stream HOT 14
- [Upgrade] unbound variable HOT 1
- [camel-k] kamel install --repository option is not working for plugins HOT 1
- [Install] Unbound variable HOT 1
- Unable to use scripts when there is a space in path HOT 1
- error message is not easily readable HOT 4
- Postgres updated in RH Catalog HOT 1
- Remove references to old ways of installing syndesis
- Remove the -p / --project switch as causes failures in install_ocp.sh script HOT 1
- Fuse Online is not able to be installed from other folders
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fuse-online-install.