Skip to content
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 #400

Closed
snowdrop-bot opened this issue Aug 24, 2021 · 0 comments
Closed

Cannot deploy "pure" messaging application to Kubernetes #400

snowdrop-bot opened this issue Aug 24, 2021 · 0 comments
Assignees
Labels
7 - Community development upstream/closed The issue has been closed in the upstream repository

Comments

@snowdrop-bot
Copy link
Collaborator

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


quarkusio#19442


$upstream:19442$

@snowdrop-bot snowdrop-bot added the upstream/closed The issue has been closed in the upstream repository label Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
7 - Community development upstream/closed The issue has been closed in the upstream repository
Projects
None yet
Development

No branches or pull requests

2 participants