I tried to add LoadBalancer to the RestTemplate . But it complains "No instances available " Can you pls tell how to do this with multiple server side instances running .
Hi. I have one query. Please help me out. "How my microservices communicate with each other in kubernetes". Say i created 2 microservices i.e Employee-Frontend and Employee-Backend. And i created pods of these 2 services. Now, i will expose employee Frontend service.yaml file , to get external ip which end user uses. But how this frontend services communicate with backend service. Do i suppose to use Spring boot Cloud / Service Discovery or something in kubernetes?
I think you just used native Kubernetes discovery, not the spring cloud Kubernetes library. This code will work just fine if you didn't import anything or enable discovery client.
@@arunrajput1007 Yes, it has something called Ingress by default, however you can bring in your own Ingress Controller like Concur as custom resource definitions (CRDs)
Every time i learn something here, Keep rocking !!!
Great man! Very clear demo!
Very good video, thank you
Thanks for the demo. All your videos were very clear about the concepts.
One request from my side, Can you do a video on Kubernetes Secrets ?
Yes eresh. That will be the next video
thanks a lot. Great demo
I tried to add LoadBalancer to the RestTemplate . But it complains "No instances available " Can you pls tell how to do this with multiple server side instances running .
How we can see eureka like dashboard here or k8 dashboard to use
What is the plugin you are using to auto generate those yaml code for Docker, k8s and skaffold. Could you please share the name? thank you
How to load balance if we have multiple instances of server is running
The service will automatically handle the load balancing.
which kind of example this was, client side service discovery or server side service discovery ?
Thanks for that demo.
Here Can I used feign respect to RestTemplate ?
Yes, u can
Hi. I have one query. Please help me out. "How my microservices communicate with each other in kubernetes". Say i created 2 microservices i.e Employee-Frontend and Employee-Backend. And i created pods of these 2 services. Now, i will expose employee Frontend service.yaml file , to get external ip which end user uses. But how this frontend services communicate with backend service. Do i suppose to use Spring boot Cloud / Service Discovery or something in kubernetes?
Kubernetes has inbuilt service discovery, you can leverage it or use this
@@TechPrimers I have a doubt, what rest url would i set in frontend service so that it communicate with backend service ?
thanks, bro
I think you just used native Kubernetes discovery, not the spring cloud Kubernetes library. This code will work just fine if you didn't import anything or enable discovery client.
can we use loadbalancer by specifying lb in url here also as we usually do in service discovery ???
Nope, kubernetes does LB using tags of the nodes.
@@TechPrimers Just wondering if kubernetes also have a spring cloud gateway alternatives
@@arunrajput1007 Yes, it has something called Ingress by default, however you can bring in your own Ingress Controller like Concur as custom resource definitions (CRDs)
@@TechPrimers It would be of great help to anyone if you can make video on it comparing with spring cloud gateway 😀
Complex, I prefer Eureka