Summary
In this chapter, we reviewed the various methods that Kubernetes provides in order to expose applications running on the cluster to the outside world. The major methods are Services and Ingress. Within Services, you can use ClusterIP Services for in-cluster routing and NodePort for access to a Service directly via ports on Nodes. LoadBalancer Services let you use existing cloud load-balancing systems, and ExternalName Services let you route requests out of the cluster to external resources.
Finally, Ingress provides a powerful tool to route requests in the cluster by path. To implement Ingress you need to install a third-party or open source Ingress controller on your cluster.
In the next chapter, we'll talk about how to inject configuration information into your applications running on Kubernetes using two resource types: ConfigMap and Secret.