In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Centos7 system deployment K8s cluster example analysis, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.
Version 1, planning version 1.1 information: name version number kernel 3.10.0-1160.el7.x86_64 operating system CentOS Linux release 7.9.2009 (Core) docker20.10.11kubeadm1.23.0kubelet1.23.0kubectl1.23.01.2 cluster planning IPhostname192.168.0.114k8s-master192.168.0.115k8s-node01192.168.0.116k8s-node022. Deployment
Description:
Step 1 ~ step 8, all nodes operate the master node: step 9, step 10 node node: step 11, turn off the firewall
Turn off: systemctl stop firewalld
Permanent shutdown: systemctl disable firewalld
2. Close selinux
Off: setenforce 0
3. Close swap
Temporary shutdown: swapoff-a
Permanently close: sed-ri's Unip. Hammer swap.soccer swap.hammer raceme / etc/fstab, use this command to comment out code with swap lines
Inspection: free-m
4. Add the corresponding relationship between hostname and IP
Add a mapping relationship to / etc/hosts according to the planning in 1.2
192.168.0.114 k8s-master192.168.0.115 k8s-node01192.168.0.116 k8s-node025, the chain that passes bridged IPV4 traffic to iptables
Use the following command to add a configuration:
Cat > / etc/sysctl.d/k8s.conf / etc/yum.repos.d/kubernetes.repo
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.