当前位置:网站首页>Racher deploys kubernetes cluster
Racher deploys kubernetes cluster
2022-07-26 18:55: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
边栏推荐
- Arm China responded to the "disconnection of Huawei supply" incident! Ren Zhengfei said "no impact"!
- 2022年焊工(初级)操作证考试题库及模拟考试
- 详细介绍@GetMapping和@PostMapping的区别
- 2022茶艺师(中级)考试题模拟考试题库及答案
- Kubectl common commands and simple explanations
- Understand in depth why not use system.out.println()
- 工赋开发者社区 | 定了!就在7月30日!
- mpc5744p烧录到98%无法继续下载程序
- NFT digital collection system development: fellow uncle first promoted the blessing series digital collection, which will be sold out immediately
- 如何成为一名优秀的测试/开发程序员?专注谋定而后动......
猜你喜欢

5款WPS Office最佳海外替代品

Visual VM positioning oom, fullgc usage

Vector CANape - How to Send Receive CAN Message in CANape

2022年焊工(初级)操作证考试题库及模拟考试

Daorayaki | product principles of non-financial decentralized application

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

Still using xshell? Recommend this more modern terminal connection tool

Pyqt5 rapid development and practice 3.5 menu bar and toolbar

Linked list - merge two sorted lists

JS刷题计划——数组
随机推荐
【MySQL从入门到精通】【高级篇】(八)聚簇索引&非聚簇索引&联合索引
场景之分页查询设计
开发winform中遇到的一些问题汇总(持续跟新)
Pyqt5 rapid development and practice 3.5 menu bar and toolbar
offer-集合(1)
Sudden! Arm stops cooperating with Huawei! How big is the impact on Huawei?
flex布局
这场竞赛,能读懂题目的你大有可为
Interview summary of some large factories
Redis master-slave replication, read-write separation, sentinel mode
Flask encapsulates seven cattle cloud
Flex layout
Vector canoe menu plugin getting started
MySQL exercises elementary 45 questions (Unified table)
rancher部署kubernetes集群
CoVOS:无需解码!利用压缩视频比特流的运动矢量和残差进行半监督的VOS加速(CVPR 2022)...
VTK (the Visualization Toolkit) loads STL models
模块八作业 - 消息数据 MySQL 表设计
【在 Kotlin 中添加条件行为】
NFT数字藏品开发:数字藏品助力企业发展