Master Kubernetes Services to expose applications, enable pod-to-pod communication, and provide stable networking endpoints.
Deploy an application that we'll expose via Services.
kubectl create deployment web --image=nginx:alpine --replicas=3kubectl get pods -o wideCreate a 3-replica nginx Deployment. Note the pod IPs - they're ephemeral and change when pods restart.
3 nginx pods running, each with its own internal IP address.