snowdrop-zen / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
1 stars 0 forks source link

Cannot deploy "pure" messaging application to Kubernetes #400

Closed snowdrop-bot closed 3 years ago

snowdrop-bot commented 3 years ago

Describe the bug

If you have an application that does not run an HTTP server, the OpenShift/Kubernetes metadata generation fails with:

No Openshift manifests were generated (most likely due to the fact that the service is not an HTTP service) so no openshift process will be taking place

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:

> mvn quarkus:add-extension -Dextensions="openshift"
> mvn clean package -Dquarkus.container-image.build=true -DskipTests -Dquarkus.container-image.push=true

Output of uname -a or ver

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 or gradlew --version)

3.8.2

Additional information

No response


https://github.com/quarkusio/quarkus/issues/19442


$upstream:19442$