2 - Provision Virtual machine with Hyper-V

时间:2021-06-05 17:49:23   收藏:0   阅读:0

Prerequisites:

Virtual machine parameters:

Memory 2GB
Hard Drive 20GB

 

 

 

Provisioning:

  1. Launch Hyper-V, click on new > Virtual Machine
    技术图片

  2. Follow the wizard is easy to get one Virtual machine created. Click on Next from below screenshot.
    技术图片
  3. Enter a name for your Virtual machine, i named it k8s-master, then click Next.

    技术图片

  4. Pick Generation 1 from next screen, otherwise there will be some unpredictable issues.
    技术图片

  5. Assign 2GB of memories to Virtual machine, and maybe better tick on Dynamic Memory from next screen.
    技术图片
  6. From Networking screen, you can just keep it as default at the stage, we will have another separate post to teach you how to setup Network.

    技术图片

  7. On Hard Driver scree, put 20GB for the Disk Size and keep rest of the fields as default.
    技术图片
  8. From Installation options, importantly navigate to the CentOS image which you downloaded. Once we start the virtual machine, it will install CentOS from ISO image.

    Note: Baidu search for CentOS7 image download

    技术图片

     

  9. Verify on the summary, We‘re now ready to GO, All set ! 
    技术图片
  10. Click on Finish button from above, you will get a desired virtual machine provisioned.

    技术图片

  11. Repeat the same as previous steps, to create another virtual machine k8s-node1.
  12. So far so good. Coming next we will install CentOS and setup network for them.
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!