Misc

Alternative — Windows Hyper-V

A Hyper-what-now?

Big words! It's a piece like VMWare, VirtualBox, Hyper-V — which is built into Windows

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All

output

Path          :
Online        : True
RestartNeeded : False

Install kind

Alternative — Install minikube

  • Follow the instructions in minikube start

  • Download minikube.exe

    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 executable to your path

    $oldPath = [Environment]::GetEnvironmentVariable('Path', [EnvironmentVariableTarget]::User)
    if ($oldPath.Split(';') -inotcontains 'C:\minikube'){ `
      [Environment]::SetEnvironmentVariable('Path', $('C:\minikube;{0}' -f $oldPath), [EnvironmentVariableTarget]::User) `
    }
    
  • Reload your path. The easiest way is to stop and start your terminal again.

    If you use VS Code do not use Developer: Reload Window. You will need to close and open the full application.

    VS Code Reload Window Command

    The same applies other tools like JetBrains products if you use them.

    Get-Command minikube
    

    Output

    CommandType     Name                                               Version    Source
    -----------     ----                                               -------    ------
    Application     minikube.exe                                       0.0.0.0    C:\minikube\minikube.exe
    


Tags

  1. k8s (Private)
  2. kubernetes

Backlinks