Debug School


Posted on

Question Day 3 -SVC

  1. What is service
  2. Why do we need it
  3. How does it works

Ans1 :- Service is a kuberentes resource which can help us to connect to through the endpoints of the other resources(for eg PODS). It's basically used to load Balance between the kubernetes resources

Ans2:- We need services for eg if we deploy some pods in a cluster every time we re deploy it will change IP's so to communicate between two will become an issue plus Transferring data from one pod to another can also get difficult this is where Service Helps

Ans3:- Services works when label of pods matches the selector label of the service the transfer of data will start

Top comments (0)