Instructor: In this section,
we're gonna start setting up Ingress-NGINX
on our local project.
We're actually gonna follow the setup directions
that are tied directly to the GitHub repository.
So to get started, I'm gonna first navigate
to this address right here,
so github.com/kubernetes/ingress-nginx
and then once here,
I'm gonna find the link to the documentation
at the very top.
So this link right here.
Then once on the homepage,
I'll find the deployment tab at the very top.
Back up here, I'm gonna click on minikube.
And then it tells us that for standard usage,
which is what we are doing,
all we have to do is run this command right here,
which says, minikube addons enable ingress.
So I'm gonna copy that command, go back over to my terminal
and I'm gonna make sure I copy it this time.
There we go.
And then we should see
that ingress was successfully enabled.
And the very last thing I want to show you,
you'll recall that I just told you that on Google Cloud,
a load balancer service is actually going to be created
and that load balancer service
is going to simultaneously create
the external load balancer for us as well.
So as a little sneak peek,
if you want to,
you could scroll on down to the configuration
for GCE right here.
And then again you can copy the link
to the config file for GCE,
and then if you open that up in a new tab again
this is what is going to be created
specifically on Google Cloud.
And so as you'll notice, it is in fact a service
that has type load balancer.
And so specifically on Google Cloud,
a load balancer is created
to route traffic into your application
through the use of a load balancer service.
I thought that was just a little bit interesting
because you know, even though we're saying,
oh yeah, load balancers are a little bit dated
as a service in the world of Kubernetes,
even this newer feature
of ingress is still you seeing a load balancer
behind the scenes.
So again, I just thought it was a little bit interesting.
All right, so that's all we had to do
to set up the ingress locally.
So let's take a quick pause right here.
When we come back to the next section,
we're gonna start to configure our ingress resource.
So quick pause and I'll see you in just a minute.