How to install and setup the minikube on windows and running the Kubernetes pod.

  Minikube Installation:                          Before processing the Minikube Installation in windows we need the below requirements.   ...


 
Minikube Installation:
                    Before processing the Minikube Installation in windows we need the below requirements.
                    Create the minikube folder inside the windows machine Local disk C. now Download the Minikube-installer.exe file inside the minikube folder.

    To install the latest minikube stable release on x86-64 in Windows we need download .exe file using the below url    https://storage.googleapis.com/minikube/releases/latest/minikube-installer.exe

Once Downloaded, Click the exe file and install a normal windows application installation.

Once the application is Installed tried to add the path as environment variables, for that we need to search the edit the system environment variables in windows os and click open the system properties.


Click Environment Variables Choose the Path option and click edit.


Now add the minikube executable file path by clicking New and add the path C:\minikube Or if using PowerShell, using the command

New-Item -Path 'c:\' -Name 'minikube' -ItemType Directory -Force Invoke-WebRequest -OutFile 'c:\minikube\minikube.exe' -Uri 'https://github.com/kubernetes/minikube/releases/latest/download/minikube-windows-amd64.exe' -UseBasicParsing Add the minikube.exe binary to your PATH and Make sure to run PowerShell as Administrator. $oldPath = [Environment]::GetEnvironmentVariable('Path', [EnvironmentVariableTarget]::Machine) if ($oldPath.Split(';') -inotcontains 'C:\minikube'){ ` [Environment]::SetEnvironmentVariable('Path', $('{0};C:\minikube' -f $oldPath), [EnvironmentVariableTarget]::Machine) ` }

Install Kubectl:    The Kubectl is a command-line tool, It allows you to run commands against Kubernetes clusters. You can use Kubectl to deploy applications, inspect and manage cluster resources, and view logs. 
Now I need to install the Kubectl for that we need to download a package or use curl to install the package. To install the Kubectl package in windows, we need to use the below official document to download and install the package. 
   Now we need to create the Kubectl folder inside the Local Disk C:\ and open the path using the Command prompt and download the package using curl

1. Download the Package using Curl Command: curl -LO "https://dl.k8s.io/release/v1.25.0/bin/windows/amd64/kubectl.exe"
2. Validate the binary (optional) Download the Kubectl checksum file Command: curl -LO "https://dl.k8s.io/v1.25.0/bin/windows/amd64/kubectl.exe.sha256" 3. Validate the kubectl binary against the checksum file, Using Command Prompt to manually compare CertUtil's output to the checksum file
Command: CertUtil -hashfile kubectl.exe SHA256
type kubectl.exe.sha256

Now we need to add variables inside the environment variables
Once kubectl is installed we can to verify the installation by checking the version of kubectl with detailed one. command to verify: kubectl version --client
Once the Kubectl and minikube are installed, we need a Container or Virtual machine managers such as Docker, Hyper kit, Hyper-V, KVM, Parallels, Podman, VirtualBox, or VMware Fusion/Workstation. For Us going to Install the VMware for that we need to follow the below official download link https://minikube.sigs.k8s.io/docs/drivers/virtualbox/
https://www.virtualbox.org/wiki/Downloads
After installation, start a cluster using the Virtualbox using cmd prompt
Command : minikube start --driver=virtualbox Once Installed you can start the minikube and use the kubectl to manage the minikube.
We can start the minikube by running the below command Command: minikube start Checking with kubectl commands Command: kubectl get nodes kubectl get services
kubectl get pods Now we can able install and configure the minikube, kubectl in the windows machine and can able to create the pods and services.

----------------------------------------!!!! Happy Learning with Techiev !!!!!!!!----------------------------------
-------------------------Subscribe our Youtube Channel by clicking thebelow link---------------------- ----------------------------!!https://www.youtube.com/@techieview729!!---------------------






Name

AWS,9,Devops,19,linux,10,
ltr
item
Techie View: How to install and setup the minikube on windows and running the Kubernetes pod.
How to install and setup the minikube on windows and running the Kubernetes pod.
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0aYKUyv6eum-563iXA_oIoGiy3PZ9aCnn4qnLGsZ9ywBi4zERc82k2DDMv7XswKfhL8ZaAw7WAjO5GvLxuZ8jtXsKvg8BfnCZgBk1gsQ2ZIS44Eq5Vh8KBu5xuIMrpQLd_0EC7BPU6fjSnuCkuFQCZ8V1qXjTFhUDFVrwm89Kn2PkkxTH-lPfLpOx2A/w400-h300/minikube%20template.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0aYKUyv6eum-563iXA_oIoGiy3PZ9aCnn4qnLGsZ9ywBi4zERc82k2DDMv7XswKfhL8ZaAw7WAjO5GvLxuZ8jtXsKvg8BfnCZgBk1gsQ2ZIS44Eq5Vh8KBu5xuIMrpQLd_0EC7BPU6fjSnuCkuFQCZ8V1qXjTFhUDFVrwm89Kn2PkkxTH-lPfLpOx2A/s72-w400-c-h300/minikube%20template.png
Techie View
https://www.techiev.com/2023/01/how-to-install-and-setup-minikube-on.html
https://www.techiev.com/
https://www.techiev.com/
https://www.techiev.com/2023/01/how-to-install-and-setup-minikube-on.html
true
7013663511659419322
UTF-8
Loaded All Posts Not found any posts VIEW ALL View Full Article Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy