Comments (8)
Since quarkusio/quarkus@b89fece#diff-f15233cea0f87118b4441038738a41197a55fb6e3e1f3e06efd1dc4b41fe0143R160, the Kubernetes services created by Quarkus now contain two ports:
- HTTP (8080)
- HTTPS (8443)
The problem with the two ports is that our application exposes a single one, so the second one will constantly fail.
When Stork lists the endpoint ports, it finds the two ports and does not know which one to use. So, it picks the first one, which has 50% of selecting the wrong one.
@Sgitario added a feature to Stork that allows selecting the port. However, having a new, almost mandatory attribute for something that should not be is inconvenient. But that's a workaround until we can improve the generation.
from quarkus-super-heroes.
With quarkusio/quarkus#33237, you would need to set port-name: http
for the clients using stork.
from quarkus-super-heroes.
I did try that but still did not work.
from quarkus-super-heroes.
from quarkus-super-heroes.
I tried quarkusio/quarkus#33237 with quarkusio/quarkus#33131 and the new property works fine: quarkusio/quarkus#33131 (comment)
from quarkus-super-heroes.
I haven't tried it yet. How would I do that? Build Quarkus main and then build super heroes off of that?
from quarkus-super-heroes.
@edeandrea no need for the full quarkus. Just use Stork 2.2.0 (set the dependency version on the kubernetes service discovery dependency).
The PR bumping the Stork version in Quarkus has been opened. I hope it will be merged and include for the next release (cut today if I'm not mistaken).
from quarkus-super-heroes.
The fix has been integrated in the latest Quarkus release:
https://github.com/quarkusio/quarkus/releases/tag/3.0.3.Final
from quarkus-super-heroes.
Related Issues (20)
- Rewrite UI in a more modern framework HOT 1
- Indicate generated yaml by .gitignore-ing it and including a comment indicating it's generated (to reduce maintenance effort for contributors) HOT 23
- Clean up various kubernetes profiles config HOT 4
- Add a narration microservice that can narrate fights
- Fight microservice website information is outdated
- InvalidDefinitionException with Instant in tests with quarkus dev mode HOT 5
- Missing config key in hero register rest client annotation
- Support native compilation in narration service HOT 1
- Introduce Java 21 HOT 8
- Introduce some gRPC? HOT 1
- Update azure containerapps docs & script with narration service
- Introduce some gRPC?
- Stork env vars not working properly when deployed to k8s HOT 4
- Switch narration app to use quarkus-langchain4j HOT 12
- Change fighters/location UI around a bit to use flip cards
- Add microcks to UI service
- Add openshift-ai integration into narration service
- NoSuchElement on Configuration of rest-fights HOT 2
- Weird CORS bug when pressing "fights" HOT 10
- Weird MongoDB error when running the rest-fights service with Quarkus dev HOT 8
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 quarkus-super-heroes.