Microsoft Hyper-V Server: Deploy a Kubernetes cluster
ADTSolutions ADTSolutions
1.44K subscribers
5,124 views
40

 Published On Sep 4, 2021

This video will show you how to Deploy a Kubernetes cluster on Microsoft Hyper-V Server.
✅Subscription:    / @adtsolutions  

✅Hyper-V server:
Generate SSH Public key: ssh-keygen
✅Windows client:
Go to Window Admin Center download public ssh key and save to `$Home\.ssh`
Download and setup Qemu-Img
Download my PowserShell scripts hyperv-k8s.ps1
Run PowerShell as Admin and cd to folder having hyperv-k8s.ps1
Run: .\hyperv-k8s.ps1 Get-Image
Run: .\hyperv-k8s.ps1 Save-ISOMaster
Run: .\hyperv-k8s.ps1 Save-ISONode1
✅Windows Admin center:
Upload created isos (on Windows client) to `C:\Users\Administrator\Documents\isos`
Upload hyperv-k8s.ps1 to `C:\Users\Administrator\Documents`
Open PowersShell:
Run: .\hyperv-k8s.ps1 Install-Tools
Run: .\hyperv-k8s.ps1 Deploy-HostsFile
Run: .\hyperv-k8s.ps1 Deploy-Network
Run: .\hyperv-k8s.ps1 Get-Image
Run: .\hyperv-k8s.ps1 Deploy-Master
Run: .\hyperv-k8s.ps1 Deploy-Node1
Run: .\hyperv-k8s.ps1 Initialize-Kubeadm
Run: .\hyperv-k8s.ps1 Start-KubeadmJoin
Run: .\hyperv-k8s.ps1 Save-KubeConfig

I'm using a PowerShell script to deploy everything. For more detail: (Vietnamese) https://nvtienanh.info/devops/xay-dun...
Git hub repository: https://github.com/nvtienanh/hyperv-k8s

show more

Share/Embed