代码拉取完成,页面将自动刷新
Here is a guide for you to apply your K8S cluster on Baidu Cloud
The number of CPU cores should be larger than 8
#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
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。