Comments on: Quick Guide to Microservices with Kubernetes, Spring Boot 2 and Docker https://piotrminkowski.com/2018/08/02/quick-guide-to-microservices-with-kubernetes-spring-boot-2-0-and-docker/ Java, Spring, Kotlin, microservices, Kubernetes, containers Thu, 03 Dec 2020 23:15:54 +0000 hourly 1 https://wordpress.org/?v=6.9.1 By: Mandar Lad https://piotrminkowski.com/2018/08/02/quick-guide-to-microservices-with-kubernetes-spring-boot-2-0-and-docker/#comment-584 Mon, 24 Feb 2020 17:58:19 +0000 https://piotrminkowski.wordpress.com/?p=6769#comment-584 Hi Piotr,

I could make the pods, services and deployments running on my Windows 10 (enterprise) laptop. And I had added the IP – DNS mapping to C:\Windows\System32\drivers\etc\hosts. However for some reason it is not working as expected. So I have a couple of questions as below –

1> Do we need to set up this IP address and DNS mapping in the hosts file? If yes, which IP address should I map to “microservices.info” in the hosts file. Currently I mapped the one which is returned by IP Config.

2> I am using the Kubernetes engine that comes packed with Docker for Desktop (windows installer). I could not run Minikube (though I could install it ), because my laptop does not have sufficient memory. Can your project be deployed and tested, with this constraint ?

Sorry about my ignorance. Please help. Thank you!

Mandar

]]>
By: Piotr Mińkowski https://piotrminkowski.com/2018/08/02/quick-guide-to-microservices-with-kubernetes-spring-boot-2-0-and-docker/#comment-585 Mon, 24 Feb 2020 17:19:34 +0000 https://piotrminkowski.wordpress.com/?p=6769#comment-585 In reply to Mandar Lad.

Hi,
1. You need to map your VM with Kubernetes ip address. I don’t know what’s ip address when you use Docker Desktop (maybe localhost?), but for minikube it is returned by commany minikube ip.
2. Generally the applications require around 300-400 MB to start. There are 3 apps and Mongo, what gives us around 1.2 GB. Assuming it you can start minikube with minimum RAM requirement – 2gb. Of course you should also be able to run them on Kubernetes in Docker Desktop

]]>
By: Piotr Mińkowski https://piotrminkowski.com/2018/08/02/quick-guide-to-microservices-with-kubernetes-spring-boot-2-0-and-docker/#comment-582 Fri, 20 Dec 2019 12:18:30 +0000 https://piotrminkowski.wordpress.com/?p=6769#comment-582 In reply to Varun Gupta (@vrungupta).

It is present: https://github.com/piomin/sample-spring-microservices-kubernetes/tree/master/kubernetes

]]>
By: Varun Gupta (@vrungupta) https://piotrminkowski.com/2018/08/02/quick-guide-to-microservices-with-kubernetes-spring-boot-2-0-and-docker/#comment-581 Thu, 19 Dec 2019 08:28:07 +0000 https://piotrminkowski.wordpress.com/?p=6769#comment-581 I think the kubernetes directory is missing from repo. I couldn’t find it on github and had to create it on my own.

]]>
By: djibril diallo https://piotrminkowski.com/2018/08/02/quick-guide-to-microservices-with-kubernetes-spring-boot-2-0-and-docker/#comment-580 Fri, 15 Nov 2019 17:31:47 +0000 https://piotrminkowski.wordpress.com/?p=6769#comment-580 Un excellent article

]]>
By: Prashanth Rai https://piotrminkowski.com/2018/08/02/quick-guide-to-microservices-with-kubernetes-spring-boot-2-0-and-docker/#comment-579 Fri, 13 Sep 2019 11:11:05 +0000 https://piotrminkowski.wordpress.com/?p=6769#comment-579 Great article. Thanks a lot Piotr for putting this together making it easy for us to follow

]]>
By: Piotr Mińkowski https://piotrminkowski.com/2018/08/02/quick-guide-to-microservices-with-kubernetes-spring-boot-2-0-and-docker/#comment-575 Mon, 27 May 2019 17:49:48 +0000 https://piotrminkowski.wordpress.com/?p=6769#comment-575 In reply to SARVESH.

Hello, I didn’t try to deploy on GKE. But it’s the standard Mongo template

]]>
By: Piotr Mińkowski https://piotrminkowski.com/2018/08/02/quick-guide-to-microservices-with-kubernetes-spring-boot-2-0-and-docker/#comment-574 Tue, 14 May 2019 07:12:07 +0000 https://piotrminkowski.wordpress.com/?p=6769#comment-574 In reply to gfalco77.

Hello,
Although Spring Cloud Ribbon has been moved to the maintenance mode in the end of past year it is still the default client-side load balancer for all Spring Cloud projects. The development of Spring Cloud Loadbalancer is in progress, but I don’t think it has been finished yet. There is no any article about that, except my post on blog: https://piotrminkowski.wordpress.com/2019/04/05/the-future-of-spring-cloud-microservices-after-netflix-era/. If you need API gateway you can always use Kubernetes Ingress. In case you need Swagger API documentation you can probably use Spring Cloud Gateway. The only problem with that during writing this article was the lack of support for SpringFox Swagger project since Spring Cloud Gateway is based on asynchronous Netty server. However, I have already heard that this support has been implemented (I didn’t check it by myself).

]]>
By: SARVESH https://piotrminkowski.com/2018/08/02/quick-guide-to-microservices-with-kubernetes-spring-boot-2-0-and-docker/#comment-573 Fri, 10 May 2019 04:40:17 +0000 https://piotrminkowski.wordpress.com/?p=6769#comment-573 This is really a nice and informative article. I tried this example with Google Kubernetes Engine. When I am deploying mongodb on it, it is getting failed.
Error logs in mongo pod:
E QUERY [js] Error: couldn’t add user: Error preflighting normalization: U_STRINGPREP_PROHIBITED_ERROR :
_getErrorWithCode@src/mongo/shell/utils.js:25:13
DB.prototype.createUser@src/mongo/shell/db.js:1491:15
@(shell):1:1
Can you help me with this?

]]>
By: gfalco77 https://piotrminkowski.com/2018/08/02/quick-guide-to-microservices-with-kubernetes-spring-boot-2-0-and-docker/#comment-572 Fri, 03 May 2019 14:43:54 +0000 https://piotrminkowski.wordpress.com/?p=6769#comment-572 Hello
Do we still need to use the netflix api for ribbon and gateway? Or could we use spring cloud gateway and spring cloud load balancer?
Thanks

]]>