zoukankan      html  css  js  c++  java
  • 2

    Prerequisites:

    • Windows 10
    • Hyper-V

    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. Increase CPU core to 2
      As Kubernetes required at least 2 core of CPUs, we need to setup our Virtual machine to have 2 cores of CPU
      Right click on k8s-master -> settings -> Processor -> Number of virtual processors -> 2
    12. Repeat the same as previous steps, to create another virtual machine k8s-node1.
    13. So far so good. Coming next we will install CentOS and setup network for them.
  • 相关阅读:
    怎么做接口测试,概念及常用方法一
    Maven 常用命令
    终端/Shell 快捷键
    Linux/Unix split 大文件分割合并
    macOS 跳过非 AppStore 下载的软件打开时的验证步骤
    docker[-compose] 连接内网其他容器地址
    iOS现有工程 集成 Cordova/Ionic
    Retrofit2 上传图片等文件
    ButterKnife 绑定 RadioGroup
    使用 Sublime Text 3 开发 React
  • 原文地址:https://www.cnblogs.com/waynewei/p/14851663.html
Copyright © 2011-2022 走看看