Let's summarize what we learned about the service and how this information applies to
the exam.
So first of all, pod-to-pod communication should not be performed using a pod's virtual
IP address.
At any given point of time, if the pod needs to be restarted or if the node needs to be
restarted, we will lease a new virtual IP address.
As you can probably easily imagine, this is not a good basis for building a microservices
architecture.
Now, a service offers this stable network interface and it's a good fit for implementing
microservices architectures.
Now we can expose network access from within the cluster or expose it to clients outside
of the cluster.
Now we talked about different service types that are going to be relevant for the exam.
We talked about the cluster IP, the node port, and the load balancer.
In fact, there are other services types that we didn't mention here, but you don't have
to understand them, at least for the purpose of the exam.
So if you want to dive deeper, you definitely can, but they're not required to fully understand.
It's important to set up service objects with different service types.
So make sure that you practice how to access those services, either from within the cluster
or from outside of the cluster.