Install Minikube on Windows 11

I have been struggling in installing a “minilab for k8s” envinronment on a Linux Machine.

Today, among some calls, I tried to install Minikube on my Windows 11 machine, and I suceeded. It was not as easy, so I’m writing down the steps I followed, hoping not to forget any of them.

First of all I installed Minikube choosing this option:

Installation went fine, but it did not start: it was missing the Driver, in brief it’s a container engine. OK let’s choose Docker. Oh, it says it needs WSL (linux on windows). Ok, install WSL first, from an Administrator terminal window issue the command

wsl --install        

and follow the ‘wizard’,

reboot, and set user/pass for linux on windows

now it’s time to install Docker. As I’m a winget addict i did

winget install docker        

Now it’s time to close and reopen administrator’s terminal. It’s a good idea to add the docker directory to the environment’s variable PATH. I launched

sysdm.cpl        

Then, I had to launch Docker Desktop as an Administrator

answer the usual “first run questions”, and start the Docker Desktop Service

Finally, from a newly opened terminal windows launched as Administrator, I issued the commands

docker context use default
minikube config set driver docker
minikube start        

and…

pay attention, you should use the command

minikube kubectl -- get po -A        

to be sure to be using the appropriate version of kubectl. On my pc the version installed (from Docker) is slightly different

N.B.: if you are going to install something that will use the kubectl command (like Veeam Kasten K10) this could cause issues: it’s better to be sure the kubectl version is the best one to interact with Minikube (I guess “same version or higher” as usual.

I hope I did not forget anything and it helps!

要查看或添加评论,请登录

Alessandro Tinivelli的更多文章

  • Tiny and cheap Datastore for NUCs

    Tiny and cheap Datastore for NUCs

    So, in my home lab, I've got these two hosts, an Ikoolcore R1 and an Intel Nuc. I wanted more storage space and the R1…

    1 条评论
  • Upgrade of PostgreSQL for Veeam

    Upgrade of PostgreSQL for Veeam

    In my homelab, I've got Veeam VBR and Enterprise Manager running on PostgreSQL. Just today, ONE popped up with this…

    2 条评论
  • Windows server vs network share with guest access

    Windows server vs network share with guest access

    If you need to access a network share published to guests from a recent Windows Server (e.g.

    1 条评论
  • New name, old friends

    New name, old friends

    Even though they've been rebranded, there are always a few free gems that can save you a ton of work or solve annoying…

  • vSphere CBT Bug again

    vSphere CBT Bug again

    Yes, it seems we have issues with CBT, as it seems to be reappeared in vSphere 8 Update 2. If your backup software uses…

  • Rule 1: always check if C: is 100% full. Rule 2: windows shortcuts are not *nix links. Rule 3: monitoring!!

    Rule 1: always check if C: is 100% full. Rule 2: windows shortcuts are not *nix links. Rule 3: monitoring!!

    A customer of mines Veeam Backup job started failing with whis error: After some troubleshooting process, I understood…

    2 条评论
  • Create a CSR and Sign it with Windows Internal CA

    Create a CSR and Sign it with Windows Internal CA

    Introduction To get a signed certificate from our in-house Certification Authority for use on a website (like IIS)…

  • How to launch an elevated Powershell prompt with Veeam Module loaded

    How to launch an elevated Powershell prompt with Veeam Module loaded

    Sometimes may happen that Veeam Support asks you to execute some powershell commands that needs both the Administrator…

  • VMware Tools Update issues again

    VMware Tools Update issues again

    Just testing the update via VUM for a bunch of Windows 10 client machine to the lastest Build Scheduled the update for…

  • VMware Tools update issues with VUM

    VMware Tools update issues with VUM

    Today I had to prepare to do a massive update of the VMware Tools on a cluster that mostly contains VDI Horizon…

社区洞察

其他会员也浏览了