Installing Kubernetes on Windows 10 Using Minikube [Snippets]
Want to get Kubernetes up and running on your Windows 10 machine? Here are two quick snippets that will install Minikube to do the work for you.
Join the DZone community and get the full member experience.Join For Free
I recently started playing with Kubernetes and I used Minikube to get a working Kubernetes installation on my Windows 10 laptop. I wanted to share how to install Minkube on Windows 10 Pro (using Hyper-V).
It's quite easy to install Minikube using PowerShell (with Admin):
Invoke-WebRequest -uri https://storage.googleapis.com/minikube/releases/v0.28.2/minikube-windows-amd64.exe -OutFile minikube.exe Invoke-WebRequest -uri https://storage.googleapis.com/kubernetes-release/release/v1.11.2/bin/windows/amd64/kubectl.exe -OutFile kubectl.exe Copy-Item minikube.exe -Destination $Env:Programfiles\Minikube Copy-Item kubectl.exe -Destination $Env:Programfiles\Minikube
Add C:\Program Files\Minikube to your Windows path:
$net = Get-NetAdapter -Name 'Wi-Fi' #assuming your network adapter is called 'Wi-Fi' New-VMSwitch -Name "Minikube" -AllowManagementOS $True -NetAdapterName $net.Name minikube config set vm-driver hyperv minikube config set hyperv-virtual-switch Minikube minikube config set memory 2048 minikube start
Published at DZone with permission of Pieter De Rycke, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
5 Common Data Structures and Algorithms Used in Machine Learning
Future of Software Development: Generative AI Augmenting Roles and Unlocking Co-Innovation
Grow Your Skills With Low-Code Automation Tools
Hiding Data in Cassandra