In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-26 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.