1
00:00:00,640 --> 00:00:03,670
This is the solution video for the name Spacelab.

2
00:00:06,520 --> 00:00:11,590
So for the first question, we have to find out the number of new species that exist on this cluster.

3
00:00:12,740 --> 00:00:20,570
So to find this, will Ron Cukier get a. which is short for namespace and this also princi header,

4
00:00:20,570 --> 00:00:24,050
so to remove that will use Dashty no headers.

5
00:00:25,100 --> 00:00:26,330
And let's run.

6
00:00:27,480 --> 00:00:34,450
I would count myself and you can see that there are in total ten new spaces created.

7
00:00:39,500 --> 00:00:42,320
How many parts exist in the same space?

8
00:00:44,700 --> 00:00:51,010
To find this, we run the gamut cube, kill, dash and research, which is named space research.

9
00:00:51,330 --> 00:00:52,260
Get pods.

10
00:00:53,560 --> 00:01:00,520
And again, we'll use the dash dash generators again, see that there are two parts running in the research

11
00:01:00,520 --> 00:01:07,040
namespace now create a part in the finance namespace and expec is on the right.

12
00:01:07,060 --> 00:01:12,210
So we have to make use of the name Securitas and image is equal to this as well.

13
00:01:16,620 --> 00:01:26,160
So let's run Kubek till the end or let's run, still run Gradus dash dash image is equal to Ridder's.

14
00:01:27,300 --> 00:01:30,720
And we'll make use of the dash to try Iran is equal to client.

15
00:01:32,720 --> 00:01:37,220
And we'll use Dasch Oyamel and redirected to a Port Kembla file.

16
00:01:37,580 --> 00:01:41,540
Now let's open this file and in here we'll add the namespace.

17
00:01:42,630 --> 00:01:50,120
Is equal to finance support definition five ready were created using cutesie to apply dush f documents.

18
00:01:50,820 --> 00:01:55,200
And the report has been created to verify will run capacity and finance.

19
00:01:55,200 --> 00:02:00,870
Get Pott's or portraitist and you can see that the part is up and running.

20
00:02:05,120 --> 00:02:10,390
So the next question you have to find out which namespace has the port called blue in it.

21
00:02:13,650 --> 00:02:22,110
So let's try to get Potts, Dash, dash all names, faces to print out the parts in all namespace and

22
00:02:22,110 --> 00:02:23,340
will grab for blue.

23
00:02:23,790 --> 00:02:29,760
And here we can see from the first column that the blue part is and is in the marketing namespace.

24
00:02:34,600 --> 00:02:38,530
Access the blue web application using the link above your terminal.

25
00:02:39,190 --> 00:02:43,210
So let's go back to the terminal and click on the blue application.

26
00:02:45,470 --> 00:02:52,560
So this opens up a connectivity chaker the click on OK, to proceed to the next question, what DNS

27
00:02:52,580 --> 00:02:58,910
name should the blue application use to access the database, DVD service and its own namespace?

28
00:03:00,340 --> 00:03:07,180
So we know that the applications and the marketing names, so we are trying to access the database called

29
00:03:07,230 --> 00:03:13,330
the service, which is in the same namespace, and we can test it from the application.

30
00:03:13,330 --> 00:03:15,580
You are using both three three zero six.

31
00:03:18,220 --> 00:03:21,400
So let's take it out on DVD service.

32
00:03:23,180 --> 00:03:28,670
With just the name debate service and you have to specify the three three zero six.

33
00:03:32,340 --> 00:03:34,930
And if he tests, we'll see that it is successful.

34
00:03:34,950 --> 00:03:43,770
So since it isn't the same namespace, you can reach it by the name of the service and this is something

35
00:03:43,770 --> 00:03:45,800
you can verify or learn about.

36
00:03:45,810 --> 00:03:48,350
And the associated lecturer as well.

37
00:03:49,860 --> 00:03:52,830
So the answer in this case should be DVD service.

38
00:03:55,580 --> 00:04:01,310
What business name should the blue application use to access the database DBI, that service in the

39
00:04:01,550 --> 00:04:01,800
names?

40
00:04:01,970 --> 00:04:07,400
So in this case, we are trying to reach the service, which is in a different namespace called DEF.

41
00:04:09,140 --> 00:04:10,910
So let's try that out again.

42
00:04:14,600 --> 00:04:21,050
But first, let's validate the service which is running in their name space so we can see that there

43
00:04:21,050 --> 00:04:23,690
is a service by the same name to the service.

44
00:04:27,230 --> 00:04:32,780
So from the lecture, we know that in order to access a service in a different namespace, you have

45
00:04:32,780 --> 00:04:38,210
to provide the fully qualified name along with the name of the namespace.

46
00:04:41,010 --> 00:04:44,100
So in this case, it should be the service.

47
00:04:45,840 --> 00:04:53,010
Dot def and the fully qualified domain name of the cluster, which is is Fessey Cluster dot local.

48
00:04:53,040 --> 00:04:54,090
So let's test that.

49
00:04:54,090 --> 00:04:56,870
And as long as that's successful, that is our answer.

50
00:04:59,460 --> 00:05:00,960
So that's the last question.

51
00:05:00,990 --> 00:05:02,580
Thank you for joining me in this video.
