Kubernetes MiniKube Install and Run Basics Command
By- SANDEEP KUMAR PATEL
Minikube
Like kind, minikube is a tool that lets you run Kubernetes locally. minikube runs a single-node Kubernetes cluster on your personal computer (including Windows, macOS and Linux PCs) so that you can try out Kubernetes, or for daily development work.
minikube quickly sets up a local Kubernetes cluster on macOS, Linux, and Windows. We proudly focus on helping application developers and new Kubernetes users .
Note- This type setup is basically use for testing and learning purpose but real time production level we can’t use this structure.
Highlights
1.Supports the latest Kubernetes release (+6 previous minor versions)
2.Cross-platform (Linux, macOS, Windows)
3.Deploy as a VM, a container, or on bare-metal
4.Multiple container runtimes (CRI-O, containerd, docker)
5.Docker API endpoint for blazing fast image pushes
6.Advanced features such as LoadBalancer, filesystem mounts, and 7.FeatureGates
8.Addons for easily installed Kubernetes applications.
Minikube Install-
Minikube is local Kubernetes, focusing on making it easy to learn and develop for Kubernetes.
All you need is Docker (or similarly compatible) container or a Virtual Machine environment, and Kubernetes is a single command away
What you’ll need
- 2 CPUs or more
- 2GB of free memory
- 20GB of free disk space
- Internet connection
- Container or virtual machine manager, such as: Docker, Hyperkit, Hyper-V, KVM, Parallels, Podman, VirtualBox, or VMWare
Go to this link and this link is official website for minikune-
Install and Set Up kubectl on Windows
You must use a kubectl version that is within one minor version difference of your cluster. For example, a v1.21 client can communicate with v1.20, v1.21, and v1.22 control planes. Using the latest version of kubectl helps avoid unforeseen issues.
Now setup is downloaded and ready to install below the some pictures step by step installation
Open CMD command prompt but make sure command prompt is open as a administrator level Otherwise this is setup given the the problem is permission denied
In my case I am using commander command line interface
Get Start Minikube-
minikube start
Minicube start this command when we were fire at the time is taking sometime it’s depend on internet speed and system configuration so please be patient and wait for some time
Open command executed successfully at the time we have to check Oracle virtualbox inside the Oracle virtualbox one mini cube set up is install and run automatically
Now we can run all basic commands like
minikube status
Minikube version
Minikube IP
And some kubectl command also
Kubectl get pods
Kubectl run
Minikube dashboard
This command when we are inter at the time one web portal web UI open in this webUI page we can all all cubectl and command run and see output on the dashboard