-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Errors when running Ocelot.Provider.Kubernetes in Azure K8 #1527
Comments
I am new to Ocelot on K8 and find the documentation confusing and not clear on proper setup. |
@tomfanara nothing is wrong with your configuration, seens to be a bug on Ocelot! I got the same problem when upgrade to |
Any update? Because of this i got stuck on version |
Hi Felipe hope all is well. I gave up on Ocelot on K8 but I still use it in dev for Docker Compose. I just use a Ingress Controller in K8 instead and load balance from their and wired in Identity with a JWT.
However, I liked the simplicity of Ocelot with DI. I'll be back under the hood soon.
I am not sure they are still supporting Ocelot although Microsoft is endorsing it in their microservices book.
thanks,
Tom
…________________________________
From: Felipe Leão ***@***.***>
Sent: Thursday, July 7, 2022 9:07 AM
To: ThreeMammals/Ocelot ***@***.***>
Cc: tomfanara ***@***.***>; Mention ***@***.***>
Subject: Re: [ThreeMammals/Ocelot] Errors when running Ocelot.Provider.Kubernetes in Azure K8 (#1527)
Any update? Because of this i got stuck on version 14.1.0 when all works
—
Reply to this email directly, view it on GitHub<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FThreeMammals%2FOcelot%2Fissues%2F1527%23issuecomment-1177672750&data=05%7C01%7C%7C980a2fe169ae4948857508da6022093b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637927996582538536%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ab8bwUyDudI%2BKK%2FrpIFw7xIGkKYsW1ENSUzb73DWv60%3D&reserved=0>, or unsubscribe<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAVQO4I5VDIPPDDVXLRVHLQLVS3QCHANCNFSM5GELPYIA&data=05%7C01%7C%7C980a2fe169ae4948857508da6022093b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637927996582538536%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=oNT57Hcm5tVi8xeS5Tqs7XfXN1hMG2MpK%2FWD6Z1A9g8%3D&reserved=0>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@ggnaegi |
@raman-m Ok, yes, the problem is here
The design isn't great and should be addressed in the future. Since the class used for the k8 provider is called KubernetesServiceDiscoveryProvider It will never match kube ...
|
@ggnaegi 🆗 You know this logic better than me.
Oh, oh! Ups!... Yeap, design is not great. But K8 SD feature works in general, right? |
@tomfanara Did you follow the instructions in Kubernetes doc? 😉
Seems not endorsing nowadays anymore... 😢 |
… discovery provider (#1954) * Update kubernetes.rst The `Type` field for the kubernetes example is outdated * Rename the class back to `Kube` making it as default K8s provider * Endpoint mocking for `GetAsync()` of `Kube` provider * Switch off timer * Update K8s docs * IDE1006: Naming rule violation * Follow .NET conventions for test class names --------- Co-authored-by: Raman Maksimchuk <[email protected]>
Expected Behavior / New Feature
Expect downstream routing to work
Actual Behavior / Motivation for New Feature
404 error
Error Code: UnableToFindServiceDiscoveryProviderError Message: Unable to find service discovery provider for type: consul errors found in ResponderMiddleware. Setting error response for request path:/products/g-ps4, request method: GET
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: