-
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
Cannot deploy "pure" messaging application to Kubernetes #19442
Comments
Workaround: Add the resteasy reactive extension and a dummy resource: package org.acme.kafka;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
@Path("/dummy")
public class Dummy {
@GET
public String hello() {
return "hello";
}
} |
This is a known limitation that we should lift at some point |
So if we want to generate the Kubernetes manifests for application that don't listen to HTTP, we just need to generate a Furthermore, I assume there will no readiness and liveness probes |
Not HTTP (on the main HTTP interface) ones. |
Lift restriction of HTTP application for Kubernetes manifest generation
Resolves: quarkusio#19442 (cherry picked from commit 593b4e1)
Describe the bug
If you have an application that does not run an HTTP server, the OpenShift/Kubernetes metadata generation fails with:
It does not fail the build, just do not generate the descriptors and skip the deployment.
Not having an HTTP server is very likely for pure messaging applications that do not expose an HTTP endpoint.
Expected behavior
It should still generate the descriptor and proceed with the deployment.
Actual behavior
It skips the descriptor and deployment.
How to Reproduce?
Use the kafka-quickstart, go to the
processor
sub-module.Then run:
Output of
uname -a
orver
Darwin bespin.local 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64 x86_64
Output of
java -version
openjdk version "11.0.11" 2021-04-20 OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9) OpenJDK 64-Bit Server VM AdoptOpenJDK-11.0.11+9 (build 11.0.11+9, mixed mode)
GraalVM version (if different from Java)
no native involved in this issue
Quarkus version or git rev
main branch (999-SNAPSHOT)
Build tool (ie. output of
mvnw --version
orgradlew --version
)3.8.2
Additional information
No response
The text was updated successfully, but these errors were encountered: