WEBVTT

00:00.540 --> 00:03.450
-: It looks like my Travis CI build has successfully passed.

00:03.450 --> 00:05.700
So in theory, all the changes that we just made

00:05.700 --> 00:08.340
to that Ingress config file have now been placed

00:08.340 --> 00:10.230
on our Kubernetes cluster.

00:10.230 --> 00:11.063
I'm gonna go back over

00:11.063 --> 00:14.373
to my Kubernetes dashboard, and then refresh the page.

00:15.240 --> 00:16.500
Now, once I refresh the page,

00:16.500 --> 00:19.170
and then going to go to the Services tab,

00:19.170 --> 00:20.760
and then on here you might notice

00:20.760 --> 00:23.280
that on the Ingress Service we see a couple

00:23.280 --> 00:25.230
of different endpoints that exist.

00:25.230 --> 00:26.850
So each of these different endpoints

00:26.850 --> 00:29.790
now represent the different routes that our

00:29.790 --> 00:32.850
Ingress NGINX controller is going to handle.

00:32.850 --> 00:34.470
As a quick test, I'm gonna try visiting

00:34.470 --> 00:35.520
the first link right here,

00:35.520 --> 00:39.570
that's going to take me to k8s-multi.com.

00:39.570 --> 00:41.250
And when I go there, sure enough,

00:41.250 --> 00:44.160
I see our updated version Kubernetes,

00:44.160 --> 00:46.950
and I've got that nice little green HTTPS

00:46.950 --> 00:48.180
on the left hand side.

00:48.180 --> 00:49.966
So it definitely looks like this works successfully,

00:49.966 --> 00:53.430
but we don't really know for sure until we do a better test.

00:53.430 --> 00:54.720
For example, what happens

00:54.720 --> 00:59.720
if I try to go to www.k8smulti.com?

00:59.730 --> 01:01.920
If I go there, I still see the same page.

01:01.920 --> 01:04.500
Awesome. That's exactly what we expect.

01:04.500 --> 01:07.860
Now, what if I go to, say, HTTP?

01:07.860 --> 01:10.260
If I go to HTTP, I really want to make sure

01:10.260 --> 01:11.850
that this thing gets automatically

01:11.850 --> 01:14.010
redirected over to HTTPS,

01:14.010 --> 01:15.780
'cause I don't want my users visiting

01:15.780 --> 01:18.780
the HTTP version of my page.

01:18.780 --> 01:20.940
So I'll try going there. I get redirected.

01:20.940 --> 01:22.620
And then one last combination,

01:22.620 --> 01:26.523
If I go to HTTP, without the www,

01:27.480 --> 01:30.180
I get the redirect over to HTTPS as well.

01:30.180 --> 01:31.920
So that's pretty much it. We did it!

01:31.920 --> 01:35.340
We set up HTTPS on a Kubernetes cluster.

01:35.340 --> 01:37.297
Now I know like a dozen videos ago, I said,

01:37.297 --> 01:38.700
"Oh yeah, this is really hard",

01:38.700 --> 01:41.190
and maybe it didn't seem like it was super hard.

01:41.190 --> 01:42.180
I guess in retrospect,

01:42.180 --> 01:43.260
it wasn't the worst thing in the world.

01:43.260 --> 01:45.600
But trust me, when I was first figuring this stuff out,

01:45.600 --> 01:47.730
long time ago with CERT-manager,

01:47.730 --> 01:50.010
boy, this was a very complicated process,

01:50.010 --> 01:51.450
and there was a lot of config settings

01:51.450 --> 01:54.510
inside of here, it was just a total mystery.

01:54.510 --> 01:56.670
So I hope for you, it seemed a little bit more clear

01:56.670 --> 01:58.020
than it did for me.

01:58.020 --> 01:59.520
All right my friends, in general,

01:59.520 --> 02:00.353
That's pretty much it.

02:00.353 --> 02:01.350
That is Kubernetes.

02:01.350 --> 02:02.850
We've gone through the entire process

02:02.850 --> 02:05.250
of developing and deploying application.

02:05.250 --> 02:06.630
We then went ahead and set up

02:06.630 --> 02:09.780
this awesome workflow using Travis CI.

02:09.780 --> 02:11.597
So now at any point in time in the future,

02:11.597 --> 02:14.370
if you ever want to expand upon your cluster,

02:14.370 --> 02:16.560
I think you know what to do.

02:16.560 --> 02:18.120
If you want to create a new deployment,

02:18.120 --> 02:19.350
or a new set of pods,

02:19.350 --> 02:22.140
all you gotta do is make a new config file inside

02:22.140 --> 02:25.320
that K8s directory, and describe what you want to deploy.

02:25.320 --> 02:26.250
That's the entire system.

02:26.250 --> 02:28.440
That's all you gotta do with Kubernetes.

02:28.440 --> 02:29.790
So I hope you enjoyed this course,

02:29.790 --> 02:31.020
I hope you enjoyed Docker,

02:31.020 --> 02:32.460
I hope you enjoyed Kubernetes.

02:32.460 --> 02:33.510
If you really like the course

02:33.510 --> 02:36.540
I do have a ton of other courses on Udemy.

02:36.540 --> 02:37.980
You can check out the next section,

02:37.980 --> 02:39.690
and I got a couple coupons in there,

02:39.690 --> 02:41.910
for you to go and check out some other courses

02:41.910 --> 02:43.590
that I have on the platform.

02:43.590 --> 02:45.940
So certainly feel free to do so if you want to.

02:46.800 --> 02:48.150
All right, I hope you enjoyed the course,

02:48.150 --> 02:50.583
and I hope to see you again in the future.
