In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to use Kubeadm to build Kubernetes quickly". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to use Kubeadm to build Kubernetes quickly.
# # release Notes # #
Kubernetes1.6
Docker1.12.6
Environmental preparation
192.168.0.51 master 192.168.0.52 minion1 192.168.0.53 minion2
# # install docker # #
# install tools for yum-utils management yum repository and expansion packs yum install-yyum- utils # add docker repositoryyum-config-manager\-- add-repo\ https://docs.docker.com/v1.13/engine/installation/linux/repo_files/centos/docker.repo# download package information to local yum makecache fast# install docker-1.12.6yum install-y docker-engine-1.12.6# start docker service systemctl start docker# boot start dockersystemctl enable docker
# # system configuration # # create / etc/sysctl.d/k8s.conf file, which contains:
Net.bridge.bridge-nf-call-ip6tables = 1net.bridge.bridge-nf-call-iptables = 1
Execution
Sysctl-p / etc/sysctl.d/k8s.conf
Modify the hostname of each node in / etc/hostname, and set the hostname corresponding to the non-lo loop Nic ip in / etc/hosts:
192.168.0.51 master192.168.0.52 minion1192.168.0.53 minion2
# # installing kubeadm and kubelet # # installing kubeadm and kubelet requires a technical ladder. Add the following 1. Add IP * .google.com by modifying the / etc/hosts file, such as
216.58.200.33 gcr.io216.58.200.33 www.gcr.io216.58.200.33 cloud.google.com216.58.200.33 packages.cloud.google.com216.58.200.33 console.cloud.google.com216.58.200.33 status.cloud.google.com216.58.200.33 ssh.cloud.google.com
2 、:
Cat
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.