6 Star 38 Fork 10

PaddlePaddle / PaddleFL

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
deploy_instruction.md 1.15 KB
一键复制 编辑 原始数据 按行查看 历史
jingqinghe 提交于 2020-04-29 18:43 . new_version_view

K8S cluster application

Here is a guide for you to apply your K8S cluster on Baidu Cloud

The number of CPU cores should be larger than 8

kubectl installation

#download newest version
curl -LO "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/darwin/amd64/kubectl"
#add authorization for kubectl execution 
chmod +x ./kubectl
#move the execuable file to the enviroment path
sudo mv ./kubectl /usr/local/bin/kubectl
#check installation and get the version
kubectl version

Add configuration for kubectl

After installing kubectl, we need to add some configurations for kubectl.

You can find the status of your cluster and download the certication here

Finally, move the certification to default path of kubectl and you can access the remote K8S cluster on your machine

mv kubectl.conf  ~/.kube/config

kubectl get node
Python
1
https://gitee.com/paddlepaddle/PaddleFL.git
git@gitee.com:paddlepaddle/PaddleFL.git
paddlepaddle
PaddleFL
PaddleFL
master

搜索帮助