-
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
Update to Stork 1.4.1 #30272
Update to Stork 1.4.1 #30272
Conversation
cescoffier
commented
Jan 10, 2023
•
edited
Loading
edited
- Fix smallrye-stork - New service discovery implementation based on Knative quarkus-upstream-roadmap#19
- Fix Fights service shouldn't use client side load balancing when deployed in knative quarkus-super-heroes#146
Milestone is already set for some of the items:
We haven't automatically updated the milestones for these items.
|
@cescoffier I see this was merged but I don't see any updated documentation, either on the Quarkus stork guide nor the smallrye stork docs on how to actually use this? |
@edeandrea this is weird, the documentation is there: https://github.com/smallrye/smallrye-stork/blob/main/docs/docs/service-discovery/knative.md But, it looks like something went wrong with the web site generation during the release. |
Yeah I don't see any docs for 1.4.1 |
@edeandrea i've found the issue. I opened the release PR from my fork so it updated the wrong remote. I've triggered another redeploy, but, Murphy's law applied... GitHub actions are down. |
@edeandrea Finally! https://smallrye.io/smallrye-stork/1.4.1/service-discovery/knative/#caching-the-service-instances Sorry about that! |
Thanks! Once 2.16 ships I'll verify that it fixes quarkusio/quarkus-super-heroes#146 |
Hey @cescoffier circling back to this. When reading https://smallrye.io/smallrye-stork/1.4.1/service-discovery/knative/#caching-the-service-instances I see this property: Is that property required? If left blank will it assume the same namespace as the app? If its required, then this solution doesn't solve the original problem discussed in quarkusio/quarkus-super-heroes#146 |
@cescoffier additionally, how do I tell the stork knative client what the name of the knative service is? the docs say
But in my case my jaxrs client has So how do I bind For example, with the kubernetes service discovery, I would put I don't think having Other service discovery configs are in the format |
I would think I would want something like this (which I have verified does not work): quarkus.stork.hero-service.service-discovery.type: knative
quarkus.stork.hero-service.service-discovery.application: rest-heroes
quarkus.stork.villain-service.service-discovery.type: knative
quarkus.stork.villain-service.service-discovery.application: rest-villains This would say that the Similar with the There may be situations where a single app is using multiple service discovery mechanisms, one per client. Say, for example, with the superheroes, the hero service is a knative app, but the villain service is a regular app deployed via a k8s |
The |
@aureamunoz see my other comments in #30272 (comment) & #30272 (comment) How do I bind the knative service discovery to a particular rest client within my app? Happy to chat offline if I've confused you :) |
It works exactly like described here. We have an issue displaying the documentation (I will open an issue for it). The following configuration properties are available for knative service discovery:
|
Stork web site fixed.... Do not ask what went wrong. I just retriggered the publication, and voilà.... |