ubuntu16.04 Kubernetes 安装部署

 

flanneld 安装

cd ~
export GOPATH=$(pwd)
mkdir -p src/github.com/coreos
cd src/github.com/coreos
git clone https://github.com/coreos/flannel.git
cd flannel
make dist/flanneld

 

编译flanneld 开始安装go语言,有以前版本go 移除

make dist/flanneld

 

curl -O https://storage.googleapis.com/golang/go1.9.3.linux-amd64.tar.gz
sudo chown -R root:root ./go
sudo mv go /usr/local

~/.profile

export GOPATH=$HOME/go
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin

 

具体安装详细看

https://blog.csdn.net/cloud_zp/article/details/79124387

 

 

你可能感兴趣的:(ubuntu16.04 Kubernetes 安装部署)