Hey can anyone..help me on this...why this webapp-service have more than one end . . .

Akash Mohanto:
hey can anyone…help me on this…why this webapp-service have more than one endpoints…??

Rob Thorne:
Each pod linked to the service gets an endpoint.

Anurag Kumar:
@Akash Mohanto It’s because the underlying pods are backed by a deployment.

e.g.
$ kubectl create deployment nginx --image=nginx --replicas=3
$ kubectl expose deployment nginx --port=8080 --target-port=80
The deployment will create 3 pods and then the service will create 3 endpoints corresponding to 3 pods for doing the traffic routing to pods.