In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
domestic version
I. Deployment of Kubernetes 1.12.2 (no dashboard)
1. All nodes deploy docker-ce kubernetesyum source
Alibaba Cloud docker-ce Address: https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo Download directly to/etc/yum.repo.d/
Kubernetes yum Source Configuration:
vim /etc/yum.repos.d/kubernetes.repo
[kubernetes]
name=Kubernetes Repo
baseurl=https://mirrors.aliyun.com/kubernetes/yum/repos/kubernetes-el7-x86_64/
gpgcheck=0
enabled=1
2. Master node install kubelet kubeadm docker-ce kubectl node install kubelet kubeadm docker-ce
master #yum install -y docker-ce kubelet kubeadm kubectl
node #yum install -y docker-ce kubelet kubeadm
all node#systemctl enable docker && systemctl start docker
all node#systemctl enable kubelet
all node# docker load -i k8s.gcr.io.basic.tar.gz
Google Mirror Package Address:
Link: pan.baidu.com/s/1tXJYL7-KdPJRRlPBg83OyQ
Extraction code: bxwn
3. Install the master node
master#kubeadm init --kubernetes-version=v1.12.2 --pod-network-cidr=10.244.0.0/16 --service-cidr=10.96.0.0/12
Wait for kubeadm automatic installation to complete
master#mkdir -p $HOME/.kube
master#cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
master#chown $(id -u):$(id -g) $HOME/.kube/config
master#kubectl apply -fhttps://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
4. Install node node
node# kubeadm join ..................................
Single-node masterK8s1.12.2 deployment completed (no dashboard)
5. Check whether the node is normal
master#kubectl get node
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.