1
00:00:00,000 --> 00:00:08,600
Hi, Let us understand how to install minikube and make use of it to learn

2
00:00:08,600 --> 00:00:14,633
helm, as you all know, helm is a package manager for given its application, I need a kubernetes

3
00:00:14,633 --> 00:00:19,499
environment to learn and test, given its application using helm.

4
00:00:19,500 --> 00:00:21,166
I can have my own cluster.

5
00:00:21,166 --> 00:00:27,566
or I can go ahead and do the installation of minikube so that the entire environment for kubernetes

6
00:00:27,566 --> 00:00:33,232
will be available in a single click and Minikube can be installed in any of the operating systems

7
00:00:33,233 --> 00:00:36,099
like Linux, MacOS or Windows

8
00:00:36,100 --> 00:00:44,400
Here I am going to demonstrate how to do the installation of Minikube and start using helm with minikube.

9
00:00:44,400 --> 00:00:46,600
Minikube leverage is the virtualization environment.

10
00:00:46,600 --> 00:00:53,466
In our case, it will be using the virtual box and the detailed steps of how to do the installation

11
00:00:53,466 --> 00:00:57,932
of minikube is available over here and installation is very simple where

12
00:00:57,933 --> 00:01:00,866
It needs to have the following requirements.

13
00:01:00,866 --> 00:01:06,532
That is in terms of the hyper V and the virtualization should be enabled within the laptop and almost

14
00:01:06,533 --> 00:01:09,999
all the laptops nowadays comes with this particular feature.

15
00:01:10,000 --> 00:01:15,033
If it is not enabled, that needs to be enabled within the BIOS and there are a lot of instructions

16
00:01:15,033 --> 00:01:16,966
available over the Google.

17
00:01:16,966 --> 00:01:22,299
And along with this, we need to have a virtualization environment like the virtual box or VM ware

18
00:01:22,300 --> 00:01:27,600
In my case, I already do have the virtual box and I can download the installation for

19
00:01:27,600 --> 00:01:29,700
minikube from this specific location.

20
00:01:29,700 --> 00:01:34,800
The installation can be downloaded as a executable, so once it is downloaded, I can go ahead

21
00:01:34,800 --> 00:01:38,766
and do the installation, by executing the executable automatically

22
00:01:38,766 --> 00:01:44,699
It's going to do all the requirement check as well as the configuration changes. The requirement check

23
00:01:44,700 --> 00:01:50,133
It's going to check whether the hyper V is  enabled and virtual box is installed or not and virtual

24
00:01:50,133 --> 00:01:52,333
box installation is also very simple.

25
00:01:52,333 --> 00:01:58,233
In a single flake, I can execute the executable and get the installation done. Once the installation

26
00:01:58,233 --> 00:02:02,366
is done I should be in a position to get the status about the minikube.

27
00:02:02,366 --> 00:02:04,132
I'm going to work in this specific location.

28
00:02:04,133 --> 00:02:07,833
Let me go ahead and open the power shell. I can directly

29
00:02:07,833 --> 00:02:10,966
Open the power shell by clicking shift and right clicking.

30
00:02:10,966 --> 00:02:12,966
I do have the option or otherwise I

31
00:02:12,966 --> 00:02:17,666
can open the power shell in any location and get into that specific directory.

32
00:02:17,666 --> 00:02:19,432
Always I prefer to work with power shell

33
00:02:19,433 --> 00:02:22,599
the reason because few of the commands or the script

34
00:02:22,600 --> 00:02:27,500
Execution works better in power shell rather than in the command prompt.

35
00:02:27,500 --> 00:02:36,700
And once the installation is done within the environmental variables

36
00:02:36,700 --> 00:02:40,433
power of advanced settings, environmental variables

37
00:02:40,433 --> 00:02:42,533
I can check the path.

38
00:02:42,533 --> 00:02:46,999
So it's going to add the location where minikube is installed as a part of the path

39
00:02:47,000 --> 00:02:52,766
So it should understand the command minikube from any location, if it is not, you can go ahead and

40
00:02:52,766 --> 00:02:59,799
add them. I can provide the command minikube.

41
00:02:59,800 --> 00:03:04,533
So once it provides the help option, that means minikube installation is good

42
00:03:04,533 --> 00:03:14,066
I can go ahead and check the status about the minikube, minikube status

43
00:03:14,066 --> 00:03:17,232
So it's in the stopped state, so automatically what it will do

44
00:03:17,233 --> 00:03:23,033
It will start the required components, that is API server, Kubelet, Kube configurations, everything

45
00:03:23,033 --> 00:03:30,866
will be done in a single system so that I can use that specific single system for all the needs of kubernetes

46
00:03:30,866 --> 00:03:36,299
So all the components required for kubernetes to run will be executed in a single system.

47
00:03:36,300 --> 00:03:40,333
And that can be used for trial or test purpose.

48
00:03:40,333 --> 00:03:41,999
Now I am going to start the minikube

49
00:03:42,000 --> 00:03:47,200
I need to provide what driver to use and in my case I have installed a virtual box.

50
00:03:47,200 --> 00:03:49,900
So I am going to use virtual box as the driver.

51
00:03:49,900 --> 00:03:51,366
I will give the command.

52
00:03:51,366 --> 00:04:00,866
minikube  start  driver=virtualbox

53
00:04:00,866 --> 00:04:03,999
So it will create a VM with in the virtual box.

54
00:04:04,000 --> 00:04:09,366
I don't need to worry about working on that specific VM into the virtual box automatically, it's going

55
00:04:09,366 --> 00:04:10,666
to create the virtual box

56
00:04:10,666 --> 00:04:14,232
Download the required image and get that image started.

57
00:04:14,233 --> 00:04:17,099
First time when it is downloading, it's going to take more time.

58
00:04:17,100 --> 00:04:22,233
And once the images available, next time, it's going to just start the virtual box.

59
00:04:22,233 --> 00:04:24,633
So it should get started faster.

60
00:04:24,633 --> 00:04:30,199
So the minikube command automatically, it will configure the required components in terms of downloading

61
00:04:30,200 --> 00:04:36,100
the right virtual box images and preparing the kubernetes and docker within it.

62
00:04:36,100 --> 00:04:41,200
Once the download is done, it's going to enable all the required components in terms of the dashboards,

63
00:04:41,200 --> 00:04:46,700
storage class provisioner and it's going to configure the kubectl so that it can work with minikube.

64
00:04:46,700 --> 00:04:49,866
Now I do have the installation good.

65
00:04:49,866 --> 00:04:55,599
Now let me test whether the kubectl is configured properly or not by issuing the command kubectl

66
00:04:55,600 --> 00:05:01,700
get all that's going to provide me the required service that is running within the kubernetes.

67
00:05:01,700 --> 00:05:05,300
And this confirms the kubectl is configured.

68
00:05:05,300 --> 00:05:08,066
As well as minikube is also working fine.

69
00:05:08,066 --> 00:05:11,532
I can go ahead and deploy whatever the components that are required.

70
00:05:11,533 --> 00:05:18,333
And one other important component that will be very useful for many Kube understanding is dashboard.

71
00:05:18,333 --> 00:05:24,766
That's going to provide the bigger picture of what are all the components running within the kubernetes environment.

72
00:05:24,766 --> 00:05:31,432
I can issue the command minikube dashboard.

73
00:05:31,433 --> 00:05:37,433
So that's going to provide me the dashboard on the minikube on what are all the nodes running and

74
00:05:37,433 --> 00:05:43,499
what are the volumes and different workloads in terms of parts, jobs, deployments, daemon sets,

75
00:05:43,500 --> 00:05:46,500
everything will be available in a single dashboard.

76
00:05:46,500 --> 00:05:48,066
Say, for example, within nodes

77
00:05:48,066 --> 00:05:49,966
I will be having only one node

78
00:05:49,966 --> 00:05:54,932
And details on what is the memory, CPU utilization other details will be available.

79
00:05:54,933 --> 00:05:56,566
The same way I can check

80
00:05:56,566 --> 00:05:58,632
What are all the pods available

81
00:05:58,633 --> 00:06:06,133
I will be making use of this specific dashboard to understand the different components that got deployed using helm.

82
00:06:06,133 --> 00:06:11,399
In a quick summary we learnt about how to do the installation of minikube and make it ready so that

83
00:06:11,400 --> 00:06:15,533
we can use it with helm to try out our chart deployments.

