Services are one of the key Kubernetes primitives you need to understand to glue microservices together and expose your applications outside of the cluster. The Service resource provides an abstract way to expose an application running on a set of Pods as a network service. Sounds simple, but what’s the difference between a Cluster IP, Node Port, and Load Balancer service? And how do all these abstractions translate to real under the covers networking behavior?
I created this short 7-minute video that explains all this and more!
In the video you’ll learn:
- How pods consume services within the cluster (Cluster IPs).
- The different ways a service can be consumed outside of the cluster (Node Ports, Load Balancers, and Service IP advertisement).
- What is External Traffic Policy and how does it impact a service?
- How Services and Network Policy interact.
- How all this works under the covers in concrete networking terms.
- What differences Calico’s native service handling capabilities bring to the picture compared to kube-proxy.
If you enjoyed this video then you may also like:
- Everything you need to know about Kubernetes Ingress networking
- Everything you need to know about Kubernetes networking on AWS
- Everything you need to know about Kubernetes networking on Azure
- Everything you need to know about Kubernetes networking on Google Cloud
- Free online training at projectcalico.org/events or subscribe to Calico Essentials for personalized training & workshops