9 videos 📅 2024-12-16 09:00:00 Asia/Brunei
2:25:36
2024-12-16 09:21:57
2:03:59
2024-12-16 11:06:33
1:46:52
2024-12-16 13:50:28
1:56:02
2024-12-17 09:35:43
1:52:29
2024-12-17 09:39:32
1:51:17
2024-12-17 13:36:38
1:35:13
2024-12-18 08:59:20
23:23
2024-12-18 11:50:59
1:47:49
2024-12-18 13:41:04

Visit the Docker and Kubernetes Training Course course recordings page

United Arab Emirates - Docker and Kubernetes on AWS

                WEBVTT

00:00:15.220 --> 00:00:29.980
So, let us continue, so now what we do is, we are going to do is, we are going to do

00:00:29.980 --> 00:00:39.500
The first step is sudo su-height su-space su-space-height

00:00:39.500 --> 00:00:42.420
Now let me talk about the steps

00:00:42.420 --> 00:00:49.520
This is module 2 labs

00:00:49.520 --> 00:00:52.120
Everyone please open this

00:00:52.120 --> 00:00:54.420
Go to module 2 labs

00:00:55.820 --> 00:00:58.100
Under that it says

00:00:58.100 --> 00:01:00.840
The first one

00:01:00.840 --> 00:01:02.080
We will talk about lab 1

00:01:02.080 --> 00:01:04.260
Open this

00:01:05.620 --> 00:01:06.800
Now I will explain

00:01:06.800 --> 00:01:08.680
I made a very simple team

00:01:08.680 --> 00:01:09.700
Just follow the steps

00:01:10.860 --> 00:01:14.220
Right now we only have 3 machines

00:01:14.220 --> 00:01:16.380
Tomorrow if you want to do it yourself

00:01:16.380 --> 00:01:18.000
You have to create 3 VMs

00:01:18.000 --> 00:01:20.560
Like Ubuntu I mentioned the steps

00:01:20.560 --> 00:01:22.420
Right now we are locked in already

00:01:23.780 --> 00:01:25.620
So in case you log in yourself

00:01:25.620 --> 00:01:26.420
Putty will be using this

00:01:27.420 --> 00:01:29.700
Now we are going to set the hostnames

00:01:29.700 --> 00:01:31.660
We are going to install this

00:01:31.660 --> 00:01:33.660
And we have a script

00:01:34.400 --> 00:01:36.160
The script is going to install

00:01:36.160 --> 00:01:37.680
Configure, kubelet, others

00:01:37.680 --> 00:01:39.400
Go ahead and see the fifth step

00:01:39.400 --> 00:01:42.480
All the self-container which we saw

00:01:42.480 --> 00:01:43.800
The plugins

00:01:43.800 --> 00:01:45.420
The kubelet

00:01:46.120 --> 00:01:46.560
Kubeadm

00:01:46.560 --> 00:01:49.360
All these are part of the script

00:01:49.360 --> 00:01:51.000
You write in the script

00:01:51.700 --> 00:01:54.400
And then we run the script

00:01:54.400 --> 00:01:55.600
Making permissions

00:01:55.600 --> 00:01:57.200
Once the script is run

00:01:57.200 --> 00:01:58.380
We observe it

00:01:58.380 --> 00:02:01.040
And then we control the version of kubeadm

00:02:01.040 --> 00:02:03.360
kubelet and kubesatl

00:02:03.360 --> 00:02:05.240
On the master

00:02:05.980 --> 00:02:07.320
Let's first do the step

00:02:07.320 --> 00:02:08.840
Let's go step by step

00:02:08.840 --> 00:02:11.020
Open the document

00:02:11.020 --> 00:02:13.000
Start from the third step

00:02:14.360 --> 00:02:16.120
3, 4, 5

00:02:16.120 --> 00:02:17.200
Fifth one

00:02:17.200 --> 00:02:18.040
File name

00:02:18.040 --> 00:02:20.320
All these must be inside the script

00:02:20.320 --> 00:02:22.480
Starting from curl

00:02:22.480 --> 00:02:23.880
Till this step

00:02:23.880 --> 00:02:25.440
You see before

00:02:26.600 --> 00:02:27.900
All these steps

00:02:27.900 --> 00:02:28.800
Before wql

00:02:28.800 --> 00:02:31.200
We have to copy the script, save it

00:02:31.200 --> 00:02:33.480
And then we say run it

00:02:34.040 --> 00:02:34.400
Permissions

00:02:34.400 --> 00:02:36.240
And then run the script

00:02:36.240 --> 00:02:38.580
And then we observe the outputs

00:02:39.300 --> 00:02:41.780
Let's get started

00:02:43.360 --> 00:02:44.040
Hostname

00:02:44.040 --> 00:02:44.440
Cpl

00:02:44.440 --> 00:02:46.660
This is the hostname

00:02:49.720 --> 00:02:50.920
Like master

00:02:55.020 --> 00:02:56.440
Now how do we confirm

00:02:56.440 --> 00:02:57.980
That this is working

00:02:57.980 --> 00:03:00.000
We can type in exec

00:03:01.940 --> 00:03:02.540
Brash

00:03:02.540 --> 00:03:04.540
Data master

00:03:13.740 --> 00:03:15.640
Now the next step is

00:03:15.640 --> 00:03:18.600
We have to run those commands

00:03:19.640 --> 00:03:20.940
Run these two commands

00:03:20.940 --> 00:03:23.180
You can also copy multiple commands at once

00:03:23.180 --> 00:03:25.260
Copy both the commands at once

00:03:25.260 --> 00:03:27.240
Copy it and run this

00:03:33.400 --> 00:03:34.520
You can copy multiple commands at once

00:03:34.520 --> 00:03:36.040
Copy both the commands at once

00:03:37.880 --> 00:03:39.640
This is going to update

00:03:39.640 --> 00:03:41.800
And it's going to install the utilities

00:03:41.800 --> 00:03:43.780
Which are required for you to download

00:03:43.780 --> 00:03:45.640
The Kubernetes repo

00:03:50.760 --> 00:03:52.040
Say ok

00:03:52.040 --> 00:03:54.280
Say this ok

00:03:55.200 --> 00:03:56.760
And install this

00:04:04.520 --> 00:04:06.760
Just press enter

00:04:11.780 --> 00:04:15.640
Now just press enter

00:04:15.640 --> 00:04:17.240
Press enter

00:04:17.240 --> 00:04:27.480
Just press enter

00:04:34.520 --> 00:04:35.640
Is it good everyone

00:04:36.480 --> 00:04:37.200
Ok

00:04:37.200 --> 00:04:39.020
Now the next step is

00:04:39.020 --> 00:04:41.040
We have to write in the script

00:04:41.040 --> 00:04:42.360
So

00:04:43.440 --> 00:04:44.160
Vi

00:04:44.160 --> 00:04:45.140
Any name

00:04:45.140 --> 00:04:50.260
So I'm writing a script

00:04:50.260 --> 00:04:52.680
To install the software easily

00:04:52.680 --> 00:04:53.640
Vi

00:04:54.540 --> 00:04:56.320
The script name could be anything

00:04:56.320 --> 00:04:57.700
Which is up to you

00:04:57.700 --> 00:05:00.180
And press enter

00:05:00.180 --> 00:05:02.180
Now press I

00:05:06.200 --> 00:05:08.180
Start from before

00:05:09.140 --> 00:05:10.700
Copy from

00:05:10.700 --> 00:05:11.800
This command

00:05:11.800 --> 00:05:12.940
Before

00:05:14.180 --> 00:05:16.160
And copy till

00:05:16.160 --> 00:05:17.760
This one

00:05:17.760 --> 00:05:19.180
Fs tab

00:05:19.180 --> 00:05:20.620
Swap Fs tab

00:05:20.620 --> 00:05:22.820
Just copy there

00:05:22.820 --> 00:05:24.840
Right click and get pasted

00:05:26.180 --> 00:05:27.900
Ok click on paste

00:05:27.900 --> 00:05:29.820
And observe again

00:05:29.820 --> 00:05:30.700
Where you get started

00:05:31.900 --> 00:05:33.000
Observe from

00:05:33.900 --> 00:05:36.260
Starting from here

00:05:38.400 --> 00:05:39.900
I will say paste

00:05:42.600 --> 00:05:44.380
So it does

00:05:44.380 --> 00:05:45.680
From

00:05:49.060 --> 00:05:50.060
Before

00:05:50.060 --> 00:05:51.520
Till

00:05:52.540 --> 00:05:54.360
The Fs tab

00:05:54.360 --> 00:05:55.460
Are we good

00:05:58.320 --> 00:05:58.960
Ok

00:05:58.960 --> 00:06:00.960
So now what we do is

00:06:00.960 --> 00:06:03.900
Escape colon wq

00:06:05.440 --> 00:06:07.960
Escape colon wq

00:06:07.960 --> 00:06:10.100
Now you want to run the script

00:06:10.100 --> 00:06:12.400
In Linux you have to give permissions

00:06:12.400 --> 00:06:14.060
So we are giving permissions

00:06:14.060 --> 00:06:15.380
To run the script

00:06:15.900 --> 00:06:17.500
Chmod 700

00:06:18.300 --> 00:06:19.700
And the file name

00:06:19.700 --> 00:06:20.940
Just use the tab

00:06:21.760 --> 00:06:24.200
Chmod is for changing permissions

00:06:24.200 --> 00:06:25.980
700 is your permissions

00:06:25.980 --> 00:06:28.140
And the script name

00:06:28.140 --> 00:06:28.900
And press enter

00:06:28.900 --> 00:06:30.240
You can also observe

00:06:30.240 --> 00:06:31.760
If you do ls-l

00:06:31.760 --> 00:06:34.400
And the file name

00:06:34.400 --> 00:06:35.440
You can see the permissions

00:06:35.440 --> 00:06:37.640
The user has complete permissions

00:06:37.640 --> 00:06:40.180
Read, write and execute

00:06:40.180 --> 00:06:42.980
To run or do any operations

00:06:42.980 --> 00:06:43.720
From the container

00:06:43.720 --> 00:06:46.120
Now run the script

00:06:46.120 --> 00:06:48.540
. forward slash

00:06:48.540 --> 00:06:50.940
And script name

00:06:50.940 --> 00:06:53.020
. forward slash

00:06:53.020 --> 00:06:55.020
And press enter

00:06:55.940 --> 00:06:57.020
Does it work

00:06:58.820 --> 00:07:01.120
I think good

00:07:01.880 --> 00:07:03.240
So it is going to configure

00:07:03.240 --> 00:07:04.220
You can observe in here

00:07:04.220 --> 00:07:06.520
It is going to download container

00:07:06.520 --> 00:07:08.980
It is going to install kubelet

00:07:08.980 --> 00:07:11.020
You see it is going to kubelet

00:07:13.180 --> 00:07:14.180
Kubernetes packages

00:07:15.020 --> 00:07:16.280
All these required

00:07:16.280 --> 00:07:18.000
We are going to do all these

00:07:18.000 --> 00:07:20.280
In the script itself

00:07:20.280 --> 00:07:22.280
Click enter

00:07:28.360 --> 00:07:30.400
Now confirm the versions

00:07:30.400 --> 00:07:31.860
Of each one which we installed

00:07:31.860 --> 00:07:34.340
So first one is containerd

00:07:34.340 --> 00:07:35.800
So containerd

00:07:35.800 --> 00:07:38.380
Hyphen, hyphen version

00:07:43.500 --> 00:07:45.300
Next one is

00:07:45.300 --> 00:07:46.520
QADM

00:07:46.520 --> 00:07:46.980
Version

00:07:50.280 --> 00:07:51.660
So we are installing

00:07:52.980 --> 00:07:54.120
128

00:07:58.280 --> 00:07:59.840
And also check

00:07:59.840 --> 00:08:01.020
kubelet

00:08:02.280 --> 00:08:03.500
Hyphen, hyphen version

00:08:06.280 --> 00:08:08.040
And also kubectl

00:08:08.040 --> 00:08:10.300
Space version

00:08:10.300 --> 00:08:12.060
Right

00:08:12.060 --> 00:08:14.060
No, no, no, it is kubelet

00:08:14.060 --> 00:08:15.480
Hyphen, hyphen version

00:08:15.480 --> 00:08:17.080
Let me check

00:08:17.080 --> 00:08:18.500
It must work fine

00:08:21.900 --> 00:08:23.080
Run the script

00:08:23.680 --> 00:08:25.060
One second

00:08:25.060 --> 00:08:26.920
One second, one second

00:08:26.920 --> 00:08:28.900
So do ls

00:08:28.900 --> 00:08:30.900
Remove the clear

00:08:30.900 --> 00:08:32.540
Type in ls

00:08:33.080 --> 00:08:34.940
Can you do a cat

00:08:36.640 --> 00:08:37.520
cat

00:08:37.520 --> 00:08:39.320
Just type in co

00:08:39.320 --> 00:08:41.000
And tab

00:08:41.000 --> 00:08:42.900
Type in co

00:08:42.900 --> 00:08:44.420
C for char

00:08:44.420 --> 00:08:46.420
Tab, press the tab button

00:08:47.760 --> 00:08:48.400
.sh

00:08:49.520 --> 00:08:50.420
Let's see the content

00:08:51.280 --> 00:08:52.880
Go up

00:08:52.880 --> 00:08:54.140
Use apparel, go up

00:08:54.140 --> 00:08:56.540
I think good, type in clear

00:08:56.540 --> 00:08:57.320
Type clear

00:08:57.320 --> 00:08:59.900
Type in ls

00:08:59.900 --> 00:09:00.560
hyphen l

00:09:02.400 --> 00:09:03.040
Enter

00:09:03.680 --> 00:09:06.380
All good, can you do a dot

00:09:06.380 --> 00:09:08.860
dot forward slash

00:09:10.040 --> 00:09:10.680
Enter

00:09:10.680 --> 00:09:12.760
Don't do anything, let's leave it off

00:09:12.760 --> 00:09:14.740
Don't stop

00:09:14.740 --> 00:09:16.220
Press a

00:09:16.220 --> 00:09:18.960
Is it done? I can't see

00:09:18.960 --> 00:09:20.600
Choose yes

00:09:20.600 --> 00:09:21.680
Choose yes

00:09:21.680 --> 00:09:22.680
Enter

00:09:24.760 --> 00:09:25.120
Enter

00:09:26.640 --> 00:09:28.080
Type in

00:09:28.760 --> 00:09:29.960
kubectl ls

00:09:29.960 --> 00:09:30.760
Hyphen, hyphen version

00:09:32.760 --> 00:09:35.080
Space, hyphen version

00:09:35.080 --> 00:09:36.120
Good

00:09:36.760 --> 00:09:37.520
kubedm space version

00:09:37.520 --> 00:09:39.400
No hyphen hyphen

00:09:39.400 --> 00:09:41.740
No hyphen hyphen for this

00:09:41.740 --> 00:09:43.160
Just kubedm space version

00:09:43.160 --> 00:09:45.160
Enter, good

00:09:45.160 --> 00:09:47.540
Now kubedm hyphen hyphen version

00:09:47.540 --> 00:09:49.400
or kubectl version

00:09:49.400 --> 00:09:50.840
kubectl space version

00:09:51.400 --> 00:09:53.820
kubedm hyphen hyphen

00:09:53.820 --> 00:09:55.220
Enter, yeah

00:09:55.220 --> 00:09:57.400
Now kubectl space version

00:10:00.520 --> 00:10:01.600
kubectl

00:10:01.600 --> 00:10:02.960
kubectl

00:10:02.960 --> 00:10:03.560
Be

00:10:06.540 --> 00:10:07.620
Bectl

00:10:07.620 --> 00:10:08.880
C

00:10:09.920 --> 00:10:10.640
Tl

00:10:11.620 --> 00:10:13.620
Yeah, no again hyphen

00:10:14.400 --> 00:10:15.820
No hyphen for

00:10:15.820 --> 00:10:17.940
Enter, okay, you're good

00:10:18.760 --> 00:10:19.480
Okay

00:10:19.480 --> 00:10:20.940
Others, you're good, ck

00:10:20.940 --> 00:10:23.340
The message like connection last one

00:10:23.340 --> 00:10:24.820
is fine, go over later

00:10:26.040 --> 00:10:27.580
Okay, what about

00:10:27.580 --> 00:10:28.500
Charles? Charles

00:10:29.620 --> 00:10:31.160
What's happening? Okay, you're good, fine

00:10:31.160 --> 00:10:32.720
Let's proceed

00:10:32.720 --> 00:10:34.880
Now the next step is

00:10:35.600 --> 00:10:37.660
We have to do a very similar

00:10:37.660 --> 00:10:39.580
step on the worker nodes

00:10:40.600 --> 00:10:41.120
Yeah

00:10:41.120 --> 00:10:42.880
So what you can do is

00:10:43.620 --> 00:10:44.920
You need to play around in here

00:10:44.920 --> 00:10:47.200
Be careful, so you can again click

00:10:47.200 --> 00:10:48.660
on the terminal window

00:10:49.960 --> 00:10:51.240
Does it open one more

00:10:51.240 --> 00:10:51.940
screen?

00:10:56.580 --> 00:10:57.100
Yeah

00:10:58.260 --> 00:10:58.780
Click

00:10:58.780 --> 00:11:00.540
Click the terminal

00:11:01.580 --> 00:11:02.960
That is open one more screen

00:11:02.960 --> 00:11:04.180
Is this student, user?

00:11:05.680 --> 00:11:06.200
Yes

00:11:06.200 --> 00:11:08.380
Now login to the first

00:11:08.380 --> 00:11:08.620
machine

00:11:11.420 --> 00:11:12.840
Go to

00:11:12.840 --> 00:11:13.520
cd

00:11:14.860 --> 00:11:15.600
student

00:11:17.180 --> 00:11:17.920
dm

00:11:19.680 --> 00:11:20.420
ssh

00:11:22.660 --> 00:11:23.400
cd

00:11:23.400 --> 00:11:23.760
m

00:11:24.740 --> 00:11:25.480
window

00:11:26.960 --> 00:11:28.740
And type in the ip of the first one

00:11:36.460 --> 00:11:37.420
So

00:11:37.420 --> 00:11:38.220
So

00:11:52.860 --> 00:11:54.780
Still here

00:11:56.700 --> 00:11:58.960
Now in the document now

00:11:59.520 --> 00:12:00.980
Go down and now we are

00:12:00.980 --> 00:12:06.300
steps what is supposed to do on the work of one same steps you're going to use

00:12:06.300 --> 00:12:10.700
worker one the script and confirm very similar steps

00:12:25.040 --> 00:12:29.780
so I think one step is not sure for some reason cut once again before you

00:12:29.780 --> 00:12:35.300
go to next step there's one step you see this cut for some reasons this step is

00:12:35.300 --> 00:12:40.180
not sure how will you cut it let me again update it so this step the full

00:12:40.180 --> 00:12:47.140
step so can you update this in your worker session after host name copy

00:12:47.140 --> 00:12:51.820
this and a worker node session some reason is not here so you can make it

00:12:51.820 --> 00:12:57.740
forward the next one is fine do app get update install and then

00:12:58.860 --> 00:13:02.680
you can do this in both the worker nodes. First one make it worker one, other one make it worker two.

00:13:40.460 --> 00:13:41.860
you

00:14:10.460 --> 00:14:11.860
you

00:14:29.220 --> 00:14:34.320
run the script it will you're not installing kubectl in this

00:14:34.320 --> 00:14:38.320
not be you're not installing in here so once it's done and confirm the

00:14:38.320 --> 00:14:40.920
versions of everything except the kubectl

00:14:58.220 --> 00:14:58.960
you

00:15:18.080 --> 00:15:24.540
charts any questions and the script now dot dot forward slash and the

00:15:24.540 --> 00:15:30.060
yeah just type in co and tap yeah and okay something even wrong let's see why

00:15:30.060 --> 00:15:34.860
is it happening we're in some mistake chart what do you do see some let's

00:15:36.160 --> 00:15:41.360
see can type in host name type in history please type in history come

00:15:41.360 --> 00:15:47.340
down come down what is that I did the demon reload chips 1991 what the

00:15:47.340 --> 00:15:50.340
purpose of this was it there the document okay no problem can type in

00:15:50.520 --> 00:15:57.380
hostname let's proceed I confirm the versions contain any all of them and

00:15:57.380 --> 00:16:01.460
then we should confirm the versions of all the software all the steps up

00:16:01.460 --> 00:16:09.920
are you good with worker one everyone make it as worker two and proceed

00:17:04.920 --> 00:17:09.020
same things except in the welcome I've got a worker two that's it no

00:17:09.020 --> 00:17:09.420
commissions

00:17:33.240 --> 00:17:34.640
you

00:18:03.240 --> 00:18:04.640
you

00:18:33.240 --> 00:18:34.640
you

00:19:08.180 --> 00:19:10.800
I think we are good

00:19:12.580 --> 00:19:13.720
yes

00:19:20.940 --> 00:19:25.560
mr. mission

00:19:27.200 --> 00:19:41.060
yes to ADM space in on the master mission type in to ADM space in on

00:19:41.060 --> 00:19:42.080
the master

00:19:43.700 --> 00:19:45.540
money on the master

00:19:51.300 --> 00:19:58.300
and if you see your components is putting certificates or you see a base

00:19:58.300 --> 00:20:03.800
that were getting all your master components it is like screened in this

00:20:03.800 --> 00:20:13.260
is confirmed okay one second you're all good so now what you do is copy

00:20:13.260 --> 00:20:19.200
the token the last two lines the last two lines copy this to notepad

00:20:19.200 --> 00:20:27.800
copy that to know that highlight it copy that to a notepad

00:20:34.440 --> 00:20:39.820
now the next step is you're supposed to run the next three commands the

00:20:39.820 --> 00:20:45.820
document so go down master which command here to right click right click

00:20:46.460 --> 00:20:53.400
right click and click on copy so what you do is this is free like this so

00:20:53.400 --> 00:21:02.420
use your mouse and your keyboard and then highlight like this and then

00:21:02.980 --> 00:21:10.200
right click and copy good good now yeah you're not able to paste are

00:21:10.200 --> 00:21:20.780
laptop of office okay why what happens can you please in the chat history this

00:21:20.780 --> 00:21:25.960
check with a real place to chat yeah the zoom chat check where in notepad

00:21:34.800 --> 00:21:42.620
okay fine so let's do something we'll come back with it I'll resolve this

00:21:42.620 --> 00:21:49.040
let it be like this let's proceed okay now okay one second on the desktop of

00:21:49.040 --> 00:21:54.820
where locked in do you have a notepad one second are you trying to copy to

00:21:54.820 --> 00:21:59.560
your laptop or you're trying to paste it on your desktop which we're trying

00:21:59.560 --> 00:22:00.900
to do

00:22:03.660 --> 00:22:08.800
where are you trying to copy to your laptop or you're trying to copy to the

00:22:08.800 --> 00:22:18.640
Ubuntu desktop which we're trying to copy okay if not I think so do we

00:22:18.640 --> 00:22:22.520
notepad or something in here one second it is confirmed

00:22:28.300 --> 00:22:35.780
okay can you right click in this box this is a document this is this in

00:22:35.780 --> 00:22:39.720
this desktop right click click on

00:22:51.820 --> 00:22:59.800
okay I'll help you out later yeah okay now the next step is we have to run in

00:22:59.800 --> 00:23:04.300
those three next commands so run in these three commands run these three

00:23:04.300 --> 00:23:08.880
commands on the master just copy and paste

00:23:18.640 --> 00:23:19.060
you

00:23:34.480 --> 00:23:36.160
yeah yeah

00:24:14.540 --> 00:24:16.980
I'm going to copy the properties in just one second.

00:24:29.040 --> 00:24:36.980
Okay, now type in kubectl hyphen hyphen version.

00:24:38.660 --> 00:24:44.760
Now run the command. Type in kubectl no hyphen hyphen version.

00:24:45.920 --> 00:24:51.100
Now you see that the error is gone before you got an error message. It means it is properly configured.

00:24:51.260 --> 00:24:53.060
Everyone, are we good till here?

00:24:54.100 --> 00:24:55.280
Yeah, good stuff, Arun and Charles.

00:24:55.580 --> 00:24:56.600
No, no, no. One second.

00:24:57.900 --> 00:25:04.780
See, don't copy this command, Charles. What are you trying to do?

00:25:05.820 --> 00:25:08.160
Why are you running these commands?

00:25:09.780 --> 00:25:12.500
Type in clear. I'll help you out. Type in clear.

00:25:13.200 --> 00:25:14.580
Please type clear. Don't even do anything.

00:25:14.940 --> 00:25:15.900
Do a ctrl c, yes.

00:25:16.320 --> 00:25:20.520
Now copy the three commands of the next mkdir, three commands I gave you.

00:25:20.840 --> 00:25:22.860
Are you understanding which command I'm talking about?

00:25:22.980 --> 00:25:23.900
Let me give you the chat.

00:25:24.880 --> 00:25:26.100
The chat I'm going to paste you.

00:25:26.400 --> 00:25:29.300
Just copy those three commands the chat I gave you.

00:25:32.600 --> 00:25:34.720
Just right click and paste.

00:25:35.080 --> 00:25:36.180
Yeah, click paste.

00:25:36.600 --> 00:25:37.040
Enter.

00:25:38.500 --> 00:25:51.820
Yes, so now what you do is type in kubectl kubectl space version.

00:25:54.240 --> 00:25:55.360
You are good. Fine.

00:25:55.360 --> 00:26:04.040
So now what we do is next command, run the apply command. Run the apply command, everyone.

00:26:12.420 --> 00:26:15.180
Yeah, does it say it is added?

00:26:19.260 --> 00:26:20.480
Yeah, then good.

00:26:22.320 --> 00:26:22.820
Gene.

00:26:24.280 --> 00:26:25.100
What's happening?

00:26:25.880 --> 00:26:26.240
Done.

00:26:28.000 --> 00:26:29.080
Okay, ck.

00:26:36.340 --> 00:26:40.400
So now what we do is check if your master is ready.

00:26:40.520 --> 00:26:48.200
So go ahead and do kubectl get nodes on the master machine.

00:26:49.300 --> 00:26:51.040
kubectl get nodes.

00:26:52.900 --> 00:26:53.500
Is it ready?

00:26:54.300 --> 00:26:55.600
Okay, fine.

00:26:55.720 --> 00:26:59.420
So now what you do is you have the token now.

00:27:00.600 --> 00:27:03.600
Just copy the token from your notepad.

00:27:03.900 --> 00:27:04.900
Complete token.

00:27:06.060 --> 00:27:08.960
And run the token on your worker nodes.

00:27:09.080 --> 00:27:11.040
Copy the token which you have done before.

00:27:11.960 --> 00:27:13.900
And go to the worker machines.

00:27:15.980 --> 00:27:17.360
And paste it.

00:27:20.740 --> 00:27:22.960
And press enter.

00:27:24.140 --> 00:27:25.760
Do it on both the nodes.

00:27:39.300 --> 00:27:40.100
It will get added.

00:27:40.940 --> 00:27:42.300
Now go to the master.

00:27:43.080 --> 00:27:44.840
And again do get nodes.

00:27:45.360 --> 00:27:49.180
And you must be seeing all the nodes up and running.

00:27:51.960 --> 00:27:52.660
That'll be good.

00:27:55.040 --> 00:27:57.520
Yes, Charles. Now let me explain.

00:27:58.120 --> 00:28:00.180
Charles, what are you going to do now?

00:28:02.520 --> 00:28:04.300
One second. What are you going to do now?

00:28:04.560 --> 00:28:05.460
So close this.

00:28:06.800 --> 00:28:09.840
So now what you do is you can run a command.

00:28:11.640 --> 00:28:12.920
Run this command now.

00:28:14.080 --> 00:28:15.860
Run this command.

00:28:16.120 --> 00:28:16.800
Running it command.

00:28:16.960 --> 00:28:17.640
Okay, did you get a token?

00:28:18.020 --> 00:28:18.260
One second.

00:28:19.600 --> 00:28:20.580
Copy from this command.

00:28:21.240 --> 00:28:22.020
No, not from there.

00:28:22.500 --> 00:28:23.180
Start from start.

00:28:23.400 --> 00:28:24.680
Yes, from that.

00:28:24.720 --> 00:28:26.520
No, it's complete.

00:28:27.380 --> 00:28:28.500
Starting not from this.

00:28:28.840 --> 00:28:30.420
Yes, yes.

00:28:30.660 --> 00:28:31.260
K is missing.

00:28:32.920 --> 00:28:33.960
K, K.

00:28:34.420 --> 00:28:34.840
Yes.

00:28:36.140 --> 00:28:37.080
Right click.

00:28:38.140 --> 00:28:38.600
Copy.

00:28:39.520 --> 00:28:41.440
Now go to worker machine.

00:28:43.980 --> 00:28:44.460
Maximize.

00:28:48.140 --> 00:28:49.180
The same other machine.

00:28:51.060 --> 00:28:52.620
You did some mistake.

00:28:52.940 --> 00:28:55.040
I think you did some additional steps.

00:28:55.240 --> 00:28:56.000
What did you do?

00:28:56.220 --> 00:28:59.640
Now before the initial worker node, something you had done some mistakes.

00:29:00.820 --> 00:29:02.000
Let me figure it out.

00:29:02.100 --> 00:29:04.200
So can you go to worker one machine?

00:29:04.520 --> 00:29:05.180
Maximize worker one.

00:29:05.200 --> 00:29:05.640
Maximize.

00:29:05.640 --> 00:29:09.040
So can you do, can you run the command again?

00:29:09.380 --> 00:29:11.420
Host name CTL hyphen once more.

00:29:11.980 --> 00:29:13.640
Host name CTL.

00:29:14.500 --> 00:29:15.820
No, no.

00:29:15.900 --> 00:29:17.600
Host name CTL is a single word.

00:29:19.560 --> 00:29:19.640
CTL.

00:29:20.560 --> 00:29:21.180
Space.

00:29:22.420 --> 00:29:24.340
Set hyphen host name.

00:29:25.200 --> 00:29:25.860
Set, set.

00:29:29.220 --> 00:29:31.540
Post name CTL once space.

00:29:31.880 --> 00:29:32.460
Set.

00:29:33.300 --> 00:29:33.840
Hyphen.

00:29:34.720 --> 00:29:35.420
After set.

00:29:35.420 --> 00:29:35.840
No space.

00:29:37.360 --> 00:29:38.840
After set hyphen.

00:29:40.240 --> 00:29:42.000
Post name space.

00:29:42.680 --> 00:29:43.040
Worker one.

00:29:43.680 --> 00:29:44.160
Enter.

00:29:44.920 --> 00:29:46.300
Type in EXEC bash.

00:29:46.480 --> 00:29:47.680
EXEC space bash.

00:29:47.940 --> 00:29:48.160
Enter.

00:29:48.520 --> 00:29:51.120
Now use the command and try to join the command again.

00:29:52.380 --> 00:29:54.320
Just use the command and try to join the command again.

00:29:58.960 --> 00:30:00.520
Arrow keys on your laptop.

00:30:00.740 --> 00:30:00.920
No, no, no.

00:30:00.960 --> 00:30:01.500
Come down.

00:30:01.600 --> 00:30:02.320
Come down.

00:30:03.160 --> 00:30:04.680
Run the previous command.

00:30:04.980 --> 00:30:05.220
Use the app.

00:30:05.360 --> 00:30:06.100
Press the app arrow.

00:30:06.480 --> 00:30:07.020
Where the prompt?

00:30:07.320 --> 00:30:07.600
Yes.

00:30:07.700 --> 00:30:08.080
Yes.

00:30:08.120 --> 00:30:08.640
Yes.

00:30:08.640 --> 00:30:10.040
Once again.

00:30:10.400 --> 00:30:10.760
No, no.

00:30:11.720 --> 00:30:13.040
Go to same command please.

00:30:13.240 --> 00:30:13.760
Once again.

00:30:13.780 --> 00:30:14.320
Press enter.

00:30:14.980 --> 00:30:15.520
Okay.

00:30:15.520 --> 00:30:18.420
So you need to tell me what exactly happened initially.

00:30:18.500 --> 00:30:19.280
Something you've done.

00:30:19.460 --> 00:30:20.420
Some mistake you've done.

00:30:20.720 --> 00:30:23.820
Can you type in container D hyphen version?

00:30:26.640 --> 00:30:27.760
Container D.

00:30:28.060 --> 00:30:28.620
Space.

00:30:29.300 --> 00:30:30.300
Hyphen hyphen version.

00:30:30.600 --> 00:30:30.620
Enter.

00:30:31.580 --> 00:30:32.280
Okay.

00:30:34.140 --> 00:30:36.180
So can you do cubeadm once again?

00:30:37.740 --> 00:30:38.440
Cubeadm.

00:30:38.860 --> 00:30:41.740
Type in cubeadm.

00:30:42.660 --> 00:30:43.360
Cubeadm.

00:30:43.360 --> 00:30:44.800
Space reset.

00:30:46.340 --> 00:30:48.380
Space hyphen hyphen hyphen force.

00:30:49.780 --> 00:30:50.660
Hyphen hyphen force.

00:30:51.740 --> 00:30:51.780
Force.

00:30:53.320 --> 00:30:53.600
Force.

00:30:53.940 --> 00:30:55.420
F-O-R-C-E.

00:30:55.660 --> 00:30:56.000
Force.

00:30:57.780 --> 00:30:57.940
Yeah.

00:30:57.940 --> 00:30:58.500
Enter.

00:30:59.960 --> 00:31:00.400
Okay.

00:31:00.400 --> 00:31:01.880
Now type in.

00:31:02.680 --> 00:31:03.080
Okay.

00:31:04.240 --> 00:31:07.280
Now run the script again.

00:31:07.840 --> 00:31:09.760
Dot forward slash container D.

00:31:10.140 --> 00:31:11.720
Just type in C one tab.

00:31:12.460 --> 00:31:12.480
Tab.

00:31:12.660 --> 00:31:13.060
Press the tab.

00:31:13.220 --> 00:31:13.740
Use the tab.

00:31:13.940 --> 00:31:14.080
Yeah.

00:31:14.520 --> 00:31:14.660
Enter.

00:31:14.840 --> 00:31:15.860
So you're getting at this error message.

00:31:16.080 --> 00:31:16.960
By chance what did you do?

00:31:17.000 --> 00:31:17.980
Something you did before.

00:31:18.160 --> 00:31:18.620
Choose Y.

00:31:19.460 --> 00:31:19.720
Choose Y.

00:31:19.720 --> 00:31:20.460
Press Y.

00:31:21.160 --> 00:31:21.840
Type in Y.

00:31:22.240 --> 00:31:23.100
Type Y.

00:31:23.740 --> 00:31:24.000
Enter.

00:31:24.160 --> 00:31:24.500
Okay.

00:31:24.500 --> 00:31:25.860
Now run.

00:31:26.240 --> 00:31:27.900
Use the apparel.

00:31:28.560 --> 00:31:30.400
Use the apparel and try to join again.

00:31:32.060 --> 00:31:32.500
Please use.

00:31:33.420 --> 00:31:34.880
Run the join command again.

00:31:35.020 --> 00:31:36.000
Run the join command.

00:31:36.300 --> 00:31:36.840
Join command.

00:31:36.980 --> 00:31:38.100
The previous model ran.

00:31:38.260 --> 00:31:39.400
Use the apparel.

00:31:39.660 --> 00:31:40.660
Press the apparel.

00:31:41.000 --> 00:31:41.560
Not here.

00:31:42.300 --> 00:31:42.720
Yes.

00:31:42.920 --> 00:31:44.480
Press the apparel.

00:31:45.240 --> 00:31:45.420
Key.

00:31:45.420 --> 00:31:45.700
Key.

00:31:45.820 --> 00:31:46.500
On your laptop.

00:31:47.600 --> 00:31:48.480
On your laptop.

00:31:48.920 --> 00:31:50.960
Press the up key.

00:31:51.280 --> 00:31:51.900
Or apparel key.

00:31:52.040 --> 00:31:52.380
Yes.

00:31:53.060 --> 00:31:53.420
Yes.

00:31:53.420 --> 00:31:54.400
Can run it one more.

00:31:54.600 --> 00:31:54.820
Okay.

00:31:55.100 --> 00:31:56.400
I'm not sure what has happened.

00:31:56.420 --> 00:31:57.420
Something you've done.

00:31:58.180 --> 00:31:58.320
Okay.

00:31:58.480 --> 00:32:01.400
Can you now give it two more missions?

00:32:02.080 --> 00:32:05.220
Can you do on those two missions instead of these two worker nodes?

00:32:05.420 --> 00:32:05.660
Yeah.

00:32:05.860 --> 00:32:07.800
You can close this worker one, worker two.

00:32:07.900 --> 00:32:08.700
You can close these.

00:32:09.280 --> 00:32:13.900
I'll give you two more missions in which you won't do these steps slowly.

00:32:13.960 --> 00:32:14.600
Is it okay?

00:32:16.020 --> 00:32:16.440
Okay.

00:32:16.780 --> 00:32:19.520
So now the other two missions in which you want to play around.

00:32:19.520 --> 00:32:22.480
So check if I'm able to log into this mission.

00:32:24.340 --> 00:32:25.500
And this mission.

00:32:25.640 --> 00:32:26.660
Log into 193.

00:32:26.660 --> 00:32:27.300
Not here.

00:32:28.220 --> 00:32:29.400
Come back to the student.

00:32:31.880 --> 00:32:32.560
And the student.

00:32:32.920 --> 00:32:33.160
Sorry Charles.

00:32:33.280 --> 00:32:34.280
Can you minimize the master?

00:32:34.440 --> 00:32:35.180
Minimize this.

00:32:36.300 --> 00:32:36.440
No.

00:32:36.600 --> 00:32:36.740
No.

00:32:36.740 --> 00:32:37.880
Don't close it.

00:32:38.820 --> 00:32:39.300
Minimize.

00:32:40.420 --> 00:32:41.260
I mean you have a.

00:32:41.260 --> 00:32:41.440
Okay.

00:32:41.620 --> 00:32:42.400
Maximize this.

00:32:42.780 --> 00:32:42.960
No.

00:32:42.960 --> 00:32:43.100
No.

00:32:43.100 --> 00:32:43.380
No.

00:32:43.540 --> 00:32:44.480
Maximize this now.

00:32:45.680 --> 00:32:46.160
Maximize.

00:32:46.160 --> 00:32:47.260
Maximize.

00:32:47.400 --> 00:32:47.580
Yes.

00:32:47.920 --> 00:32:48.140
Now.

00:32:48.900 --> 00:32:49.840
One second.

00:32:49.940 --> 00:32:50.100
No.

00:32:50.260 --> 00:32:50.840
Your right window.

00:32:50.940 --> 00:32:51.540
One second.

00:32:52.440 --> 00:32:54.020
Now type in CD.

00:32:55.820 --> 00:32:56.020
Yeah.

00:32:56.020 --> 00:32:56.380
Yeah.

00:32:56.780 --> 00:32:57.380
Enter.

00:32:58.260 --> 00:33:00.280
SSH hyphen I name.

00:33:00.680 --> 00:33:01.200
Key dot PEM.

00:33:01.400 --> 00:33:02.040
Key dot PEM.

00:33:02.960 --> 00:33:03.560
PEM.

00:33:03.820 --> 00:33:04.400
Paste Ubuntu.

00:33:05.060 --> 00:33:05.460
Add.

00:33:05.660 --> 00:33:06.040
The IP.

00:33:06.320 --> 00:33:06.920
Fifty four.

00:33:07.160 --> 00:33:07.200
Add.

00:33:08.040 --> 00:33:08.760
Fifty four.

00:33:08.820 --> 00:33:09.660
Two fifty five.

00:33:09.700 --> 00:33:10.580
Fifty four.

00:33:10.940 --> 00:33:11.620
Five four.

00:33:12.080 --> 00:33:13.520
Dot two five five.

00:33:14.360 --> 00:33:15.920
Dot two three five.

00:33:15.920 --> 00:33:17.200
Dot one ninety three.

00:33:17.460 --> 00:33:17.920
Press enter.

00:33:19.300 --> 00:33:19.640
Choose yes.

00:33:19.840 --> 00:33:19.960
Okay.

00:33:20.220 --> 00:33:21.500
Now do a pseudo su hyphen.

00:33:21.820 --> 00:33:22.540
Pseudo SU.

00:33:23.220 --> 00:33:23.860
Pseudo.

00:33:23.880 --> 00:33:24.760
After pseudo.

00:33:25.040 --> 00:33:25.640
No hyphen.

00:33:25.820 --> 00:33:26.460
Paste SU.

00:33:26.720 --> 00:33:26.920
Paste hyphen.

00:33:28.560 --> 00:33:29.040
Enter.

00:33:29.380 --> 00:33:32.100
Type in hostname CTL.

00:33:32.640 --> 00:33:33.680
Hostname CTL.

00:33:34.100 --> 00:33:34.280
Paste.

00:33:35.320 --> 00:33:35.980
Set hyphen.

00:33:36.180 --> 00:33:36.680
Hostname.

00:33:38.680 --> 00:33:39.960
No hyphen.

00:33:40.040 --> 00:33:40.460
Set.

00:33:40.700 --> 00:33:41.180
Set.

00:33:41.240 --> 00:33:42.700
SET hyphen.

00:33:42.920 --> 00:33:43.740
After set.

00:33:43.860 --> 00:33:44.560
One hyphen.

00:33:46.760 --> 00:33:47.440
Yeah.

00:33:48.060 --> 00:33:48.200
Next.

00:33:48.300 --> 00:33:48.680
After hostname.

00:33:49.920 --> 00:33:50.040
No.

00:33:51.200 --> 00:33:53.300
This is the mistake you're doing I think.

00:33:53.720 --> 00:33:54.300
Be careful.

00:33:55.720 --> 00:33:56.220
Control C.

00:33:56.480 --> 00:33:57.000
What's happening?

00:33:57.160 --> 00:33:58.100
You can't see.

00:33:58.360 --> 00:34:00.000
Type in clear please.

00:34:00.660 --> 00:34:01.040
Type clear.

00:34:01.600 --> 00:34:01.680
Hostname.

00:34:02.560 --> 00:34:02.680
CTL.

00:34:03.240 --> 00:34:03.780
Paste.

00:34:04.720 --> 00:34:05.120
Hyphen.

00:34:05.380 --> 00:34:05.820
Hostname.

00:34:06.060 --> 00:34:06.820
Paste worker.

00:34:07.380 --> 00:34:09.020
Paste worker one.

00:34:10.640 --> 00:34:10.840
No.

00:34:11.120 --> 00:34:11.460
One second.

00:34:12.580 --> 00:34:12.960
Right.

00:34:12.960 --> 00:34:15.800
So can you use appara again?

00:34:16.500 --> 00:34:17.060
Use the appara.

00:34:17.120 --> 00:34:18.540
Press the appara on your laptop.

00:34:19.140 --> 00:34:19.460
Press.

00:34:19.660 --> 00:34:20.520
Make it three now.

00:34:20.660 --> 00:34:20.840
Sorry.

00:34:20.980 --> 00:34:21.680
Make it three.

00:34:22.020 --> 00:34:22.360
So one.

00:34:22.400 --> 00:34:23.080
Make it three.

00:34:23.540 --> 00:34:23.980
Enter.

00:34:25.100 --> 00:34:25.460
Yeah.

00:34:25.460 --> 00:34:26.460
Type in exact bash.

00:34:27.900 --> 00:34:28.340
Yeah.

00:34:28.740 --> 00:34:29.800
So now run the.

00:34:29.800 --> 00:34:30.640
Write the script now.

00:34:30.740 --> 00:34:32.060
Now follow the steps now properly.

00:34:32.620 --> 00:34:33.000
You can do it.

00:34:33.020 --> 00:34:34.660
Now do the next command document.

00:34:35.920 --> 00:34:36.240
This.

00:34:36.360 --> 00:34:37.440
You have to wait for five minutes.

00:34:38.800 --> 00:34:40.260
Just finish off this troubleshooting.

00:34:40.560 --> 00:34:40.820
Yeah.

00:34:40.820 --> 00:34:41.320
Copy these.

00:34:43.080 --> 00:34:43.480
Enter.

00:34:43.820 --> 00:34:44.160
Press enter.

00:34:44.340 --> 00:34:45.820
Press enter.

00:34:46.540 --> 00:34:46.740
Yeah.

00:34:46.820 --> 00:34:47.920
Now vi.

00:34:48.620 --> 00:34:49.800
Do a control c.

00:34:50.000 --> 00:34:50.700
I can see it.

00:34:50.720 --> 00:34:51.380
Do a clear.

00:34:51.400 --> 00:34:51.920
Type in clear.

00:34:52.240 --> 00:34:52.640
Vi.

00:34:53.620 --> 00:34:54.600
Container d dot s.

00:34:54.700 --> 00:34:55.480
Change the script.

00:34:55.640 --> 00:34:57.160
Which is there under the worker node session.

00:34:57.180 --> 00:34:58.000
Is it complete script?

00:34:58.020 --> 00:34:58.180
Okay.

00:34:58.180 --> 00:34:58.560
One second.

00:34:58.620 --> 00:34:59.520
Can you go down?

00:35:00.240 --> 00:35:00.440
Go up.

00:35:00.440 --> 00:35:01.760
Go up in this document or go up?

00:35:01.760 --> 00:35:02.020
Up.

00:35:04.500 --> 00:35:05.300
Still up.

00:35:06.000 --> 00:35:06.780
Once again.

00:35:07.380 --> 00:35:07.940
Once again.

00:35:09.100 --> 00:35:09.340
Okay.

00:35:09.340 --> 00:35:10.160
Go down in that.

00:35:11.000 --> 00:35:11.480
Last.

00:35:11.480 --> 00:35:12.260
Last line.

00:35:12.520 --> 00:35:13.740
Last line.

00:35:14.660 --> 00:35:15.140
Okay.

00:35:15.400 --> 00:35:16.220
Now click on paste.

00:35:16.640 --> 00:35:18.160
Escape colon WQ.

00:35:19.160 --> 00:35:20.200
Escape colon WQ.

00:35:20.340 --> 00:35:21.440
Again do a cat on this file.

00:35:21.600 --> 00:35:22.960
Do a cat.

00:35:24.440 --> 00:35:25.380
C-A-T.

00:35:25.560 --> 00:35:26.280
Define name.

00:35:26.440 --> 00:35:26.860
Space.

00:35:26.880 --> 00:35:28.340
Container d dot s-h.

00:35:28.560 --> 00:35:28.760
Paste.

00:35:30.160 --> 00:35:30.720
Just type it.

00:35:30.720 --> 00:35:30.980
Tab.

00:35:31.280 --> 00:35:32.040
With the tab.

00:35:33.060 --> 00:35:33.380
Enter.

00:35:33.660 --> 00:35:33.920
Okay.

00:35:34.100 --> 00:35:34.580
Fine.

00:35:35.240 --> 00:35:35.720
C-H mod.

00:35:35.880 --> 00:35:36.800
Type in C-H mod.

00:35:37.020 --> 00:35:37.600
Seven hundred.

00:35:38.560 --> 00:35:39.720
C-H mod.

00:35:39.840 --> 00:35:40.240
Space.

00:35:40.240 --> 00:35:41.200
Seven hundred.

00:35:41.580 --> 00:35:42.340
Define name.

00:35:42.480 --> 00:35:42.960
Space.

00:35:43.340 --> 00:35:44.020
Just type in.

00:35:44.140 --> 00:35:44.420
Yeah.

00:35:44.840 --> 00:35:45.320
Enter.

00:35:46.240 --> 00:35:47.160
Dot forward slash.

00:35:47.480 --> 00:35:47.720
Container d.

00:35:47.820 --> 00:35:48.120
Yeah.

00:35:48.120 --> 00:35:48.280
Enter.

00:35:48.400 --> 00:35:50.020
So now you see that you're not getting error message.

00:35:50.140 --> 00:35:52.480
Before you got error message of the hostname or something.

00:35:52.700 --> 00:35:53.560
Got error message last time.

00:35:54.620 --> 00:35:55.040
The problem.

00:35:55.980 --> 00:35:56.220
Okay.

00:35:56.300 --> 00:35:57.440
Is it one before other?

00:35:57.640 --> 00:35:58.380
Him or others?

00:35:58.620 --> 00:35:59.440
The voice is not clear?

00:35:59.560 --> 00:36:00.040
Okay.

00:36:00.520 --> 00:36:00.760
Fine.

00:36:00.860 --> 00:36:01.320
Okay.

00:36:01.560 --> 00:36:01.700
Fine.

00:36:01.700 --> 00:36:03.080
I'm making off.

00:36:03.680 --> 00:36:04.260
Press enter.

00:36:05.620 --> 00:36:06.140
Press enter.

00:36:06.660 --> 00:36:07.060
Okay.

00:36:08.420 --> 00:36:09.820
So now go to the master.

00:36:11.200 --> 00:36:11.940
Go to the master mission.

00:36:13.980 --> 00:36:14.380
Maximize.

00:36:14.480 --> 00:36:15.240
Copy this token.

00:36:15.540 --> 00:36:16.100
From the start.

00:36:16.320 --> 00:36:16.480
No, no.

00:36:17.500 --> 00:36:18.120
Now go back.

00:36:18.320 --> 00:36:19.140
Paste this.

00:36:20.040 --> 00:36:20.440
Here.

00:36:20.520 --> 00:36:21.220
Not here.

00:36:22.500 --> 00:36:23.260
On your worker.

00:36:23.280 --> 00:36:24.500
Worker three.

00:36:25.800 --> 00:36:26.080
Right click.

00:36:26.080 --> 00:36:26.340
Enter.

00:36:26.420 --> 00:36:27.220
It's working now.

00:36:27.580 --> 00:36:29.740
So do the same on the other VM also.

00:36:29.980 --> 00:36:30.200
Clear?

00:36:30.360 --> 00:36:30.820
The new one.

00:36:30.860 --> 00:36:30.960
Okay.

00:36:30.980 --> 00:36:31.620
Be careful.

00:36:31.860 --> 00:36:32.400
I think.

00:36:33.480 --> 00:36:33.660
No, no.

00:36:33.660 --> 00:36:34.240
Not here now.

00:36:34.280 --> 00:36:35.520
Why are you again coming in here?

00:36:36.120 --> 00:36:37.340
Not a worker one.

00:36:37.540 --> 00:36:39.620
Go back to your.

00:36:39.980 --> 00:36:40.380
Terminal.

00:36:40.540 --> 00:36:41.020
Is it terminal?

00:36:41.480 --> 00:36:41.880
Is it yours?

00:36:42.020 --> 00:36:42.520
Once again.

00:36:42.700 --> 00:36:43.260
Is it yours?

00:36:43.860 --> 00:36:44.660
Which terminal is this?

00:36:45.360 --> 00:36:45.500
Okay.

00:36:45.580 --> 00:36:46.160
Now good.

00:36:47.300 --> 00:36:47.480
Yeah.

00:36:47.480 --> 00:36:48.720
Close this.

00:36:49.720 --> 00:36:50.760
Now again click on terminal.

00:36:51.220 --> 00:36:51.780
Not this one.

00:36:51.880 --> 00:36:52.640
In the terminal dock.

00:36:53.860 --> 00:36:54.260
Yeah.

00:36:55.580 --> 00:36:55.820
Yeah.

00:36:56.120 --> 00:36:56.440
Yeah.

00:36:56.440 --> 00:36:56.840
Right.

00:36:57.220 --> 00:36:57.620
That's fine.

00:36:57.860 --> 00:36:58.080
Yeah.

00:36:58.080 --> 00:36:58.820
Now do it quickly.

00:36:59.000 --> 00:36:59.320
Let's see.

00:36:59.400 --> 00:37:00.080
Finish off.

00:37:00.520 --> 00:37:01.480
Let's just do this.

00:37:01.580 --> 00:37:02.260
Go to CD.

00:37:02.260 --> 00:37:03.140
Location.

00:37:03.360 --> 00:37:03.940
Same steps.

00:37:04.660 --> 00:37:05.800
You're supposed to do the next IP.

00:37:05.960 --> 00:37:08.260
The IP which I gave it to you was 227.

00:37:09.500 --> 00:37:09.760
Clear?

00:37:11.540 --> 00:37:11.700
Yeah.

00:37:11.860 --> 00:37:12.200
Yes.

00:37:12.360 --> 00:37:12.900
You can do like this.

00:37:13.060 --> 00:37:13.480
Choose yes.

00:37:14.120 --> 00:37:14.300
Yeah.

00:37:14.420 --> 00:37:15.160
Pseudosu hyphen.

00:37:15.340 --> 00:37:17.100
So space hyphen.

00:37:17.820 --> 00:37:18.340
Enter.

00:37:19.640 --> 00:37:19.920
Hostname.

00:37:20.220 --> 00:37:20.740
Hostname.

00:37:22.180 --> 00:37:22.700
Hostname.

00:37:23.140 --> 00:37:23.660
Hostname.

00:37:24.560 --> 00:37:25.080
Hostname.

00:37:25.180 --> 00:37:25.700
Hostname.

00:37:25.800 --> 00:37:26.320
Hostname.

00:37:26.320 --> 00:37:26.340
Space.

00:37:27.140 --> 00:37:28.600
Set hyphen hostname.

00:37:28.780 --> 00:37:30.260
Set set set hyphen hostname.

00:37:30.960 --> 00:37:31.440
Hostname.

00:37:31.440 --> 00:37:32.200
The end.

00:37:32.440 --> 00:37:33.320
Make it as work of four.

00:37:35.620 --> 00:37:35.840
Yeah.

00:37:35.960 --> 00:37:36.500
Exec bash.

00:37:36.740 --> 00:37:37.840
Exec bash.

00:37:38.740 --> 00:37:39.120
Enter.

00:37:40.140 --> 00:37:41.860
Now run those two utilities.

00:37:41.980 --> 00:37:44.340
Subget update and installing the certificate.

00:37:44.600 --> 00:37:44.960
Yeah.

00:37:44.960 --> 00:37:45.400
Enter.

00:37:46.580 --> 00:37:47.080
Enter.

00:37:48.280 --> 00:37:48.660
Enter.

00:37:49.460 --> 00:37:49.740
Enter.

00:37:51.700 --> 00:37:51.780
Enter.

00:37:51.780 --> 00:37:51.960
Yeah.

00:37:52.080 --> 00:37:52.400
BI.

00:37:52.500 --> 00:37:53.660
Container D dot SH.

00:37:53.920 --> 00:37:54.920
Container D dot SH.

00:37:55.060 --> 00:37:56.180
You can give any names up here.

00:37:56.380 --> 00:37:56.660
Yeah.

00:37:56.760 --> 00:37:59.020
Container D dot SH.

00:38:00.280 --> 00:38:00.960
Enter.

00:38:01.980 --> 00:38:02.940
Page script.

00:38:03.360 --> 00:38:04.720
Insert mode I.

00:38:04.920 --> 00:38:05.440
Page script.

00:38:05.720 --> 00:38:05.800
Yeah.

00:38:05.800 --> 00:38:06.240
Come down.

00:38:06.340 --> 00:38:07.940
Come down.

00:38:08.120 --> 00:38:09.240
Come down.

00:38:09.700 --> 00:38:10.420
Come down.

00:38:10.620 --> 00:38:10.900
Yeah.

00:38:11.100 --> 00:38:12.100
Take paste.

00:38:13.520 --> 00:38:13.740
Yeah.

00:38:13.940 --> 00:38:16.440
Escape colon WQ.

00:38:17.300 --> 00:38:18.680
CH mod 700.

00:38:21.300 --> 00:38:23.260
This one.

00:38:25.220 --> 00:38:26.600
Once this is done.

00:38:26.980 --> 00:38:27.500
The meanwhile.

00:38:28.100 --> 00:38:30.420
Can you go and have the token copied.

00:38:30.880 --> 00:38:31.540
The master.

00:38:31.960 --> 00:38:32.940
You can have the token copied.

00:38:34.140 --> 00:38:34.580
Maximize.

00:38:34.720 --> 00:38:36.160
Copy from the start.

00:38:36.980 --> 00:38:37.420
Okay.

00:38:39.100 --> 00:38:39.840
Copy it.

00:38:40.460 --> 00:38:40.580
Yeah.

00:38:40.580 --> 00:38:42.420
Come back to that node.

00:38:43.240 --> 00:38:43.960
Press enter.

00:38:45.820 --> 00:38:45.920
Yeah.

00:38:45.940 --> 00:38:46.620
Right click.

00:38:48.180 --> 00:38:49.060
And paste as enter.

00:38:49.180 --> 00:38:50.220
Now go back to the master.

00:38:50.380 --> 00:38:51.620
Type in kubectl get nodes.

00:38:52.240 --> 00:38:52.680
kubectl.

00:38:54.060 --> 00:38:54.500
kubectl.

00:38:56.180 --> 00:38:56.620
kubectl.

00:38:56.880 --> 00:38:57.320
kubectl.

00:38:57.320 --> 00:39:00.320
Get space nodes.

00:39:02.800 --> 00:39:02.940
Enter.

00:39:04.580 --> 00:39:05.140
All good.

00:39:07.320 --> 00:39:10.540
So remember which machines are supposed to use worker 3 and worker 4.

00:39:11.100 --> 00:39:11.900
Not worker 2.

00:39:14.200 --> 00:39:14.700
Clear?

00:39:15.060 --> 00:39:15.340
Okay.

00:39:15.580 --> 00:39:22.120
So I think you missed on that enter or something when asked the kernel.

00:39:22.640 --> 00:39:23.760
Remember the screen we got.

00:39:23.760 --> 00:39:25.980
Might be made some changes in there.

00:39:26.180 --> 00:39:27.100
And hence it's not able to.

00:39:27.100 --> 00:39:28.860
It has got corrupted the kernel or something.

00:39:29.860 --> 00:39:30.160
Yeah.

00:39:30.440 --> 00:39:32.160
So we'll not be using those two machines now.

00:39:32.360 --> 00:39:33.240
We'll be using these three machines.

00:39:33.420 --> 00:39:33.680
Clear?

00:39:35.100 --> 00:39:35.340
Okay.

00:39:35.460 --> 00:39:36.320
Thank you.

00:39:36.740 --> 00:39:37.000
Others.

00:39:37.180 --> 00:39:38.600
Are we good to understand how you troubleshoot?

00:39:38.900 --> 00:39:39.580
So if you want.

00:39:39.940 --> 00:39:41.720
Why I'm telling to install it.

00:39:41.740 --> 00:39:43.460
Because when you want to install it.

00:39:43.480 --> 00:39:44.840
You know how to install it.

00:39:45.320 --> 00:39:47.160
And also to troubleshoot.

00:39:47.440 --> 00:39:48.720
But if you just get the software.

00:39:48.780 --> 00:39:51.900
Sometimes you'll not understand what is happening in the backend.

00:39:52.620 --> 00:39:53.900
Are we good to hear everyone?

00:39:55.600 --> 00:39:55.940
Okay.

00:39:56.200 --> 00:39:56.400
Right.

00:39:56.940 --> 00:39:57.760
So now.

00:39:57.920 --> 00:39:59.200
Observe what the next step.

00:39:59.340 --> 00:39:59.700
Okay.

00:40:00.120 --> 00:40:01.760
So now how do we.

00:40:02.260 --> 00:40:04.040
So you can also use a nickname.

00:40:04.280 --> 00:40:06.020
So we use alias.

00:40:06.100 --> 00:40:09.360
So alias in Linux is to make the command easy.

00:40:09.360 --> 00:40:12.380
So we can say something like this.

00:40:13.540 --> 00:40:14.740
So instead of complete.

00:40:14.940 --> 00:40:15.900
I can just say K.

00:40:18.720 --> 00:40:20.460
So to use alias.

00:40:20.680 --> 00:40:21.400
Given name.

00:40:21.540 --> 00:40:22.140
Short form.

00:40:22.400 --> 00:40:23.300
And mention it.

00:40:23.380 --> 00:40:24.440
So that you're not typing everything.

00:40:24.860 --> 00:40:25.780
Because we make mistake.

00:40:25.860 --> 00:40:28.020
We type in kubectl.

00:40:28.500 --> 00:40:28.700
Okay.

00:40:29.500 --> 00:40:30.560
Now one more command.

00:40:31.020 --> 00:40:31.520
Next command.

00:40:31.640 --> 00:40:33.100
I'm doing all the commands as per document.

00:40:33.200 --> 00:40:34.140
This is still here.

00:40:34.140 --> 00:40:35.240
It is.

00:40:35.540 --> 00:40:35.920
Done.

00:40:37.020 --> 00:40:38.040
Is all we have done.

00:40:39.620 --> 00:40:41.040
These are all we have done.

00:40:42.700 --> 00:40:43.040
This is done.

00:40:43.180 --> 00:40:44.600
So now let's run this command.

00:40:44.860 --> 00:40:45.320
Get pods.

00:40:45.440 --> 00:40:45.860
All names.

00:40:45.860 --> 00:40:46.020
Spaces.

00:40:47.060 --> 00:40:48.180
Get pod.

00:40:49.060 --> 00:40:49.980
All names.

00:40:51.060 --> 00:40:51.620
Spaces.

00:40:52.020 --> 00:40:53.200
Hyphen O Y.

00:40:53.640 --> 00:40:55.940
So this is going to print all the pods.

00:40:56.520 --> 00:40:58.360
Across all the namespaces.

00:40:58.360 --> 00:40:59.300
In a wide format.

00:40:59.360 --> 00:41:00.880
Means in a full information.

00:41:01.020 --> 00:41:02.380
So that you can see all the information.

00:41:07.680 --> 00:41:07.800
Yes.

00:41:07.800 --> 00:41:08.780
Do you see this everyone?

00:41:14.760 --> 00:41:16.180
So what exactly is it doing.

00:41:17.480 --> 00:41:17.980
Showing you.

00:41:17.980 --> 00:41:20.260
Is showing you the pod names.

00:41:22.800 --> 00:41:23.960
Is showing you the pod names.

00:41:24.480 --> 00:41:24.980
Namespace.

00:41:25.480 --> 00:41:26.420
This is the pod name.

00:41:27.960 --> 00:41:28.820
How many containers?

00:41:28.940 --> 00:41:29.960
This has one container.

00:41:29.980 --> 00:41:30.520
One is running.

00:41:30.820 --> 00:41:32.080
This has two containers running.

00:41:33.260 --> 00:41:36.740
For some reasons this is going kubectl actually.

00:41:38.120 --> 00:41:43.100
Is it working for you, everything, fine?

00:41:47.260 --> 00:41:50.680
The crash to backup, is it?

00:41:52.260 --> 00:41:54.500
Okay, let's see why is it happening.

00:41:55.640 --> 00:41:57.500
Not sure network wise.

00:42:01.860 --> 00:42:03.600
So getting errors for proxy.

00:42:05.180 --> 00:42:06.460
Okay, let's see.

00:42:07.240 --> 00:42:08.040
Next one.

00:42:08.780 --> 00:42:12.920
You also see resets and the pod names. This is a pod IPs.

00:42:13.400 --> 00:42:15.620
This is your name on the node. This is a pod IPs.

00:42:16.120 --> 00:42:19.240
Let's do a small example. Let's do a small, let's duplicate a pod.

00:42:19.420 --> 00:42:20.880
So you can say run.

00:42:21.580 --> 00:42:22.640
So it will run.

00:42:23.420 --> 00:42:24.700
Give a name for the pod.

00:42:26.840 --> 00:42:28.740
And give an image equal to index.

00:42:31.660 --> 00:42:32.500
The last command.

00:42:33.940 --> 00:42:35.280
Let's get this pod.

00:42:36.060 --> 00:42:39.500
Let's look into this later. Let's try to create a pod right now.

00:42:40.240 --> 00:42:42.840
Run. Example.

00:42:43.000 --> 00:42:43.560
Change index.

00:42:44.840 --> 00:42:46.660
And now get pods.

00:42:48.140 --> 00:42:49.460
hyphen o and y.

00:42:52.060 --> 00:42:54.500
And it must create

00:42:55.240 --> 00:42:56.320
gf pod.

00:42:59.820 --> 00:43:00.960
Let's see.

00:43:01.160 --> 00:43:03.180
Because getting some error.

00:43:03.900 --> 00:43:05.620
Is it working for you all?

00:43:12.580 --> 00:43:14.100
Or no?

00:43:18.080 --> 00:43:20.660
Sorry, minus pending because I think.

00:43:22.640 --> 00:43:24.360
Yes Gene. No, no, no.

00:43:24.480 --> 00:43:26.640
It is not okay. There is some problem.

00:43:27.480 --> 00:43:29.980
If it is crashed over, there is some error we are getting.

00:43:32.640 --> 00:43:35.200
Let's see. Why is that? It's running for.

00:43:36.240 --> 00:43:37.740
Who is this last one?

00:43:39.020 --> 00:43:39.340
Charles.

00:43:40.100 --> 00:43:42.200
It runs for Charles. Perfect now.

00:43:44.220 --> 00:43:44.980
So what's happening?

00:43:46.220 --> 00:43:47.900
It seems as we did.

00:43:48.420 --> 00:43:49.800
It runs for him.

00:43:50.720 --> 00:43:51.080
What's happening?

00:43:52.660 --> 00:43:53.940
Okay, let's.

00:43:54.620 --> 00:43:57.000
Not sure why it is happening. It seems as we followed.

00:43:57.860 --> 00:43:59.220
It runs for others.

00:44:01.100 --> 00:44:02.260
Let's troubleshoot.

00:44:11.480 --> 00:44:13.720
Let's do a describe the pod.

00:44:31.000 --> 00:44:33.040
So let's do this.

00:44:35.980 --> 00:44:36.880
Let's.

00:44:36.880 --> 00:44:38.880
Apply the network once more.

00:44:39.060 --> 00:44:41.900
Apply the network once more.

00:44:42.900 --> 00:44:44.960
The nodes are ready.

00:44:45.620 --> 00:44:52.560
Apply the network once more.

00:44:52.560 --> 00:45:05.000
Apply the network once more.

00:45:05.000 --> 00:45:06.600
Okay.

00:45:08.600 --> 00:45:09.700
And.

00:45:10.980 --> 00:45:11.540
See this.

00:45:34.200 --> 00:45:35.620
Let's do this.

00:45:35.620 --> 00:45:38.820
I'm going to do a reset.

00:45:42.240 --> 00:45:42.560
Master.

00:45:42.560 --> 00:45:43.020
Master.

00:45:50.560 --> 00:45:51.940
And then again do it.

00:45:52.540 --> 00:45:53.620
I'm doing a reset.

00:46:04.980 --> 00:46:10.100
Try to do. I'm trying to do a reset just to check that all the steps are same.

00:46:15.240 --> 00:46:20.020
And follow the steps again.

00:46:20.960 --> 00:46:22.580
Copy the token.

00:46:25.180 --> 00:46:27.980
To a notepad.

00:46:32.240 --> 00:46:35.000
And run those three commands.

00:46:35.000 --> 00:46:51.000
All right.

00:46:51.000 --> 00:46:55.440
All right.

00:47:10.960 --> 00:47:16.620
So now what you do is reset on the worker nodes also.

00:47:42.520 --> 00:47:43.920
And.

00:47:43.920 --> 00:47:45.280
Join the new token.

00:48:43.020 --> 00:48:43.440
All right.

00:48:43.440 --> 00:48:43.660
Let's do this.

00:48:46.140 --> 00:48:50.360
This running is working to do properly again is working.

00:48:51.500 --> 00:48:52.880
Please check.

00:48:58.860 --> 00:48:59.220
Yes.

00:49:02.120 --> 00:49:02.640
Yes.

00:49:04.140 --> 00:49:05.440
Everything are doing a reset.

00:49:05.440 --> 00:49:12.580
Reset on the master reset on your worker nodes and do everything from the reset step.

00:49:50.760 --> 00:49:51.120
Okay.

00:49:52.000 --> 00:49:53.000
Let's see for others.

00:49:53.420 --> 00:49:55.940
But you have to do a reset on all of them.

00:49:56.400 --> 00:49:57.200
Gene, hope you understood.

00:49:58.040 --> 00:49:59.540
Do a reset. What are you trying to do now?

00:49:59.920 --> 00:50:00.280
Understand.

00:50:00.900 --> 00:50:02.540
So you're doing it now again.

00:50:02.700 --> 00:50:04.800
After you do a reset, again do a init.

00:50:06.020 --> 00:50:07.420
And then apply it.

00:50:07.580 --> 00:50:07.820
Yeah.

00:50:07.960 --> 00:50:08.900
Qbedium space init.

00:50:09.680 --> 00:50:11.020
Qbedium space init.

00:50:11.560 --> 00:50:12.020
And yeah.

00:50:12.180 --> 00:50:13.460
Wait for all the steps.

00:50:13.840 --> 00:50:14.720
The same steps.

00:50:15.100 --> 00:50:17.780
You're supposed to do all on your worker nodes also.

00:50:19.140 --> 00:50:20.060
Do a reset.

00:50:21.080 --> 00:50:21.940
If enough enforce.

00:50:22.320 --> 00:50:25.680
You do a reset if enough enforce on the master worker nodes also.

00:50:26.680 --> 00:50:27.860
Copy the token.

00:50:30.440 --> 00:50:30.620
Okay.

00:50:30.660 --> 00:50:32.360
CK what are you trying to do?

00:50:32.880 --> 00:50:34.360
Qbedium reset.

00:50:35.820 --> 00:50:38.380
Qbedium reset hyphen hyphen force.

00:50:40.220 --> 00:50:40.920
Reset.

00:50:41.060 --> 00:50:41.860
Space reset.

00:50:42.300 --> 00:50:44.420
Space hyphen hyphen force.

00:50:45.060 --> 00:50:45.340
Yeah.

00:50:45.440 --> 00:50:45.580
Force.

00:50:46.640 --> 00:50:47.020
Force.

00:50:47.060 --> 00:50:48.340
F-O-R-C-E.

00:50:48.440 --> 00:50:48.640
Yeah.

00:50:48.640 --> 00:50:49.180
Yeah.

00:50:49.560 --> 00:50:51.060
Do the same with all the nodes.

00:50:52.100 --> 00:50:52.900
Press enter.

00:50:55.560 --> 00:50:55.800
Yeah.

00:50:55.980 --> 00:50:58.080
After you do it, again do a init.

00:50:59.020 --> 00:50:59.920
Again the same process.

00:51:00.180 --> 00:51:00.460
Do a init.

00:51:00.840 --> 00:51:01.240
Yes.

00:51:01.780 --> 00:51:03.440
Same on the worker node also.

00:51:03.640 --> 00:51:04.520
You're supposed to do a reset.

00:51:05.880 --> 00:51:07.180
And get a new token.

00:51:07.640 --> 00:51:08.940
Charles, you're good right now.

00:51:09.020 --> 00:51:09.940
Who's talking now to me?

00:51:10.080 --> 00:51:10.900
Charles, why are you doing this?

00:51:11.100 --> 00:51:11.880
We're all good.

00:51:12.060 --> 00:51:12.360
Why did you do this?

00:51:12.480 --> 00:51:13.560
I told you we're all good, correct?

00:51:13.780 --> 00:51:14.600
I told you we're all good.

00:51:14.620 --> 00:51:15.180
We're all running.

00:51:16.960 --> 00:51:17.440
Okay.

00:51:17.460 --> 00:51:18.860
Type in Qbedium space init.

00:51:20.580 --> 00:51:21.580
I told not for you.

00:51:21.740 --> 00:51:22.000
For others.

00:51:22.440 --> 00:51:24.400
Because you've seen all the pods running before.

00:51:25.480 --> 00:51:26.680
Qbedium space.

00:51:26.800 --> 00:51:27.460
Space init.

00:51:27.640 --> 00:51:27.820
Yes.

00:51:28.280 --> 00:51:28.760
Enter.

00:51:30.300 --> 00:51:31.220
Same step you're supposed to do.

00:51:31.220 --> 00:51:34.080
Do a reset now on a worker also.

00:51:34.940 --> 00:51:36.700
Qbedium reset hyphen hyphen force.

00:51:37.660 --> 00:51:40.740
After this is done, follow the steps.

00:51:40.800 --> 00:51:42.120
Reset and all of them.

00:51:43.820 --> 00:51:44.820
Copy the token.

00:51:44.820 --> 00:51:46.060
And run this token.

00:51:46.540 --> 00:51:49.080
Qbedium space reset hyphen hyphen force.

00:51:49.280 --> 00:51:50.520
And all the missions.

00:51:51.380 --> 00:51:52.160
You're all in the chat.

00:51:53.940 --> 00:51:55.160
And then join again.

00:51:55.720 --> 00:51:57.520
Before, master, you first do this.

00:51:57.580 --> 00:51:59.160
On the master, you run the three commands.

00:52:00.040 --> 00:52:00.520
Junvi.

00:52:01.060 --> 00:52:01.540
mkdar.

00:52:01.860 --> 00:52:05.540
After you do a init, you also need to run those three commands.

00:52:05.980 --> 00:52:06.460
mkdar.

00:52:06.760 --> 00:52:07.580
All the three commands.

00:52:07.900 --> 00:52:09.140
For kubectl.

00:52:11.560 --> 00:52:13.260
First, confirm the master is ready.

00:52:14.720 --> 00:52:15.580
Junvi, have we got it?

00:52:16.100 --> 00:52:17.800
You're supposed to run the three commands.

00:52:17.920 --> 00:52:18.680
The mkdar.

00:52:19.620 --> 00:52:20.060
Qconfig.

00:52:20.240 --> 00:52:20.920
And chown.

00:52:21.680 --> 00:52:22.060
The master.

00:52:22.060 --> 00:52:22.260
The master.

00:52:22.980 --> 00:52:26.040
After you did the reset, you need to run those three commands.

00:52:28.820 --> 00:52:29.700
That mkdar.

00:52:31.420 --> 00:52:32.260
That sudo scp.

00:52:32.840 --> 00:52:33.600
These three commands.

00:52:33.800 --> 00:52:35.520
So first, always check the master is ready.

00:52:35.780 --> 00:52:37.560
And then you want to join first.

00:52:37.680 --> 00:52:39.020
Ensure the master is ready.

00:52:40.020 --> 00:52:40.460
Yes.

00:52:40.540 --> 00:52:41.120
Up to yes.

00:52:41.800 --> 00:52:42.440
Choose why.

00:52:42.680 --> 00:52:43.120
Choose why.

00:52:44.080 --> 00:52:44.260
Why?

00:52:45.320 --> 00:52:45.580
Why?

00:52:45.580 --> 00:52:46.140
Type in why.

00:52:46.200 --> 00:52:46.340
Why?

00:52:46.460 --> 00:52:46.820
Why?

00:52:46.820 --> 00:52:47.600
Just check it.

00:52:47.660 --> 00:52:48.400
I'm not sure.

00:52:49.960 --> 00:52:50.260
Okay.

00:52:50.400 --> 00:52:50.960
Proceed now.

00:52:51.100 --> 00:52:51.260
Next step.

00:52:51.360 --> 00:52:52.020
Again, paste it.

00:52:52.140 --> 00:52:52.580
Enter.

00:52:54.060 --> 00:52:54.740
Choose why.

00:52:55.440 --> 00:52:55.780
Enter.

00:52:56.340 --> 00:52:58.780
So now, paste that apply command.

00:53:00.260 --> 00:53:01.520
Apply hyphen F network.

00:53:01.600 --> 00:53:02.900
The network which you added.

00:53:03.420 --> 00:53:03.700
Weave net.

00:53:03.820 --> 00:53:04.600
The last line.

00:53:04.800 --> 00:53:05.140
Master.

00:53:05.320 --> 00:53:05.760
Okay.

00:53:06.080 --> 00:53:06.860
Go back to documentation.

00:53:06.860 --> 00:53:08.860
You should see apply command for network adding.

00:53:09.000 --> 00:53:09.140
Yeah.

00:53:09.180 --> 00:53:10.860
Let me give the command a chat.

00:53:11.900 --> 00:53:13.200
I am giving the command a chat.

00:53:13.620 --> 00:53:14.060
Yes.

00:53:14.260 --> 00:53:15.020
I paste the chat.

00:53:15.180 --> 00:53:15.440
Try.

00:53:15.560 --> 00:53:16.240
Run this command.

00:53:16.760 --> 00:53:17.100
Yes.

00:53:17.300 --> 00:53:19.540
First check if master must be ready.

00:53:20.060 --> 00:53:21.040
Do a get nodes.

00:53:22.300 --> 00:53:23.260
CubeCTL get nodes.

00:53:24.780 --> 00:53:25.980
CubeCTL get nodes.

00:53:26.580 --> 00:53:27.880
First ensure the master is ready.

00:53:28.000 --> 00:53:28.960
And then add the token.

00:53:30.600 --> 00:53:30.780
Yes.

00:53:30.960 --> 00:53:33.160
Now go and add the token on the worker nodes.

00:53:34.600 --> 00:53:35.280
Repeat again.

00:53:35.280 --> 00:53:36.920
Ensure the master is ready.

00:53:37.640 --> 00:53:39.020
Run in the CubeCTL commands.

00:53:39.160 --> 00:53:39.860
Apply commands.

00:53:40.160 --> 00:53:42.920
And then go ahead and run in the token on the worker node.

00:53:43.120 --> 00:53:43.240
Okay.

00:53:43.320 --> 00:53:43.780
It means the token.

00:53:43.920 --> 00:53:45.200
You can also run a new token.

00:53:46.060 --> 00:53:46.500
Yes.

00:53:46.900 --> 00:53:47.820
Same for worker 2.

00:53:50.100 --> 00:53:50.540
Yes.

00:53:50.560 --> 00:53:51.760
Now go to the master.

00:53:52.760 --> 00:53:53.480
And do a get nodes.

00:53:53.880 --> 00:53:54.960
CubeCTL get nodes.

00:53:55.840 --> 00:53:56.280
Okay.

00:53:57.380 --> 00:53:58.200
All right.

00:53:58.840 --> 00:53:59.840
CubeCTL get nodes.

00:54:00.960 --> 00:54:01.200
Yeah.

00:54:01.320 --> 00:54:02.020
This is there anyway.

00:54:02.160 --> 00:54:03.180
Just do a.

00:54:03.180 --> 00:54:06.180
CubeCTL get nodes once.

00:54:06.500 --> 00:54:07.540
Get nodes.

00:54:09.100 --> 00:54:09.400
Yes.

00:54:09.620 --> 00:54:10.460
You're good now.

00:54:10.640 --> 00:54:11.800
Now dedicate a part.

00:54:12.520 --> 00:54:13.260
Dedicate a part.

00:54:13.960 --> 00:54:14.560
CubeCTL.

00:54:14.740 --> 00:54:15.040
K.

00:54:15.400 --> 00:54:16.000
Run.

00:54:17.080 --> 00:54:17.320
K.

00:54:17.600 --> 00:54:18.200
Run.

00:54:19.180 --> 00:54:19.420
Run.

00:54:19.640 --> 00:54:19.900
Space.

00:54:19.920 --> 00:54:20.520
Example.

00:54:20.800 --> 00:54:21.400
Space.

00:54:21.640 --> 00:54:21.900
Hyphen.

00:54:22.080 --> 00:54:22.300
Hyphen.

00:54:23.760 --> 00:54:25.560
Image equal to index index.

00:54:27.200 --> 00:54:28.720
And it will get created.

00:54:29.880 --> 00:54:30.320
Okay.

00:54:30.700 --> 00:54:31.720
Are we good now?

00:54:32.420 --> 00:54:32.980
Jing.

00:54:33.320 --> 00:54:33.660
No, no, no.

00:54:33.660 --> 00:54:34.560
Spelling is wrong.

00:54:35.220 --> 00:54:36.220
It is syntax is wrong.

00:54:36.860 --> 00:54:36.920
After.

00:54:36.920 --> 00:54:37.960
Example is space.

00:54:38.300 --> 00:54:39.480
And after image equals.

00:54:39.580 --> 00:54:40.120
It is equals.

00:54:40.240 --> 00:54:40.700
Not colon.

00:54:40.780 --> 00:54:41.020
Enter.

00:54:41.080 --> 00:54:41.320
Yeah.

00:54:41.320 --> 00:54:42.640
Now do a get parts.

00:54:43.280 --> 00:54:44.520
CubeCTL get parts.

00:54:44.800 --> 00:54:45.400
Part parts.

00:54:46.960 --> 00:54:47.520
Parts.

00:54:47.620 --> 00:54:48.040
No, no.

00:54:48.280 --> 00:54:48.620
No, no.

00:54:48.900 --> 00:54:49.580
Remove that.

00:54:49.720 --> 00:54:51.380
Just CubeCTL get parts.

00:54:52.860 --> 00:54:54.160
CubeCTL get parts.

00:54:54.220 --> 00:54:55.280
Hyphen space.

00:54:55.600 --> 00:54:56.660
Hyphen O.

00:54:56.940 --> 00:54:57.480
And by.

00:54:57.480 --> 00:54:58.040
It runs here.

00:54:58.160 --> 00:54:58.800
Which O.

00:55:00.000 --> 00:55:01.280
Alphabet O.

00:55:01.640 --> 00:55:02.000
Space wide.

00:55:02.900 --> 00:55:04.160
No hyphen again.

00:55:04.640 --> 00:55:04.900
Before.

00:55:05.560 --> 00:55:05.960
Yes.

00:55:06.600 --> 00:55:06.860
Enter.

00:55:08.860 --> 00:55:09.320
It is running.

00:55:11.260 --> 00:55:12.460
Everyone is running now.

00:55:12.600 --> 00:55:12.920
KCK.

00:55:13.140 --> 00:55:13.520
All are good.

00:55:15.200 --> 00:55:15.600
Yes.

00:55:16.840 --> 00:55:19.200
So Charles, I clearly told you why you're doing all this and stuff.

00:55:19.360 --> 00:55:19.460
Okay.

00:55:19.560 --> 00:55:20.080
Everything is good.

00:55:20.260 --> 00:55:20.660
Perfectly.

00:55:20.820 --> 00:55:21.220
Before.

00:55:22.800 --> 00:55:23.060
Yeah.

00:55:23.360 --> 00:55:24.760
Can you call the token a notepad?

00:55:24.940 --> 00:55:25.680
Or what you can do?

00:55:25.700 --> 00:55:26.460
Do like this.

00:55:27.000 --> 00:55:27.700
Once again, Charles.

00:55:27.700 --> 00:55:29.240
So can you go to the master?

00:55:31.080 --> 00:55:32.980
Why are you trying to join again on the master?

00:55:33.160 --> 00:55:34.120
Please understand.

00:55:34.680 --> 00:55:35.240
It's over.

00:55:35.540 --> 00:55:35.700
You must.

00:55:36.620 --> 00:55:37.840
No, no, no.

00:55:37.880 --> 00:55:38.440
Go control C.

00:55:40.980 --> 00:55:42.880
Please do control C.

00:55:43.520 --> 00:55:45.000
CubeCTL get nodes.

00:55:46.460 --> 00:55:47.700
CubeCTL get nodes.

00:55:49.380 --> 00:55:50.620
Space get space nodes.

00:55:51.300 --> 00:55:51.900
Space.

00:55:51.960 --> 00:55:53.160
Have to get.

00:55:54.280 --> 00:55:54.740
Nodes.

00:55:55.440 --> 00:55:55.680
Yes.

00:55:55.680 --> 00:55:56.180
Nodes.

00:55:56.520 --> 00:55:57.200
Get nodes.

00:55:57.200 --> 00:55:57.660
E.

00:55:57.820 --> 00:55:58.220
D.

00:55:58.680 --> 00:55:59.080
B.

00:55:59.100 --> 00:55:59.420
E.

00:55:59.420 --> 00:55:59.820
S.

00:56:02.980 --> 00:56:03.380
Okay.

00:56:03.940 --> 00:56:04.440
Okay, Charles.

00:56:04.580 --> 00:56:05.060
I'm not sure.

00:56:05.260 --> 00:56:06.500
I told you not to do these.

00:56:06.680 --> 00:56:08.900
I clearly told you why I repeat the same steps.

00:56:08.940 --> 00:56:09.240
Fine.

00:56:09.800 --> 00:56:10.760
So what did you do before?

00:56:10.960 --> 00:56:11.300
Do history.

00:56:11.640 --> 00:56:12.400
You are perfect.

00:56:12.480 --> 00:56:13.340
It's working fine.

00:56:13.600 --> 00:56:15.380
The reason I told you to not do the steps.

00:56:15.640 --> 00:56:15.800
Okay.

00:56:15.920 --> 00:56:16.600
Do it clear.

00:56:17.380 --> 00:56:18.140
Control C.

00:56:18.440 --> 00:56:19.680
Why did you run the token on the master?

00:56:21.900 --> 00:56:23.880
Why did you run the token on the master?

00:56:24.080 --> 00:56:24.920
Why did you run it?

00:56:25.740 --> 00:56:26.740
You got the token.

00:56:26.740 --> 00:56:27.600
Why are you running again?

00:56:27.900 --> 00:56:28.640
Joint command on the master.

00:56:28.780 --> 00:56:29.720
Are you getting it?

00:56:29.920 --> 00:56:30.940
What's the mistake you did?

00:56:32.640 --> 00:56:34.660
You're not supposed to run the joint command on the master.

00:56:34.940 --> 00:56:35.340
Okay.

00:56:35.560 --> 00:56:37.200
So can you do apply?

00:56:38.580 --> 00:56:39.280
That network.

00:56:40.580 --> 00:56:41.020
Yeah.

00:56:41.140 --> 00:56:43.420
That network command hyphen F.

00:56:45.520 --> 00:56:45.800
Yeah.

00:56:46.320 --> 00:56:48.420
Charles, you need to repeat the steps again.

00:56:48.740 --> 00:56:51.900
Because of something you've done on the master.

00:56:52.800 --> 00:56:53.600
So you have to be careful.

00:56:55.400 --> 00:56:55.880
Yeah.

00:56:56.480 --> 00:56:57.700
So can you?

00:56:58.340 --> 00:56:59.100
Not sure what to do now.

00:56:59.100 --> 00:56:59.340
Okay.

00:56:59.360 --> 00:57:00.560
Let's do the last step.

00:57:00.780 --> 00:57:01.900
Q barium in it.

00:57:01.900 --> 00:57:02.600
Q barium.

00:57:04.020 --> 00:57:04.500
Space.

00:57:05.060 --> 00:57:05.940
In it.

00:57:06.200 --> 00:57:06.600
Again.

00:57:07.540 --> 00:57:07.740
Enter.

00:57:07.740 --> 00:57:09.500
Q barium reset hyphen F enforced.

00:57:11.220 --> 00:57:13.080
Q barium reset hyphen F enforced.

00:57:14.320 --> 00:57:14.640
Enter.

00:57:16.160 --> 00:57:18.540
Did I understand what the mistake you did on this mission?

00:57:19.200 --> 00:57:20.680
Charles, I have to get the token.

00:57:20.800 --> 00:57:22.520
Don't run the token on the master.

00:57:23.600 --> 00:57:25.300
So now do a Q barium space in it.

00:57:25.320 --> 00:57:25.700
Same thing.

00:57:25.920 --> 00:57:28.320
You're supposed to do a reset on all the missions and do properly.

00:57:28.400 --> 00:57:29.040
Is it okay?

00:57:30.700 --> 00:57:30.960
Yeah.

00:57:31.520 --> 00:57:32.500
Please go to your end.

00:57:32.960 --> 00:57:34.000
I think others.

00:57:35.140 --> 00:57:35.980
I'll be good till here.

00:57:36.520 --> 00:57:37.960
Master is ready now.

00:57:38.220 --> 00:57:39.040
Are you able to create pod?

00:57:40.820 --> 00:57:41.700
Please confirm.

00:57:43.220 --> 00:57:43.800
Gene is good.

00:57:46.960 --> 00:57:47.800
Which one?

00:57:48.260 --> 00:57:48.880
Who's this?

00:57:49.020 --> 00:57:49.840
Can we?

00:57:49.900 --> 00:57:50.340
Yes.

00:57:50.480 --> 00:57:51.200
One example.

00:57:51.580 --> 00:57:51.820
Okay.

00:57:51.820 --> 00:57:53.040
I understand.

00:57:53.420 --> 00:57:53.860
I understand.

00:57:53.960 --> 00:57:54.840
I understand.

00:57:55.120 --> 00:57:56.180
Qubes will get pods.

00:57:56.420 --> 00:57:57.280
One example.

00:57:57.640 --> 00:57:57.740
Okay.

00:57:57.740 --> 00:57:58.920
Type in clear.

00:57:59.780 --> 00:58:00.200
Type clear.

00:58:00.380 --> 00:58:01.780
Again, Qubes will get pods.

00:58:03.180 --> 00:58:04.860
Run the same command.

00:58:06.280 --> 00:58:06.540
Yeah.

00:58:07.160 --> 00:58:07.420
Yes.

00:58:07.500 --> 00:58:07.980
Yes.

00:58:08.700 --> 00:58:11.020
Now do a Qubes ETL describe.

00:58:12.080 --> 00:58:13.740
Qubes ETL describe.

00:58:14.480 --> 00:58:15.820
Type in Qubes ETL.

00:58:17.060 --> 00:58:18.020
Please type.

00:58:18.480 --> 00:58:18.800
Yes.

00:58:19.300 --> 00:58:20.020
Qubes ETL.

00:58:20.040 --> 00:58:20.880
The same command.

00:58:20.880 --> 00:58:21.540
Yes.

00:58:21.640 --> 00:58:22.880
Qubes ETL.

00:58:23.920 --> 00:58:24.360
Describe.

00:58:24.360 --> 00:58:26.260
R-I-B-E.

00:58:26.480 --> 00:58:26.900
No, no.

00:58:26.900 --> 00:58:28.320
C-R-I-B-E.

00:58:30.260 --> 00:58:30.400
Pod.

00:58:30.600 --> 00:58:31.040
Space.

00:58:31.280 --> 00:58:31.720
Example.

00:58:32.860 --> 00:58:33.760
The spelling is wrong.

00:58:35.220 --> 00:58:36.320
Can you do control C?

00:58:37.160 --> 00:58:37.620
Type in clear.

00:58:37.680 --> 00:58:38.840
Can you show the command what you ran?

00:58:39.460 --> 00:58:40.040
Use apparel.

00:58:40.160 --> 00:58:40.820
Apparel again.

00:58:41.420 --> 00:58:41.860
Apparel.

00:58:42.820 --> 00:58:43.260
Apparel.

00:58:43.560 --> 00:58:45.440
Show me the command what you ran to create the pod.

00:58:45.920 --> 00:58:46.620
Please use apparel.

00:58:48.040 --> 00:58:48.680
One second.

00:58:48.720 --> 00:58:49.140
One second.

00:58:49.140 --> 00:58:49.720
Okay.

00:58:49.760 --> 00:58:51.120
Let's create new one more pod.

00:58:51.140 --> 00:58:51.360
Okay.

00:58:51.380 --> 00:58:51.680
Let's see.

00:58:51.820 --> 00:58:52.340
Make it simple.

00:58:52.620 --> 00:58:53.040
Qubes ETL.

00:58:53.140 --> 00:58:56.420
Make it Qubes ETL.

00:58:57.580 --> 00:58:59.380
Let's run a new command now.

00:58:59.600 --> 00:59:01.000
Clear the screen.

00:59:01.960 --> 00:59:02.880
Type in clear.

00:59:04.060 --> 00:59:05.100
Or do a control C.

00:59:05.200 --> 00:59:06.320
Do a control C otherwise.

00:59:07.360 --> 00:59:07.980
Qubes ETL.

00:59:08.000 --> 00:59:09.400
What you can do is you can use like this.

00:59:09.560 --> 00:59:10.180
Use the alias.

00:59:10.520 --> 00:59:11.600
Use the alias.

00:59:11.720 --> 00:59:13.280
A-L-I-A-S.

00:59:13.640 --> 00:59:14.140
Remove this.

00:59:14.520 --> 00:59:15.440
Remove this.

00:59:16.280 --> 00:59:17.080
Backspace completely.

00:59:18.320 --> 00:59:20.920
Type in A-L-A-I-S.

00:59:21.040 --> 00:59:22.440
A-L.

00:59:22.460 --> 00:59:24.360
A-L-I-A-S.

00:59:24.360 --> 00:59:25.080
Space K.

00:59:27.280 --> 00:59:27.880
Equals.

00:59:27.880 --> 00:59:28.560
No space.

00:59:28.920 --> 00:59:30.140
Qubes CTL.

00:59:32.260 --> 00:59:32.860
Qubes.

00:59:33.140 --> 00:59:33.740
CTL.

00:59:34.040 --> 00:59:34.200
Yeah.

00:59:34.480 --> 00:59:34.700
L.

00:59:35.060 --> 00:59:35.340
Enter.

00:59:35.900 --> 00:59:36.720
Now it's the new one.

00:59:36.820 --> 00:59:37.760
Let's run a new one.

00:59:38.980 --> 00:59:39.440
K.

00:59:39.640 --> 00:59:40.060
Run.

00:59:41.660 --> 00:59:43.380
Give a name as test this time.

00:59:44.100 --> 00:59:44.620
Test.

00:59:44.740 --> 00:59:46.740
Give a different name for the pod.

00:59:47.140 --> 00:59:47.800
Test or something.

00:59:49.820 --> 00:59:51.400
Hyphen hyphen image.

00:59:52.980 --> 00:59:54.140
Hyphen hyphen image.

00:59:55.480 --> 00:59:56.000
Equals.

00:59:56.620 --> 00:59:57.140
NGINX.

00:59:57.820 --> 00:59:58.340
INX.

00:59:58.620 --> 00:59:59.640
Let me say it again before.

01:00:01.380 --> 01:00:01.900
NGINX.

01:00:02.100 --> 01:00:03.240
After G it is I.

01:00:03.480 --> 01:00:04.000
X.

01:00:04.460 --> 01:00:04.900
Enter.

01:00:05.920 --> 01:00:06.320
Enter.

01:00:07.560 --> 01:00:08.720
Now do a get pods.

01:00:08.900 --> 01:00:09.320
Qubes ETL.

01:00:09.420 --> 01:00:10.260
Get pods.

01:00:10.400 --> 01:00:10.880
Get pods.

01:00:10.940 --> 01:00:11.400
K.

01:00:11.400 --> 01:00:12.400
Get pods.

01:00:14.680 --> 01:00:15.160
Hyphen.

01:00:15.340 --> 01:00:15.820
This is running.

01:00:17.020 --> 01:00:18.240
So because of the message.

01:00:20.200 --> 01:00:20.400
A team.

01:00:21.540 --> 01:00:21.880
Okay.

01:00:21.940 --> 01:00:22.160
Charles.

01:00:22.460 --> 01:00:24.280
I would request you to do the break properly.

01:00:24.420 --> 01:00:24.960
The steps.

01:00:25.340 --> 01:00:26.540
It must be running in.

01:00:26.540 --> 01:00:27.560
We go in time twice.

01:00:27.860 --> 01:00:28.240
Do properly.

01:00:28.600 --> 01:00:28.740
Okay.

01:00:28.740 --> 01:00:30.000
Let's see the step.

01:00:30.240 --> 01:00:31.780
What is happening to.

01:00:32.780 --> 01:00:33.560
What can you do now?

01:00:34.120 --> 01:00:34.340
No.

01:00:34.920 --> 01:00:35.560
No, no, no.

01:00:35.680 --> 01:00:38.800
It will not work because your master is corrupted.

01:00:39.020 --> 01:00:40.200
You have to do a reset again.

01:00:40.300 --> 01:00:41.380
Please do a reset again.

01:00:41.400 --> 01:00:43.180
On all the nodes.

01:00:44.740 --> 01:00:45.880
On the master.

01:00:46.660 --> 01:00:47.500
Working is fine.

01:00:48.020 --> 01:00:49.540
Do a reset on the master.

01:00:49.940 --> 01:00:50.900
QBDM reset.

01:00:51.040 --> 01:00:51.260
Hyphen.

01:00:51.700 --> 01:00:52.140
Enforce.

01:00:52.560 --> 01:00:53.620
Do this as properly.

01:00:53.940 --> 01:00:54.920
Get a new token.

01:00:55.560 --> 01:00:56.460
And then do it.

01:00:56.580 --> 01:00:57.600
I'll help you out.

01:00:57.780 --> 01:00:58.160
I just.

01:00:58.700 --> 01:00:59.840
I'll help you out the break now.

01:00:59.860 --> 01:01:01.040
So you want to hold others.

01:01:01.160 --> 01:01:01.940
Going to take a break now.

01:01:02.080 --> 01:01:02.380
Short break.

01:01:03.080 --> 01:01:03.340
Yeah.

01:01:03.640 --> 01:01:04.080
So.

01:01:04.300 --> 01:01:05.780
So we'll take it.

01:01:05.780 --> 01:01:07.180
Because he's still doing the lab.

01:01:07.400 --> 01:01:08.360
So let's say 15 minutes.

01:01:08.600 --> 01:01:09.400
Thank you.

01:01:10.200 --> 01:01:11.980
We'll come and explain other things.

01:01:12.920 --> 01:01:13.060
Okay.

01:01:13.420 --> 01:01:15.680
So now once again.

01:01:16.320 --> 01:01:17.560
Do a QBDM.

01:01:17.660 --> 01:01:18.260
Reset it.

01:01:18.260 --> 01:01:19.060
What did you do now?

01:01:19.060 --> 01:01:20.120
Now, one second.

01:01:21.020 --> 01:01:21.180
Okay.

01:01:21.300 --> 01:01:22.840
Press enter in it.

01:01:25.640 --> 01:01:26.080
Enter.

01:01:26.400 --> 01:01:26.620
Present.

01:01:26.820 --> 01:01:28.220
Now, please do the steps.

01:01:28.300 --> 01:01:29.320
And listen and tell you.

01:01:29.420 --> 01:01:29.620
Okay.

01:01:29.700 --> 01:01:30.660
I tell you what comment.

01:01:30.980 --> 01:01:31.960
Next month is done.

01:01:32.040 --> 01:01:32.340
Okay.

01:01:32.640 --> 01:01:33.760
Now, in the chat.

01:01:34.120 --> 01:01:34.900
Don't anything else.

01:01:35.280 --> 01:01:36.000
In the chat.

01:01:36.100 --> 01:01:37.560
I've pasted three commands.

01:01:38.220 --> 01:01:39.680
Run the three commands.

01:01:39.920 --> 01:01:40.340
On the master.

01:01:40.460 --> 01:01:41.000
Choose yes.

01:01:41.160 --> 01:01:41.860
Choose Y.

01:01:42.180 --> 01:01:42.980
Choose Y.

01:01:43.900 --> 01:01:44.080
Y.

01:01:44.560 --> 01:01:44.780
Y.

01:01:45.860 --> 01:01:46.040
Enter.

01:01:46.300 --> 01:01:47.200
Wait now.

01:01:47.820 --> 01:01:49.040
Now is this command.

01:01:49.200 --> 01:01:49.480
The chat.

01:01:49.680 --> 01:01:50.140
Give it to you.

01:01:50.180 --> 01:01:50.560
One second.

01:01:50.700 --> 01:01:51.740
Did you apply it?

01:01:52.180 --> 01:01:52.580
Yeah.

01:01:53.100 --> 01:01:53.700
So now.

01:01:53.840 --> 01:01:54.700
Paste the next command.

01:01:54.780 --> 01:01:55.400
In the chat.

01:01:55.620 --> 01:01:55.680
Yes.

01:01:56.140 --> 01:01:57.020
Now copy.

01:01:57.300 --> 01:01:58.200
Maximize this window.

01:01:59.520 --> 01:02:00.340
Copy the token.

01:02:02.060 --> 01:02:03.360
Go to your worker one.

01:02:03.440 --> 01:02:04.600
Worker three.

01:02:04.980 --> 01:02:05.660
Worker three.

01:02:05.660 --> 01:02:06.660
We didn't copy completely.

01:02:08.420 --> 01:02:09.200
Go to worker three.

01:02:09.520 --> 01:02:09.660
Right click.

01:02:11.260 --> 01:02:11.880
And paste.

01:02:12.680 --> 01:02:13.020
Press enter.

01:02:13.500 --> 01:02:13.800
Okay.

01:02:14.200 --> 01:02:14.660
Type in cubeadm.

01:02:15.340 --> 01:02:16.780
You didn't notice it before.

01:02:17.320 --> 01:02:19.000
Cubeadm space.

01:02:19.400 --> 01:02:21.380
Reset hyphen hyphen force.

01:02:22.580 --> 01:02:24.000
Space hyphen hyphen force.

01:02:25.920 --> 01:02:26.200
Yeah.

01:02:26.720 --> 01:02:27.040
Enter.

01:02:27.880 --> 01:02:28.660
Don't anything now.

01:02:29.100 --> 01:02:29.340
Okay.

01:02:29.340 --> 01:02:30.680
Now paste the token again.

01:02:30.860 --> 01:02:31.740
Right click.

01:02:32.740 --> 01:02:32.980
Paste.

01:02:34.040 --> 01:02:34.420
Enter.

01:02:35.660 --> 01:02:36.740
Okay now wait.

01:02:37.940 --> 01:02:38.980
So now go to the master.

01:02:39.100 --> 01:02:40.080
So you can make it simple.

01:02:40.160 --> 01:02:40.660
Type in alias.

01:02:42.120 --> 01:02:42.580
Al.

01:02:42.640 --> 01:02:43.100
I.

01:02:44.260 --> 01:02:44.820
As.

01:02:45.300 --> 01:02:47.160
K equal to cubectl.

01:02:48.060 --> 01:02:48.620
K.

01:02:48.980 --> 01:02:49.580
Alphabet K.

01:02:49.620 --> 01:02:50.960
Just type in alphabet K.

01:02:51.880 --> 01:02:52.440
K.

01:02:52.720 --> 01:02:53.860
K equals.

01:02:54.200 --> 01:02:54.380
Small.

01:02:54.480 --> 01:02:54.960
Small k.

01:02:55.120 --> 01:02:56.820
Equal to cubectl.

01:02:57.140 --> 01:02:57.240
K.

01:02:57.240 --> 01:02:57.440
U.

01:02:57.640 --> 01:02:57.780
B.

01:02:58.840 --> 01:03:00.060
C. T.

01:03:00.080 --> 01:03:00.380
Enter.

01:03:01.520 --> 01:03:01.820
Yes.

01:03:02.000 --> 01:03:02.900
Now get nodes.

01:03:03.220 --> 01:03:04.800
Just type in K.

01:03:04.800 --> 01:03:06.800
space get space nodes

01:03:08.220 --> 01:03:13.480
K K get nodes K one space and get node enter

01:03:14.920 --> 01:03:16.880
Okay, now go to the worker

01:03:17.540 --> 01:03:20.860
Okay, I think done the token copy the token and paste it

01:03:21.480 --> 01:03:24.680
This right click I think called copy this right click in your work of four

01:03:25.940 --> 01:03:28.180
Paste it enter. Okay, do a reset

01:03:29.060 --> 01:03:30.760
Cube ADM reset

01:03:30.760 --> 01:03:36.220
Hyphenation force interpelling is wrong enter and right click and paste the token enter right now go to the master

01:03:36.220 --> 01:03:39.760
Yes, use up run the same command what you ran before. Yes enter

01:03:41.200 --> 01:03:43.060
Right now we'll do one more command

01:03:45.020 --> 01:03:46.060
K run

01:03:47.500 --> 01:03:48.840
K space run

01:03:50.500 --> 01:03:56.560
Space test hyphen-hyphen image equal to no no image is a image. It is not images equal to

01:03:58.260 --> 01:04:00.100
NG INX

01:04:00.100 --> 01:04:02.440
NG INX

01:04:03.140 --> 01:04:08.520
INX enter enter now K get parts

01:04:09.760 --> 01:04:12.320
K get part hyphen O

01:04:13.800 --> 01:04:17.000
Space hyphen O space white WID enter

01:04:18.580 --> 01:04:22.760
All good, okay. Okay. We'll be taking a break now and come back. Yeah

01:04:24.240 --> 01:04:27.000
Back this so now

01:04:28.260 --> 01:04:29.660
Let's go back

01:04:30.540 --> 01:04:37.560
And we're not with skips and steps in the documents open a notepad and the last one. Let's run this command

01:04:38.280 --> 01:04:40.320
request everyone to make

01:04:40.320 --> 01:04:42.700
short form of alias

01:04:45.700 --> 01:04:55.220
Make it small who's is I'm seeing the screen I get confused. Okay. Okay

01:04:55.220 --> 01:04:59.300
So many screens I've seen from the morning

01:05:01.740 --> 01:05:03.340
Yeah, so

01:05:04.540 --> 01:05:05.340
Now

01:05:05.340 --> 01:05:09.440
Start using a diesel because everyone see here for you. So choose alias

01:05:10.600 --> 01:05:16.340
K equal to troops idiot first. Yeah. So now you say

01:05:16.340 --> 01:05:18.460
to see deal API

01:05:18.460 --> 01:05:20.440
hyphen resources

01:05:21.460 --> 01:05:25.340
When you do this to give you all the objects

01:05:27.900 --> 01:05:28.540
Information

01:05:31.660 --> 01:05:33.620
Yeah, give you all the objects information

01:05:37.900 --> 01:05:44.540
So you see components endpoints evens parts all these are the objects

01:05:46.400 --> 01:05:50.460
And which API version using you see the next call which API versions

01:05:52.340 --> 01:05:54.380
The short form

01:05:54.380 --> 01:05:57.980
This is part of this whenever you want to know which API version

01:05:57.980 --> 01:06:04.960
What are the object the nicknames? We use the K cube seated API hyphen resources

01:06:06.260 --> 01:06:08.160
Now you might want to understand

01:06:11.000 --> 01:06:13.700
You can use

01:06:13.700 --> 01:06:15.880
Cdl explained and

01:06:17.520 --> 01:06:21.780
Like pause and that will let you know what exactly this object

01:06:22.820 --> 01:06:24.640
What is it?

01:06:24.880 --> 01:06:26.100
What the API version?

01:06:26.840 --> 01:06:29.980
What fees are supposed to use is a piece?

01:06:31.360 --> 01:06:32.820
Now if I open

01:06:32.820 --> 01:06:39.320
The part for example, let's show a lab and now I open the lab for the part

01:06:39.320 --> 01:06:44.480
And now you see a syntax of it a syntax says API version

01:06:44.480 --> 01:06:48.860
So now when you see the sin the

01:06:49.640 --> 01:06:54.580
Explain output you can easily start writing in the pod yaml file

01:06:55.580 --> 01:07:01.900
Says API version. So it sees your field. It is a good API version. So API version has be one

01:07:03.180 --> 01:07:04.540
Find this part

01:07:05.060 --> 01:07:08.520
The fields you see a perversion kind metadata

01:07:09.320 --> 01:07:13.620
So metadata means name of the part and the specifications

01:07:14.140 --> 01:07:19.420
So whenever you want to understand what exactly the object and the syntax of it

01:07:20.340 --> 01:07:22.580
To Cdl explain the object name

01:07:23.640 --> 01:07:25.160
Are we good everyone?

01:07:25.900 --> 01:07:30.160
Yeah. Yeah. So this is how we get started. So in brief about this lab

01:07:30.160 --> 01:07:35.280
We learned about how to install let me summarize this lab the first created three machines

01:07:35.280 --> 01:07:42.600
We already have three machines in our use case we set the host names we installed utilities initially and

01:07:43.880 --> 01:07:45.620
Then install the main components

01:07:46.400 --> 01:07:48.860
and we're able to

01:07:48.860 --> 01:07:50.240
All good

01:07:51.300 --> 01:07:51.940
Okay

01:07:53.120 --> 01:07:55.980
Now what are namespaces the next topic?

01:07:56.940 --> 01:08:00.040
What is the namespace? What could be a namespace? Anyone?

01:08:00.420 --> 01:08:02.360
strike this is a diagram you tell me

01:08:03.860 --> 01:08:11.520
What we namespace sorry are you talking I can't hear nobody's talking fine. So what is namespace right now? You have a cluster

01:08:12.740 --> 01:08:15.940
Now this cluster resources has to be used by two teams

01:08:17.480 --> 01:08:21.720
So we want the resources to be separated

01:08:22.600 --> 01:08:28.440
so in the cluster this could be project a and

01:08:28.440 --> 01:08:34.660
This could be and if users a b c they are working in in your office

01:08:34.660 --> 01:08:39.320
They're working on the project they get access to this namespace like namespace one

01:08:40.260 --> 01:08:46.900
There are developers or users working on this project. They get access to this namespace like in this too

01:08:48.120 --> 01:08:55.080
So each one cannot see what is happening in the other project this logical separation of the resources

01:08:55.720 --> 01:08:58.420
Within the cluster is called the namespace

01:08:59.400 --> 01:08:59.920
and

01:08:59.920 --> 01:09:01.940
inside this

01:09:01.940 --> 01:09:08.080
Administrators can define what you all can do how many parts you can create what you can do to what level you can

01:09:08.080 --> 01:09:14.700
Do this one namespace so we use namespace for logical segregation and you can also define what the users can do

01:09:15.260 --> 01:09:17.120
inside the namespace

01:09:17.760 --> 01:09:21.360
Are we good when you install kubernetes creates three namespaces

01:09:22.300 --> 01:09:26.780
Now could you tell me the parts got created in which namespace anyone?

01:09:27.400 --> 01:09:33.780
In which namespace the part which you created the example in which namespace is got created the same space

01:09:33.780 --> 01:09:37.940
Let's see this so why you use namespaces the use case now. Let's go and see

01:09:40.920 --> 01:09:44.000
Resources we are two methods either

01:09:45.200 --> 01:09:48.540
So I will first get the namespaces

01:09:49.880 --> 01:09:52.660
Or I can use a nickname namespaces

01:09:56.780 --> 01:09:58.780
These are default namespaces already created

01:10:01.020 --> 01:10:05.220
Now can I do a describe so if you want any specific namespace I say get

01:10:06.240 --> 01:10:10.400
NSS.com or I can also say default the namespace name

01:10:10.400 --> 01:10:12.860
I want to see what exactly the namespace

01:10:13.800 --> 01:10:15.260
And use kit

01:10:15.260 --> 01:10:20.340
If you want to get more information, I can use work describe describe

01:10:21.820 --> 01:10:23.640
namespace and the default

01:10:26.060 --> 01:10:32.900
So when you do a get of the object type you give all the all the objects under that object type

01:10:32.900 --> 01:10:34.520
You want to get any

01:10:36.260 --> 01:10:39.060
Then you mention the name of it

01:10:39.060 --> 01:10:45.620
You want to describe you say describe the object type with namespace and the name of the namespace

01:10:46.240 --> 01:10:47.600
These are the props

01:10:48.680 --> 01:10:53.280
Now can we create so now when I do get parts

01:10:54.380 --> 01:11:00.360
You see that it doesn't have you're not sure you want to know which namespace it is so when you

01:11:01.120 --> 01:11:03.840
Don't mention any specific namespace

01:11:05.460 --> 01:11:08.160
It will get created in your default namespace

01:11:10.000 --> 01:11:14.400
Now for example one different different namespace I can say get namespaces

01:11:16.780 --> 01:11:17.460
Namespace

01:11:17.460 --> 01:11:18.380
equals

01:11:18.380 --> 01:11:23.660
Cube hyphen system this will show all the parts in this namespace

01:11:26.720 --> 01:11:31.780
Have you good if you don't make a namespace it will always goes to your default namespace

01:11:32.460 --> 01:11:37.140
If you want a specific namespace you have to explicitly call the namespace

01:11:38.060 --> 01:11:41.260
Quickly have some reasons one of the parts are going now

01:11:45.180 --> 01:11:47.680
How do you create a namespace now

01:11:48.380 --> 01:11:50.640
So I can create namespace

01:11:51.400 --> 01:11:52.000
by

01:11:52.960 --> 01:11:53.560
create

01:11:54.400 --> 01:11:58.460
namespace short form in NS and I can give like a test

01:11:59.660 --> 01:12:00.860
Got created

01:12:00.860 --> 01:12:04.860
How do you check it? I can do a get NS

01:12:05.780 --> 01:12:07.140
You see this

01:12:07.140 --> 01:12:08.120
created

01:12:08.740 --> 01:12:11.300
See the information about it. I can show a describe

01:12:14.740 --> 01:12:16.900
NS or namespace

01:12:17.500 --> 01:12:19.500
In the name of it

01:12:20.200 --> 01:12:26.240
I'll give time for your lab. This is one method other method is I cannot use the YAML file

01:12:26.240 --> 01:12:28.100
I can say vi the YAML name

01:12:29.660 --> 01:12:31.020
file name

01:12:31.020 --> 01:12:35.220
Insert mode the first line is API version

01:12:36.720 --> 01:12:39.740
colon one space v1

01:12:42.280 --> 01:12:43.640
Next kind

01:12:44.580 --> 01:12:46.680
Holden the type is namespace

01:12:49.480 --> 01:12:53.200
Now what is the name of it that will get you mentioned metadata

01:12:56.680 --> 01:12:57.440
Meta

01:12:57.440 --> 01:12:58.700
Data

01:12:58.700 --> 01:13:01.240
Enter and give two spaces

01:13:02.080 --> 01:13:09.760
But right yaml like this API version colon one space v1 kind one space metadata

01:13:10.660 --> 01:13:18.080
So we'll run this file so I say this file and I can either use apply or create

01:13:18.080 --> 01:13:20.560
so I say apply

01:13:20.560 --> 01:13:27.180
Which in which file name I can F and the file name now will go and check will got created

01:13:27.180 --> 01:13:29.120
I do get NS and

01:13:29.940 --> 01:13:31.480
You see this created

01:13:33.740 --> 01:13:37.200
This is how you work with your government's YAML files

01:13:38.380 --> 01:13:44.860
Either you can use the imperative method command line or you can also use a YAML method now for example

01:13:44.860 --> 01:13:47.540
I do not have a YAML file. I

01:13:47.540 --> 01:13:54.880
want to see what is exactly happening inside a part for example and say get NS or namespace and

01:13:54.880 --> 01:13:56.820
I can also say example

01:13:56.820 --> 01:13:59.560
hyphen O and the YAML format

01:14:00.660 --> 01:14:02.580
So I can see what is happening anytime

01:14:03.480 --> 01:14:08.040
When you object in the YAML format so now I can see the configurations

01:14:10.240 --> 01:14:13.540
And if you want you can also copy this to different YAML file for example

01:14:13.540 --> 01:14:17.700
I want to be rewrite something like this. I can copy different YAML file. You'll get copy the contents and

01:14:18.780 --> 01:14:23.280
Then I can open the three dot YAML file for example, and I can modify the contents

01:14:24.000 --> 01:14:25.780
Like this we can play around

01:14:28.040 --> 01:14:29.100
Are we good

01:14:32.940 --> 01:14:38.380
Okay, now I want you to do a lab so go to labs under

01:14:39.300 --> 01:14:40.580
namespace and parts

01:14:40.580 --> 01:14:42.900
lab one

01:14:42.900 --> 01:14:44.340
Play around

01:14:44.340 --> 01:14:52.060
The first part yourself till don't do resource quota try to create play around till here

01:14:53.140 --> 01:14:55.580
But replace the name with the name what I want to give

01:14:56.900 --> 01:15:00.240
Is play around with this module two labs?

01:15:01.080 --> 01:15:04.080
Lab one a cube and exchanges in points, please start

01:15:34.360 --> 01:15:39.680
Some fire or something there in the back end something this crashing of the service

01:15:41.660 --> 01:15:45.800
They're all good for you, but then I'll get you see the same for me crash the back. Okay, fine

01:15:45.800 --> 01:15:49.680
But people see let me check the back end something government blocking or something. Let me check

01:15:51.160 --> 01:15:51.880
to the lab

01:16:28.820 --> 01:16:30.220
You

01:16:39.920 --> 01:16:44.560
Are we good? Okay. Okay gene a good next step. I have not talked about the quota

01:16:47.220 --> 01:16:48.020
Gene sorry

01:16:49.140 --> 01:16:51.000
Gene can you hear me Gene can you hear me?

01:16:53.080 --> 01:16:57.900
We still not talked about quota and still not talk about I told you this dude

01:17:00.240 --> 01:17:08.860
This hold on yeah, no problem others just create the namespace. Okay, we're good chance. We're good

01:17:08.860 --> 01:17:13.000
Just do not do these resource quota just do in the first part. That's what I told you

01:17:14.240 --> 01:17:15.420
Not talked about this

01:17:15.420 --> 01:17:22.200
Okay. Now, let me explain sitting. Can you do a hyphen? Oh, why is it happening money for worker one?

01:17:24.340 --> 01:17:26.880
Let's see for which means one node

01:17:27.420 --> 01:17:29.400
run this command and

01:17:29.400 --> 01:17:32.780
Tell me on which node are you having the problem?

01:17:35.000 --> 01:17:36.840
So get parts

01:17:39.100 --> 01:17:40.620
Namespace your system

01:17:42.960 --> 01:17:43.560
Right

01:17:45.240 --> 01:17:48.560
Tell me on which node you see this

01:17:50.200 --> 01:17:52.320
The worker one or

01:17:53.000 --> 01:17:57.460
On this node you see a crash to back off. Okay one others

01:18:02.320 --> 01:18:02.880
Okay

01:18:02.880 --> 01:18:06.280
But is running at least coffee is running for you right now

01:18:07.120 --> 01:18:10.960
Okay. Okay. Let's see. Let's figure it out. I think we are to again

01:18:10.960 --> 01:18:14.900
I'm not sure why is it having one neon worker one sometimes so strange

01:18:15.760 --> 01:18:16.320
Okay

01:18:16.320 --> 01:18:20.120
So what about you CK or you also is working on?

01:18:22.420 --> 01:18:22.980
Okay

01:18:24.100 --> 01:18:24.660
Okay

01:18:24.660 --> 01:18:25.580
Let's see

01:18:26.460 --> 01:18:32.460
Next let's proceed up. So what's this was for us now, let's consider that

01:18:33.220 --> 01:18:35.080
We have two things

01:18:35.080 --> 01:18:41.760
Let me explain this now. Let's consider that now. We have two projects was it a

01:18:41.760 --> 01:18:47.020
And working on project B and they are using namespace to be namespace one and namespace two

01:18:48.800 --> 01:18:52.020
Now total cluster resources were 100 vcpo

01:18:53.440 --> 01:18:55.480
It were had 100 GP

01:18:56.140 --> 01:18:56.540
resources

01:18:57.320 --> 01:19:02.200
Now if this team or the project one consumes all of them

01:19:02.940 --> 01:19:04.980
then nothing would be there for the

01:19:05.740 --> 01:19:07.200
project to

01:19:07.200 --> 01:19:08.600
Understanding are you good?

01:19:09.420 --> 01:19:15.220
If project one consume everything in here, then project two cannot do anything because they need some resources

01:19:16.080 --> 01:19:20.260
So this is where we can get a setting quota that for this namespace

01:19:21.280 --> 01:19:24.760
Maximum is 50 vcpo 50 GB ramp

01:19:24.760 --> 01:19:29.760
And again 50 GB these things so we can define some resources

01:19:30.920 --> 01:19:37.020
Xcpo with a memory disk storage. We can restrict it by using a quarter as one quota

01:19:37.560 --> 01:19:45.840
Second one is it will also restrict the numbers that in this namespace the team cannot create more than 10 parts

01:19:45.840 --> 01:19:48.760
In this namespace cannot get more than 10 parts

01:19:48.960 --> 01:19:57.680
So we can define resource quotas both on resources as well as the number of objects what could be created in that namespace

01:19:58.800 --> 01:20:00.680
So very special namespace

01:20:01.400 --> 01:20:03.440
the namespace resource quota is all about

01:20:05.820 --> 01:20:07.260
Managing resources

01:20:08.240 --> 01:20:11.400
Example, this is my use case. There are two teams

01:20:11.400 --> 01:20:15.380
So now I want to allocate like this

01:20:15.380 --> 01:20:21.740
So I define a resource quota that you cannot go beyond this because there's a requirement for both of the work

01:20:22.740 --> 01:20:26.240
So I had to be careful when you work for production because in live environment

01:20:26.240 --> 01:20:32.160
It could be more users keep on coming in. So I had to be very careful in define resource quotas on your live

01:20:32.160 --> 01:20:37.880
But for testing you can play around but for live very very very careful because because of the resource quotas

01:20:37.880 --> 01:20:39.480
They cannot create some resources

01:20:40.440 --> 01:20:45.360
So for production you might want to say complete or you might want to be careful

01:20:45.380 --> 01:20:46.280
to restrict it

01:20:47.460 --> 01:20:50.580
Yeah, so let's do this lab

01:20:51.100 --> 01:20:55.980
The second part will explain and I want to do yourself. Okay

01:20:55.980 --> 01:21:00.920
Now I am creating a namespace and in this namespace I want to restrict the resources

01:21:01.840 --> 01:21:05.780
So what I do I would create a resource quota

01:21:07.400 --> 01:21:09.500
then resources and

01:21:09.500 --> 01:21:17.460
Then apply while applying it and mention the namespace so this resource quota applies on this namespace. Now going further I

01:21:18.380 --> 01:21:22.900
Will go ahead and get the resource quota and observe it. Now I create a pod

01:21:24.000 --> 01:21:26.280
First time this is within the limits

01:21:28.500 --> 01:21:32.620
So what does request means request means what you assigning it

01:21:34.340 --> 01:21:37.060
And limits means to what level it can go later

01:21:37.060 --> 01:21:40.060
It will work now

01:21:41.000 --> 01:21:43.240
I'll go again check

01:21:43.240 --> 01:21:46.000
Now what I do I'll again create one more pod

01:21:47.160 --> 01:21:48.820
Right now it is has

01:21:49.760 --> 01:21:51.740
Six and is used I only 400

01:21:52.760 --> 01:21:57.820
So now I'm asking for memory 700, but we have only 400. So you see this

01:21:58.800 --> 01:22:03.960
I'm asking for more it will not get created. You get an error message. I getting it everyone

01:22:04.820 --> 01:22:10.960
Let's see a documentation so let's me I just want to example first so that I do easy for to understand and then to go

01:22:10.960 --> 01:22:13.680
reverse I go to resource quotas and type it

01:22:14.700 --> 01:22:18.320
So resource quota defined by a resource quota object provides constraints

01:22:19.720 --> 01:22:21.840
So you can define it

01:22:22.640 --> 01:22:23.200
for

01:22:23.200 --> 01:22:25.600
limits or

01:22:25.600 --> 01:22:29.920
Request request in Asia and limit system maximum where it can go

01:22:30.720 --> 01:22:33.960
We can do it for storage we can define it for

01:22:35.060 --> 01:22:41.080
Objects numbers that don't create more than three pods four pods like this we can define and we can define for all these

01:22:41.640 --> 01:22:42.720
config maps

01:22:42.720 --> 01:22:44.520
We can define for pods

01:22:44.520 --> 01:22:49.580
We can define for resource quotas services for all these things

01:22:50.700 --> 01:22:56.980
So very brief these are important wanted you remember we normally define the source quotas for number of pods

01:22:56.980 --> 01:23:01.660
We define this was quest resource for CPU memory all these are important ones

01:23:03.720 --> 01:23:04.400
Yep

01:23:05.240 --> 01:23:10.900
Understood the use of resource quota now start those

01:23:15.660 --> 01:23:20.500
It is across the cluster namespace cluster yes

01:23:22.600 --> 01:23:25.520
Example if you observe this output what we ran

01:23:26.980 --> 01:23:35.180
In here you see that the namespace of this your cube system it is across master and all the nodes getting it

01:23:37.180 --> 01:23:44.260
So namespace is part it is not this you and know it is for the cluster here, okay, please do the lab

01:23:44.980 --> 01:23:46.780
You're okay to do the lab yourself

01:23:48.500 --> 01:23:50.320
If do the remaining one

01:23:50.320 --> 01:23:53.280
Do till here complete it let me know if any questions

01:23:53.280 --> 01:23:57.580
I'm checking for the lab the backend issues complete this let me check what is happening in the back

01:24:29.200 --> 01:24:30.600
I

01:24:30.600 --> 01:24:35.220
but anything that there is something that I mean let's just do this okay I can okay

01:24:35.220 --> 01:24:45.020
before I can ask what do you want to talk about yeah I'm back

01:24:48.060 --> 01:24:53.660
uh Charles are you clear what to do the lab you're good okay yeah yeah so I'm

01:24:53.660 --> 01:24:57.840
checking what could be done for your question you can ask me and help you out

01:25:09.820 --> 01:25:10.400
you

01:25:10.400 --> 01:25:20.360
okay team uh can you all uh excuse me everyone so on your work of one remember this is the

01:25:20.360 --> 01:25:27.880
work of one which we use for your docker lab correct everyone so we do a ls you see additional

01:25:27.880 --> 01:25:37.780
files are there word project 1 and snap are getting it so do a ls and you see some files

01:25:37.780 --> 01:25:55.020
so many files are there you see some files so let's remove some folders so I can say

01:25:55.020 --> 01:25:57.900
rm hyphen word

01:25:59.920 --> 01:26:07.900
we can also see rm hyphen rf snap and also remove this project one

01:26:09.800 --> 01:26:13.720
because the space consume because the same mission we can still extend but I just want

01:26:13.720 --> 01:26:16.780
to ensure that before we do this remove the folders

01:26:19.860 --> 01:26:26.400
rm minus rf and the names of the folders are you good

01:26:27.020 --> 01:26:30.540
project one snap and word we can remove it

01:26:31.820 --> 01:26:34.960
and then check on the master does it improve

01:26:59.500 --> 01:27:00.900
you

01:27:40.300 --> 01:27:44.120
have it done remove the additional folders that's fine that's fine

01:27:44.120 --> 01:27:49.900
will it look little that's fine just remove the real folders word snap one and project one

01:27:51.720 --> 01:27:56.880
okay so namespace lab that quota lab is done okay ck uh you want to remove the

01:27:56.880 --> 01:28:01.880
folder rf one okay good did you get it so now let's do together one more lab

01:28:02.500 --> 01:28:09.240
in uh namespace quotas together now so now next lab link is there on

01:28:09.240 --> 01:28:18.320
lab one this is done done go down let's do this lab together you tell me what happening

01:28:18.320 --> 01:28:24.120
this lab I want you to answer this please what is happening in this lab this is a browser the

01:28:24.120 --> 01:28:32.420
link and please let me know what what exactly is happening in this lab anyway yes that's it

01:28:32.420 --> 01:28:35.680
so in this we're trying to do deployment not talked about it we'll do this later

01:28:35.680 --> 01:28:41.760
so what we'll now do is we'll just apply this and try to manually create a port in the same namespace

01:28:42.340 --> 01:28:49.880
do manual method okay so go ahead and do this one don't the deployment method do a manual

01:28:49.880 --> 01:28:55.980
method because it's still not learned that method so for example I create a namespace

01:28:55.980 --> 01:29:02.220
so for example has home namespaces so I want to apply it on test namespace so I'll say

01:29:02.220 --> 01:29:07.020
resource quota dot yaml and I paste the yaml file

01:29:14.960 --> 01:29:16.400
and now

01:29:17.240 --> 01:29:22.060
while applying it be careful you have to apply the specific resource quota the namespace

01:29:25.340 --> 01:29:29.900
namespace equals to test any any namespace whichever you want

01:29:31.200 --> 01:29:34.400
to get resource quotas

01:29:36.880 --> 01:29:38.560
and you can also see

01:29:41.740 --> 01:29:45.520
202 so you can save port one

01:29:54.240 --> 01:29:55.360
create one more port

01:29:57.900 --> 01:29:59.240
the same namespace

01:30:01.300 --> 01:30:06.120
particularly third part it must give you an error message

01:30:16.860 --> 01:30:17.380
so

01:30:21.800 --> 01:30:26.220
small example in the dog that link they give me for deployment not talk about deployment

01:30:26.220 --> 01:30:32.280
in which I can get multiple copies in a manual one so you can use any namespace try to create

01:30:33.160 --> 01:30:37.440
do not get third one because mention the numbers that not more than two

01:30:37.440 --> 01:30:43.160
are we good so this is how we can restrict the resources as well as the numbers

01:30:43.160 --> 01:30:49.000
on a specific namespace good uh i'll wait for you

01:31:15.420 --> 01:31:16.820
you

01:31:49.320 --> 01:31:50.080
so

01:31:50.080 --> 01:31:56.660
yeah you're good and you're one second your namespace is test it is equals to

01:31:56.800 --> 01:31:59.100
one and high enough an image

01:32:01.120 --> 01:32:06.240
use our power again and the same command make it to two again try third one very good it is

01:32:06.240 --> 01:32:15.120
equal equals no colon not there under before engine x yeah that's equal they still have an

01:32:15.840 --> 01:32:20.960
or namespace namespace yeah then okay fine what happened did I play the quota you're

01:32:21.120 --> 01:32:28.240
small mistake do control c do apparel use apparel type in apparel apparel once more

01:32:28.840 --> 01:32:31.720
once more you see a space is there before

01:32:34.780 --> 01:32:43.360
it's now done it again once again let's do a different name okay that's fine yeah now do

01:32:43.650 --> 01:32:52.210
get part four is the next step do it get parts fine so we use a different name properly

01:32:53.670 --> 01:33:01.670
the test pod one three start from four now because we made a mistake we did not get created

01:33:05.890 --> 01:33:12.410
do a four five six first do a four check that the property gets created first do a get parts

01:33:13.650 --> 01:33:20.730
i can see it do you see the output is running i can see ck type it clear please type in clear

01:33:22.370 --> 01:33:27.410
parts enter what happened no no no no you're supposed to mention that namespace

01:33:30.270 --> 01:33:37.010
let me see doing from that time okay sorry uh get parts no no no get parts this is

01:33:39.350 --> 01:33:45.670
again refresh so you're getting greater the same command what you ran before just run the

01:33:45.670 --> 01:33:53.710
same command and see you just got created before no no no okay fine do fine do fine yeah

01:33:54.370 --> 01:34:02.650
yeah yes yes the mistake are we good okay fine this is about your namespace any questions

01:34:02.650 --> 01:34:11.490
everyone now let's go and delete this there's only parts let's delete the parts which is in

01:34:11.490 --> 01:34:26.990
here so say delete parts and mention uh hyphen hyphen namespace equal to q hyphen system

01:34:30.330 --> 01:34:35.150
okay so you can say delete parts hyphen hyphen all

01:34:38.550 --> 01:34:40.990
run this command let me get the command to chat

01:34:43.070 --> 01:34:48.490
use all and also also the namespace because

01:34:49.050 --> 01:34:54.330
let's go here's the thing so that the process will come up now build this command

01:34:55.370 --> 01:34:56.810
and now when you

01:35:00.430 --> 01:35:11.010
see all namespaces hyphen both wide and uh your webnet must be good now let's wait

01:35:11.870 --> 01:35:15.230
just trying to refresh okay

01:35:19.390 --> 01:35:22.970
okay and also delete the parts in your default namespace

01:35:28.070 --> 01:35:29.810
run both these commands

01:35:31.950 --> 01:35:35.770
and then check in this command so that we are good now whether

01:35:37.630 --> 01:35:42.730
you see it is running now whenever you do something delete it because

01:35:42.750 --> 01:36:00.370
space sometimes and you don't extend the storage are we good now is everything running now

01:36:03.350 --> 01:36:04.030
you see there

01:36:11.410 --> 01:36:11.890
it's gone

01:36:17.390 --> 01:36:17.870
okay

01:36:21.770 --> 01:36:26.510
yeah these two you can skip but others you can find okay let's proceed

01:36:30.310 --> 01:36:33.310
that's fine the last one is crashed that's fine we're talking about the main command

01:36:33.970 --> 01:36:39.170
the main is important the main master everything is running others that's fine because you're

01:36:39.170 --> 01:36:46.010
terminating this point the main ones are running fine okay so because of the storage issue

01:36:47.430 --> 01:36:54.350
the next topic is pods let me now talk about the parts what are parts the parts are inside

01:36:54.350 --> 01:37:02.430
the namespace the parts are inside this is your namespace and inside this is your part

01:37:02.430 --> 01:37:08.250
the part i have two content for example it looks something like this a part can have one

01:37:08.250 --> 01:37:15.390
container or multiple containers the example of a node in which you see that it has multiple

01:37:17.630 --> 01:37:23.830
parts through a single container or multiple container let me let me maximize this so when

01:37:23.830 --> 01:37:30.210
you see this diagram this is your node for example the node has one container or multiple

01:37:30.210 --> 01:37:34.230
parts you can have this is our node looks yeah this is your node like a worker node

01:37:34.230 --> 01:37:38.050
and your one how many parts we have in this how many parts we have in this diagram four

01:37:38.050 --> 01:37:44.490
parts and this part has one container there's a two containers some storage so normally you

01:37:44.490 --> 01:37:49.210
can use the outside and these are three parts two country containers so they all use the

01:37:49.210 --> 01:37:55.410
same ip this could be on port 80 this could be on port 8080 this could be on port 8000

01:37:56.590 --> 01:38:03.970
so all the containers in the part they use the same ip but exports on different port numbers

01:38:03.970 --> 01:38:07.750
so we are different types of part we can configure let's see we can have two containers

01:38:07.750 --> 01:38:12.910
in here could it tell me why are you using two containers why not one why are you talking

01:38:12.910 --> 01:38:18.210
about two containers why not one what is the use case by talking to containers so this is an

01:38:18.210 --> 01:38:25.390
example of a website this hosted so if a node the storage is the volume is on the node

01:38:25.390 --> 01:38:32.750
i have two containers which is file pull on the web server now what is this using this for a

01:38:32.750 --> 01:38:40.690
website it is facing the customer website and this is what it does it gets in some images

01:38:40.690 --> 01:38:47.450
from internet and downloads the images from internet and save this in the shared volume

01:38:47.450 --> 01:38:52.990
now same volume is shared across the other container it picks up the images what has

01:38:52.990 --> 01:39:00.170
been done and it will show in the website getting it everyone so any part remember that

01:39:00.170 --> 01:39:04.970
there will be one main application other one would be helping the main application

01:39:05.750 --> 01:39:12.090
because if this continuous need to do both the work it might be slow performance issues

01:39:12.850 --> 01:39:18.690
so we use multiple containers in a part where we have one would be a main other would be

01:39:18.690 --> 01:39:25.170
the other containers and they can have in a common data to be shared using a volume

01:39:25.810 --> 01:39:31.050
this is how the port works it's not a mandate that you have two port two containers could

01:39:31.050 --> 01:39:37.390
have one two three it's up to you but we do not want to mix multiple applications in one

01:39:37.390 --> 01:39:42.530
for example in this example i have a shared volume with my one other one is

01:39:43.520 --> 01:39:45.660
used for log saving the logs

01:39:47.160 --> 01:39:51.900
we can have something like this in which i have the main application there's a proxy

01:39:52.480 --> 01:39:57.360
so whenever it has to go to outside world it goes through a proxy and i'm not installing

01:39:57.360 --> 01:40:03.600
proxy agent inside in a separate container we could also have in some like this so i'm

01:40:03.600 --> 01:40:10.540
having monitoring agent inside this this is going to get in all the information and push it

01:40:11.500 --> 01:40:19.740
with the log tools monitoring tools so we separate containers for making the work much

01:40:19.740 --> 01:40:28.220
more easy in which you have main one yeah so question for you so can i have in a pod

01:40:29.080 --> 01:40:37.280
both a web and database is a good use case in a pod is a good practice to have both

01:40:37.280 --> 01:40:41.540
application and database in the same part what do you think and even tomorrow for example you

01:40:41.540 --> 01:40:45.600
won't give access to someone you give access to a pod correct for example your developer

01:40:46.480 --> 01:40:52.880
friend and developer you give access to a pod now the he's also getting access database

01:40:52.880 --> 01:40:56.780
getting understanding this yes no so you cannot give access database for a friend and

01:40:56.780 --> 01:41:01.280
developer are getting it because his work is only for writing the code the friend and

01:41:01.280 --> 01:41:07.960
backing so always do not mix multiple things so make it very simple we have

01:41:07.960 --> 01:41:12.920
one main application then the other containers inside and they get an ip using the cni now

01:41:13.940 --> 01:41:21.800
let's do this no good okay fine now let's do the lab two i'll explain this so lab two

01:41:21.800 --> 01:41:28.720
we can create a pod simple example one name you can do the nginx or you can also use

01:41:29.360 --> 01:41:34.400
or you can use htpd so you can if you find it difficult that you can also use one more image

01:41:34.400 --> 01:41:43.060
which is htpd any image you can use so i'm trying to create a pod and then seeing the

01:41:43.060 --> 01:41:48.920
yaml field of it sometimes you might want to find the pod id use the syntax you replace

01:41:48.920 --> 01:41:53.880
the pod name the pod name what it created let's play around this let's play around with

01:41:54.660 --> 01:41:58.480
command get a different part and get the pod id

01:42:25.980 --> 01:42:34.020
give any name and you can also give a different image name and get the pods

01:42:41.400 --> 01:42:42.740
it's running

01:42:46.420 --> 01:42:51.740
pod and the pod name hyphen o and yaml

01:42:53.880 --> 01:42:56.920
and see the content whatever you want to see in the yaml you can observe it

01:43:01.560 --> 01:43:03.800
and also find the pod id play around

01:43:09.840 --> 01:43:14.680
charles what you do is do a get pod the pod name hyphen o yaml

01:43:16.220 --> 01:43:22.620
hyphen o hyphen small o hyphen hyphen o space yaml yaml

01:43:25.320 --> 01:43:30.220
and so now you can see the configuration in the yaml format so when you want to know what

01:43:30.220 --> 01:43:35.800
exactly is in here you can go ahead and see the details of the pod what are the fields what

01:43:35.800 --> 01:43:46.140
what does the detail have yeah yeah yeah okay try to get the pod id get the pod id modify

01:43:46.140 --> 01:43:52.280
the name of the pod name in the next one with this in this command replace your pod

01:43:52.280 --> 01:44:01.120
name with the pod what it created and copy it and run that command replace the pod name

01:44:01.120 --> 01:44:16.280
with the your name name of the pod so this is your pod id sometimes when you do some

01:44:16.280 --> 01:44:20.880
operation you might require a pod id this is how we get in the information using a JSON

01:44:20.880 --> 01:44:30.360
path i think any questions team of nine spaces resource pod task and the pods what it will

01:44:30.360 --> 01:44:36.260
tell now any questions okay so is it 12 30 this is your lunch time correct will be 45 minutes

01:44:36.260 --> 01:44:40.240
or you need one hour break whatever you are saying how much time required one hour or 45

01:44:40.240 --> 01:44:50.360
minutes okay so you have to cook and eat is that okay no problem at this one hour is okay

01:44:50.360 --> 01:44:57.920
everyone yeah more than more than happy yes are there any questions team so are we doing good

01:44:57.920 --> 01:45:02.600
are you understanding the concepts are you comfortable now with using the commands and

01:45:02.600 --> 01:45:09.720
not getting the hang of how do you run the commands are we good okay okay all right uh so

01:45:09.720 --> 01:45:16.580
we'll be back by uh your time 130 okay break till 1 30 p.m you can also come early and

01:45:16.580 --> 01:45:23.240
practice also your wish yeah break to 1 30 p.m catch you remind me to start the recording

01:45:23.240 --> 01:45:27.160
some something forget to start the recording once you come in case you forget it

01:45:27.160 --> 01:45:34.800
please remind me i'm right now pausing the recording thank you thank you

01:45:59.300 --> 01:46:00.700
you

01:46:29.300 --> 01:46:30.700
you

01:46:59.580 --> 01:47:00.980
you

01:47:29.300 --> 01:47:30.700
you

01:47:59.300 --> 01:48:00.700
you

01:48:29.300 --> 01:48:30.700
you

01:48:59.580 --> 01:49:00.980
you

01:49:29.300 --> 01:49:30.700
you

01:49:59.300 --> 01:50:00.700
you

01:50:29.300 --> 01:50:30.700
you

01:50:59.300 --> 01:51:00.700
you

01:51:29.300 --> 01:51:30.700
you

01:51:59.300 --> 01:52:00.700
you

01:52:18.720 --> 01:52:20.120
you