1
00:00:04,970 --> 00:00:08,100
And no, let's apply both configuration files.

2
00:00:08,100 --> 00:00:09,660
This one and this one.

3
00:00:10,620 --> 00:00:12,720
Let's go to the terminal and verify that.

4
00:00:12,720 --> 00:00:14,460
Now, we don't have any deployments.

5
00:00:14,500 --> 00:00:14,800
Okay.

6
00:00:14,820 --> 00:00:16,290
Get deployed.

7
00:00:18,230 --> 00:00:21,410
No deployments at the moment and no services.

8
00:00:23,110 --> 00:00:26,620
And no less deploy everything using just a single command.

9
00:00:26,980 --> 00:00:31,660
Now I am still inside of the k8s web two engine x folder.

10
00:00:31,680 --> 00:00:37,180
Let's go one level up where our YAML configuration files are located.

11
00:00:38,340 --> 00:00:39,390
Here they are.

12
00:00:40,020 --> 00:00:42,270
This one and this one.

13
00:00:42,330 --> 00:00:44,280
And let's apply them.

14
00:00:44,400 --> 00:00:46,380
K apply this.

15
00:00:46,380 --> 00:00:48,900
F here will be first file.

16
00:00:50,020 --> 00:00:53,670
Here was its name and we could also apply one more file.

17
00:00:53,680 --> 00:00:54,520
There's F.

18
00:00:55,390 --> 00:00:56,020
Thanks.

19
00:00:57,190 --> 00:00:57,910
Like that.

20
00:00:59,000 --> 00:01:03,380
Let's go ahead and create both deployments and both services.

21
00:01:04,970 --> 00:01:06,470
Service created.

22
00:01:06,470 --> 00:01:09,860
Deployment created, service created and deployment created.

23
00:01:10,220 --> 00:01:13,280
Let's check deployments get deployed.

24
00:01:14,030 --> 00:01:17,120
There are now two deployments, this one and this one.

25
00:01:17,690 --> 00:01:19,250
Partially they are ready.

26
00:01:20,050 --> 00:01:21,730
Okay, get SVC.

27
00:01:21,770 --> 00:01:24,380
Let's read information about services.

28
00:01:24,470 --> 00:01:27,830
There are two services which were created.

29
00:01:27,860 --> 00:01:37,460
This one which has type load balancer and engine, which has type cluster IP that we will connect from

30
00:01:38,000 --> 00:01:45,530
this web to engine deployment to engine deployment using this name for the service.

31
00:01:46,010 --> 00:01:51,740
Or we could also utilize cluster IP in order to connect from one deployment to another.

32
00:01:51,740 --> 00:01:53,940
But cluster IP is dynamic.

33
00:01:53,960 --> 00:01:56,210
This service name is static.

