Sequential Breakdown of the Process
In this lesson, we will first go through the sequential breakdown of Ingress resource creation process and then create the second Ingress resource.
Let’s see, through a sequence diagram, what happened when we created the Ingress resource.
-
The Kubernetes client (
kubectl) sent a request to the API server requesting the creation of the Ingress resource defined in theingress/go-demo-2.ymlfile. -
The ingress controller is watching the API server for new events. It detected that there is a new Ingress resource.
-
The ingress controller configured the load balancer. In this case, it is nginx which was enabled by
minikube addons enable ingresscommand. It modifiednginx.confwith the values of allgo-demo-2-apiendpoints.
Now that one of the applications is accessible through Ingress, we should apply the same principles to the other. ...