This is the solution video for the Ingress lab, so there are a few deployments for Ingress controller
and resources and other applications in this cluster, which are in different names, pieces of us.
We'll explore them.
So to do that, let's run Cuba, still get deployment's, dash, dash, all naem space's.
And we see that there are a couple of names here, the first one is called Cap Space, which has a few
deployments for your application.
And then there is the English space, which has the Ingenix English controller.
So let's go to the next question, which namespace is the Ingress controller deployed and we know that
it's in the ingress space.
What is the name of the Ingress controller deployment?
We know that it's Ingenix Ingress controller.
Britney Spears are the applications deployed and we already saw that it's in the app space.
How many applications are deployed in the app space namespace, so let's count, there are in total
three deployments, so the answer is three.
Which means space is the increased resource deployed, and so to find this, let's run Cuba, still
get ingress and dash, dash, all limp space's.
And we see that it is deployed in the app space namespace.
What is the name of the Ingress resource?
We know that it is in Greece where watch from the previous command.
What as the host country good on the Ingress resource to find us will run Cukier, describe Ingres.
Or we can even find it out from the previous comment, it's set to Star, which is all Dehousse.
What back in those days were part on the increased country godwit, and for this we definitely have
to make use of cubical describe.
And let's use the national space for the new space and we'll describe ingress called ingress where watch
and we see that the back end is where, service for where and for what it is we do service.
So let's select where service.
Which is the answer in this case.
At what part as the video streaming application made available on the ingress?
So if you see the back in part, it is slash watch, which makes use of the video service.
The answer should be.
Watch.
If the requirement does not match any of the country parts, which service are what services are the
requests forwarded?
So this will go to the default back end, which is configured, the default SCDP back end would be the
service.
Now view the ingress service using the tab at the top of the terminal, which pays, do you see?
So let's click on the tab called Ingres.
And right now, we are getting an SCDP four or four Web page.
So it looks like it's not working it so for or for error, which is the answer to the application by
appending where and slash watch.
So let's add that to the end of the URL here.
Hogwash, and you can see that we have the video service.
You are requested to change the Urals at with the applications are made available, so we have to make
the back and change the part to stream and sort of currently set to watch.
So let's change that.
To do this, let's on Cuba's media and our space, get ingress and egress.
Where was the actual Yamal and redirected to a file called In Restored Giammo.
Now, let's edit this configuration file and we'll change the back in part for the video service to
stream.
Once this is done, let's use cubicle dash in our space, delete ingress to delete the current configuration,
and let's apply and recreate it from our configuration file.
So now if your should no longer work with this watch bot, but if you change it to stream, we are able
to see the webpage so that it's successful and we've already done this, but we're able to view it with
this large stream added to the euro.
Now the next question as a user is trying to view these Ertuğrul on the English service.
Which page would you see?
So there is no slash eat, can't eat pot configured, so it should go to the SCDP default back in.
So we are getting the Arrow page.
Due to the increased demand, your business decides to take on a new venture, you acquired a food delivery
company, their applications have been migrated over to the cluster.
First inspect the new applications which are deployed in the cluster.
So let's try and still get deployment's on namespace, and you see that there is a new deployment called
Web App Dashboard and the app space namespace.
And now let's also take the service.
And we see that our food service has been created as well in the same name space.
You are requested to add a new part to the Congress to make the food delivery application available
to your customers so the configuration is given on the right to make use of it as the board.
And we already inspected the deployment and the services.
So let's update the configuration file that we created earlier, we are going to add another back end.
So in this case, the new back end would be for the food service.
So let's add that underneath as a new ORAY.
And just copy pasting, the previous result will just make changes to the service name, the food service,
the service port is exactly as it is, and the parts should be eat.
Once this is done, we'll do the same step as before, we'll delete the current ingress resource and
recreate it from the local configuration file.
Now, if you're afraid, you're able to create a webpage.
We've already done that, so let's move on.
A new payment service has been introduced since it is critical the new application has deployed its
own namespace.
So let's first inspect the new deployment and a new namespace.
So, yeah, let's run the same command as before, and now we can see that a new deployment by the name
of baby is in the critical space.
And let's run the deployments and services them together on the critical space namespace and we see
that build our service has also been created and reporters eat to to.
All right, so we know that it is in the critical space, what is the name of the deployment?
So we know that it is webapp B.
Now, you're now requested to make the new application available at Igby, so let's create a new Ingres
resource.
So they just copy the current YAML file and rename it to new file called Critical Dot Giammo, and the
part should be Igby and it should make use of the appropriate services that we have already inspected.
So let's make the change to this new file that we copied and scroll all the way to the spec section.
Yeah, and first, we have to change the name space to critical space, because that's where the deployments
and the services are created.
It's also changed the name of the ingress resource to ingress be.
Next, let's update the backhands, so this should just have one back in.
Let's get rid of the other two.
And the service name should be very happy, the the service name should be paid service the borders
to it too, and the parts should be slashed.
Pay.
So that was done so we can now.
Create this New England resource, but first, let's make sure that everything has been set up according
to the question, especially the back in parts, that looks correct.
So let's now apply and create our new ingress resource and the critical space namespace.
So let's run detailed and critical space, describe the new engross resource, and you can see that
the part is correct.
It's using the correct service and the correct port.
So let's now try to access the service, I'd be appended to the end of the URL and looks like it's working
as expected.
And we have already seen the euro would be a benefit to the euro, and that's working well.
So that's the last question.
Thank you for joining me this video and I'll see you in the next one.