Interview question

This question is step 8 of the course “Kubernetes: first steps”

Why you need a Service

easy~5 min

Every pod in Kubernetes has its own IP address. Why do you need a Service, then? How does a Service know which pods to send requests to, and what's the difference between its port and targetPort?

Just like in an interview: answer in your own words, and the AI will mark which key points you covered. To pass, cover more than half of them.

Loading…