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/02 Report--
K8s cluster building (kubeadm scheme)
1. At least 3 Centos
A, at least 2 cores CPU+2G memory + 20 GB hard disk
B. Must be on the same network segment
In this example, the assignment is:
Master:10.170.0.7Worker1:10.170.0.8Worker2:10.170.0.9
2. Ip addr confirms whether an IPV4 address is assigned. If not, nmtui,Automatically connect tick
3. Connect with SSH
4. Disable the firewall
Systemctl stop firewalld & systemctl disable firewalld
5. Disable SELINUX
Sed-I "s/SELINUX=enforcing/SELINUX=disabled/" / etc/selinux/configsetenforce 0
6. Disable swap
A, swapoff-a B, vi / etc/fstab, comment out swap
7. Restart the server to make it effective.
Reboot
8. Add k8s source. It is recommended to use Ali or 163
Cat / etc/sysconfig/modules/ipvs.modules
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.