MiniKube Installation and configuration on Windows with Docker As a Driver

what is minikube?      Minikube is a tool that sets up a local Kubernetes environment on a laptop or PC.      It's a lightweight Kuberne...




what is minikube?

    Minikube is a tool that sets up a local Kubernetes environment on a laptop or PC.
    It's a lightweight Kubernetes implementation that creates a virtual machine (VM) on the local machine and deploys a simple cluster with one node.
    Minikube is designed to simplify and streamline Kubernetes development, making it accessible for developers of all levels.
    Minikube can be used for daily development work or to try out Kubernetes. Once Minikube is working, it can be used to run a sample application. The Minikube CLI provides basic bootstrapping operations for working with the cluster, including start, stop, status, and delete. 

Minikube's key features

  • Platform-agnostic: Supports Windows, macOS, and Linux.
  • Efficient resource utilization: Ensures that developers with resource-constrained machines can create local Kubernetes clusters.
  • Support: Supports the latest Kubernetes release and up to six previous minor versions.
  • Deployment: This can be deployed as a VM, container, or on bare metal.

To install MiniKube on Windows use the official link: https://minikube.sigs.k8s.io/docs/start/
Create the minikube folder inside the C folder and Download the Minikube-installer.exe file inside the minikube folder. Once downloaded, click the exe file and install it.




Once Installed try to add the path as environment variables for that we need to search and edit the system environment variables and click open the system properties.
  



Click Environment Variables Choose the Path option and click edit and now add the minikube path by clicking New and adding the path C:\minikube





Second option: Add the minikube.exe binary to your PATH.

After Installing the Minikube need to install Drivers for minikube, The available drivers for Windows are Docker, Hyper-V, VirtualBox, QEMU, None, PodMan, VMWare Workstation, SSH. To check the official Link for Linux and Mac Drivers (Driver Link)
We installed Docker as a Driver so we need to start the Docker and start the minikube with the driver

After installation, start a cluster using the Docker driver using the cmd prompt
Command:
minikube start --driver=docker  After adding the driver for the first time, we can use the below command here after to start the minikube Command: minikube start

To make docker the default driver:
Command: minikube config set driver docker we need to install Kubectl to connect the minikube and work with the K8s cluster

After starting the Minikube, need to check the cluster's Node and services by running the below Kubectl command. Command: kubectl get nodes                     kubectl get services


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,19,CNCF,8,Devops,37,linux,11,
ltr
item
Techie View: MiniKube Installation and configuration on Windows with Docker As a Driver
MiniKube Installation and configuration on Windows with Docker As a Driver
https://blogger.googleusercontent.com/img/a/AVvXsEgb9h5wKJYpYK4cG3x8tUxnRnnjbsHbWwNVL266_P0pva5GexsekTC9k_ZfBTXKrHz8p5O2IRtwlpu-5qyrEtKuBqbxxB2n7HICiAxBNgaDRSpMMdxCIUSntlFPGR9F-mDzdHfFIg3owTzt3LBHpbkwU2nOG5V-3zdX3nfHxDpbbhn_6lxWqwCE6EkbhlT2
https://blogger.googleusercontent.com/img/a/AVvXsEgb9h5wKJYpYK4cG3x8tUxnRnnjbsHbWwNVL266_P0pva5GexsekTC9k_ZfBTXKrHz8p5O2IRtwlpu-5qyrEtKuBqbxxB2n7HICiAxBNgaDRSpMMdxCIUSntlFPGR9F-mDzdHfFIg3owTzt3LBHpbkwU2nOG5V-3zdX3nfHxDpbbhn_6lxWqwCE6EkbhlT2=s72-c
Techie View
https://www.techiev.com/2024/07/minikube-installation-and-configuration.html
https://www.techiev.com/
https://www.techiev.com/
https://www.techiev.com/2024/07/minikube-installation-and-configuration.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