-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
deployment-target=knative not working with Quarkus 1.9 #12894
Comments
/cc @geoand |
@iocanel a regression I assume? |
For some of build strategies we are using I think that we need to do two things here:
|
I'm looking at it now :) Finally got working cluster. |
@rsvoboda: It seems that we need to apply the same fix, for when deployment-target=openshift. (Just pushed it BTW). This is a regression introduced in: https://github.com/quarkusio/quarkus/pull/12655/files#diff-2f7f8b1e6f4a44f6f156a44d9a60ec9f4a233e7874e8059fb0c627771a505fc4R62 I think we should be fine now. |
quarkus.kubernetes.deployment-target=knative
not working with Quarkus 1.9, works fine with Quarkus 1.8.2.Final / 1.7.5.Final. Running on OpenShift 4.5 with OpenShift Serverless.The main message I see in log of the final pod is
ERROR Neither $JAVA_MAIN_CLASS nor $JAVA_APP_JAR is set and 0 JARs found in /deployments (1 expected)
The problem I see is that with knative
/deployments
is still looked at while the path should be/deployments/target
When I switch to
quarkus.kubernetes.deployment-target=openshift
application starts properly from/deployments/target
reproducer:
Error from pod:
Tried to set
quarkus.s2i.jar-directory
andquarkus.openshift.jar-directory
but it didn't help in my experiments.The text was updated successfully, but these errors were encountered: