Tutorial: Kubernetes Services for pods running in k8s cluster
Published in
5 min readJan 11
--
Pods in kubernetes (k8s) are ephemeral; i.e. They come and go anytime. We can’t assume a pod will live forever or even a specific amount of time. Pods have IP addresses. Due to its ephemeral nature, it will not have a static IP address. When it starts afresh k8s will assign it a new IP address. Then how does another pod access the ports and services exposed by the Pod exposing a…