Open Sakurasan opened 5 years ago
https://mirrors.huaweicloud.com/
加速器地址: https://059621dc8800256f0f54c008fe50f420.mirror.swr.myhuaweicloud.com
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<- 'EOF'
{
"registry-mirrors": ["https://059621dc8800256f0f54c008fe50f420.mirror.swr.myhuaweicloud.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
Docker官网安装教程 K8S官网安装教程
从零开始搭建Kubernetes集群 (简书)
10分钟搭建Kubernetes容器集群平台(kubeadm)
【从零开始/亲测国内外均可】基于阿里云Ubuntu的kubernetes(k8s)主从节点分布式集群搭建
配置代理
安装k8s 纯命令记录帖(ubuntu18.0) (51CTO)
从零开始搭建K8S集群(二)-- 搭建K8S集群
树莓派安装k8s
[Mac 历史版本]https://docs.docker.com/docker-for-mac/edge-release-notes/
[1] 替换k8s官方源 查看版本https://dl.k8s.io/release/stable-1.11.txt
curl -L https://github.com/GopherInk/Doc/raw/master/docker_pull_k8s.sh |sh
kubeadm token create --print-join-command
Step4 使用kubectl get nodes命令
kubectl get nodes
Step5 配置net-pod
kubectl apply -f https://docs.projectcalico.org/v3.1/getting-started/kubernetes/installation/hosted/canal/rbac.yaml
kubectl apply -f https://docs.projectcalico.org/v3.1/getting-started/kubernetes/installation/hosted/canal/canal.yaml
安装dashboard
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.10.1/src/deploy/recommended/kubernetes-dashboard.yaml
kubectl get pods -n kube-system |grep dashboard
kubectl get svc -n kube-syste
清空节点
姿势如下
Docker pull k8s list
registry.cn-hangzhou.aliyuncs.com/google_containers/