Use Ingress To Expose Services In Kubernetes
This experiment involves Alibaba Cloud Container Service for Kubernetes. It demonstrates how to use a Kubernetes Ingress. You can expose services within a Kubernetes cluster to clients outside the cluster by using the Service or Ingress method. Service is an abstraction which defines a logical set of pods with identical functions that provides an unchanged endpoint. That is, when a service exists, its IP address and port number remain unchanged. After a client establishes a connection through the IP address and port number, the connection is routed to any pod of the service. In contrast, Ingress is a service-based endpoint. It works at the application layer of the network and provides functions that cannot be implemented by Service, such as HTTPS certificate configuration, cookie-based sessions, and route forwarding.