Kubernetes Local setup

Local-machine Solutions

Before you begin

VT-x or AMD-v virtualization must be enabled in your computer’s BIOS.

Install a Hypervisor

If you do not already have a hypervisor installed, install one now.
For OS X, install xhyve driver, VirtualBox, or VMware Fusion, or HyperKit.
For Linux, install VirtualBox or KVM.
For Windows, install VirtualBox or Hyper-V.

My environment is Linux, so I download the file from the official website.
Then run the command :
sudo dpkg -i virtualbox-5.2_5.2.4-119785~Ubuntu~xenial_amd64.deb

Install kubectl

  1. Download the latest release with the command:
    run the command
    curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl

  2. Make the kubectl binary executable.

chmod +x ./kubectl

  1. Move the binary in to your PATH.

    sudo mv ./kubectl /usr/local/bin/kubectl

Install Minikube

curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.24.1/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值