当前位置:网站首页>Racher deploys kubernetes cluster
Racher deploys kubernetes cluster
2022-07-26 18:54:00 【51CTO】
Experimental environment
rancher/k8s_master 192.168.10.18
k8s_node1 192.168.10.10
cat /etc/redhat-release
CentOS Linux release 7.8.2003 (Core)
cat /proc/cpuinfo | grep "processor" | wc -l
2
Software installation
echo SELINUX=disabled > /etc/sysconfig/selinux
systemctl stop firewalld NetworkManager && systemctl disable firewalld NetworkManager
cp -pv /etc/sysctl.conf /etc/sysctl.conf.bak
echo net.ipv4.tcp_syncookies = 1 >> /etc/sysctl.conf
echo net.ipv4.tcp_tw_reuse = 1 >> /etc/sysctl.conf
echo net.ipv4.tcp_tw_recycle = 1 >> /etc/sysctl.conf
echo net.ipv4.tcp_fin_timeout = 10 >> /etc/sysctl.conf
echo net.ipv4.ip_forward= 1 >> /etc/sysctl.conf
sysctl -p
yum install -y docker-ce docker-ce-cli containerd.io
systemctl daemon-reload
systemctl start docker && systemctl enable docker
docker --version
Docker version 18.06.2-ce, build 6d37f41 k8s_master operation
docker run -itd --restart=always --privileged=true -p 81:80 -p 8443:443 --name rancher rancher/rancher:v2.5.9 k8s1 operation
边栏推荐
- 我酷故我在
- Redis master-slave replication, read-write separation, sentinel mode
- Arm China responded to the "disconnection of Huawei supply" incident! Ren Zhengfei said "no impact"!
- Efficiency increased by 98%! AI weapon behind operation and maintenance inspection of high altitude photovoltaic power station
- 立创EDA使用笔记
- Brand new! Uncover the promotion route of Ali P5 Engineer ~p8 architect
- 【考研词汇训练营】Day 14 —— panini,predict,access,apologize,sense,transport,aggregation
- PMP candidates must read, and the epidemic prevention requirements for the exam on July 30 are here
- Sentinel 隔离与降级
- 网络协议:TCP/IP协议
猜你喜欢

The United States, Japan and South Korea jointly developed 6G with the intention of anti surpassing, but China has long been prepared

Duplicate gallerycms character length limit short domain name bypass

2022上海市安全员C证操作证考试题库模拟考试平台操作

图解用户登录验证流程,写得太好了!

Seata 入门简介

Efficiency increased by 98%! AI weapon behind operation and maintenance inspection of high altitude photovoltaic power station

Meta Cambria handle exposure, active tracking + multi tactile feedback scheme

Learn UML system modeling from me

我酷故我在

455. 分发饼干【双指针 ++i、++j】
随机推荐
Sentinel 隔离与降级
图解用户登录验证流程,写得太好了!
Excellent JSON processing tool
MES系统的选择需重点考虑哪些方面?
ALV screen input option learning
PMP candidates must read, and the epidemic prevention requirements for the exam on July 30 are here
mpc5744p烧录到98%无法继续下载程序
Lombok common notes
Automated test tool playwright (quick start)
NFT数字藏品系统开发:同道大叔首推祈福系列数字藏品开售即罄
ECS MySQL prompt error
凝心聚力,心心向印!印度中资手机企业协会(CMA)正式运营!
Huawei cloud · cloud sharing experts~
Flask 封装七牛云
【MySQL从入门到精通】【高级篇】(八)聚簇索引&非聚簇索引&联合索引
455. Distribute cookies [double pointer ++i, ++j]
详细介绍@GetMapping和@PostMapping的区别
CoVOS:无需解码!利用压缩视频比特流的运动矢量和残差进行半监督的VOS加速(CVPR 2022)...
Linked list - merge two sorted lists
js map使用