Open desmond27 opened 12 months ago
Hey, @desmond27.
Thanks for the feedback. We'll look into this.
This issue will remain open until then.
This guide is a bit of a hole, and there is no pre-description of "Spring Cloud Kubernetes Discovery Server". For details, see:
Article and Module Links https://www.baeldung.com/spring-cloud-kubernetes https://github.com/eugenp/tutorials/tree/master/spring-cloud-modules/spring-cloud-kubernetes
Describe the Issue When building and deploying the application on Minikube using the
deployment-travel-service.sh
script, attempting to access the/
URI on the client-service throws this error:I think a discovery server needs to be running with URL
http://myapp-discoveryserver
as per the propertyspring.cloud.kubernetes.discovery.discovery-server-url
in theapplication.properties
file:To Reproduce Steps to reproduce the behavior:
spring-cloud-modules/spring-cloud-kubernetes/kubernetes-guide
minikube start
with appropriate driver.deployment-travel-client.sh
minikube service list
to see the URL of the client-service service.http://<The URL from the service list>/
in a browser. It will return a 500 error.Expected Behavior There is no error and we should get a response displaying the message from the config map, response body from travel-agency-service and a list of services returned by the discovery client.
Screenshots N/A
Environment (please complete the following information):
Additional Context None