You will learn:
- What a
Service
is - When to use the different service types
- How Kubernetes service discovery works
- Port forwarding an entire service
- Creating a
ClusterIP
service - Creating a
NodePort
service - Creating a
Headless
service - Service Discovery
- Deploy
functions/node-info
as a deployment with 5 replicas (Port 8080) - Create a
ClusterIP
service for the deployment - Port forward service to localhost and curl away!
- Create a
NodePort
service for the deployment - Curl localhost on the
NodePort