OpenShift Routes Red Hat OpenShift is a popular enterprise distribution of Kubernetes. Besides being fully compliant with Kubernetes, OpenShift provides some additional features. One of these features are Routes, which are very similar to Ingress. They are so similar, in fact, the differences might be difficult to spot. First of all, Routes predates the intro‐ duction of the Ingress object in Kubernetes, so Routes can be considered a kind of predecessor of Ingress. However, some technical differences still exist between Routes and Ingress objects: Having said all that, you can use Ingress on OpenShift, too. So you have the choice when using OpenShift. In this chapter, we covered the favorite  Service Discovery  mechanisms on Kubernetes. Discovery of dynamic Pods from within the cluster is always achieved through the Service resource, though different options can lead to different implementations. The Service abstraction is a high-level cloud-native way of configuring low-level details such as virtual IP addresses, iptables, DNS records, or environment variables.  Service Discovery  from outside the cluster builds on top of the Service abstraction and focu‐ ses on exposing the Services to the outside world. While a  NodePort  provides the basics of exposing Services, a highly available setup requires integration with the plat‐ form infrastructure provider. Table 12-1 summarizes the various ways  Service Discovery  is implemented in Kuber‐ netes. This table aims to organize the various   mechanisms in this chapter from more straightforward to more complex. We hope it can help you build a mental model and understand them better. Discussion • A Route is picked up automatically by the OpenShift-integrated HAProxy load balancer, so there is no requirement for an extra Ingress controller to be installed. However, you can replace the build in OpenShift load balancer, too. • You can use additional TLS termination modes like re-encryption or pass- through for the leg to the Service. • Multiple weighted backends for splitting traffic can be used. • Wildcard domains are supported. Discussion  |  113