spring-microservice-k8s
kandi X-RAY | spring-microservice-k8s Summary
kandi X-RAY | spring-microservice-k8s Summary
spring-microservice-k8s
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Gets data
- Get public mailing address
- Main application
- Entry point
- The main entry point
- Entry point for the application
- Main entry point
spring-microservice-k8s Key Features
spring-microservice-k8s Examples and Code Snippets
Community Discussions
Trending Discussions on spring-microservice-k8s
QUESTION
I have a microservices architecture with Docker containers and now want to move to deploy using Kubernetes. I am not able to run the application with Kubernetes. The gateway server is not connecting to service discovery and forwarding request.
As a demo application I have created 4 services: - Zuul service - Eureka service - Contact service - User service
Githube repo - https://github.com/dhananjay12/spring-microservice-k8s
The application runs fine with docker-compose. I have created the images and pushed to Dockerhub.
K8s files - https://github.com/dhananjay12/spring-microservice-k8s/tree/master/k8s
To forward request I have setup Ingress-nginx.
I started the service by running follwoing:
...ANSWER
Answered 2018-Dec-27 at 11:34As @a.l. pointed out that the SPRING_EUREKA value should be the cluster-ip:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install spring-microservice-k8s
mvn clean install -Ddocker -Ddocker.skip.push.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page