当前位置:网站首页>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
边栏推荐
- 简述MES系统的11大核心功能模块
- 第一个ABAP ALV报表程序构建流程
- mpc5744p烧录到98%无法继续下载程序
- 2022年焊工(初级)操作证考试题库及模拟考试
- 数据安全知识体系
- 2022年化工自动化控制仪表考题模拟考试平台操作
- NFT digital collection system development: sold out when online, and netizens "spike" Digital Collections
- Sudden! Arm stops cooperating with Huawei! How big is the impact on Huawei?
- [soft exam] soft exam tutorial + real questions over the years
- 【在 Kotlin 中添加条件行为】
猜你喜欢

Still using xshell? Recommend this more modern terminal connection tool

【MySQL从入门到精通】【高级篇】(八)聚簇索引&非聚簇索引&联合索引

Linear regression -- Taking an arithmetic sequence as an example

SSM整-整合配置

2022茶艺师(中级)考试题模拟考试题库及答案

项目中@RequestMapping的作用以及如何使用
![[soft exam] soft exam tutorial + real questions over the years](/img/91/72cdea3eb3f61315595330d2c9016d.png)
[soft exam] soft exam tutorial + real questions over the years

Have you ever encountered a deadlock problem in MySQL? How did you solve it?

模块八作业 - 消息数据 MySQL 表设计

The class jointly built by famous oarsmen is new, and Professor qiuxipeng of Fudan University broadcast it live on Tuesday!
随机推荐
LeetCode_ 134_ gas station
This section is used to supplement 3
微软默默给 curl 捐赠一万美元,半年后才通知
"Wei Lai Cup" 2022 Niuke summer multi school training camp 3 record
Real passwords do not match during synchronization
【考研词汇训练营】Day 13 —— reliance,expert,subject,unconscious,photograph,exaggeration,counteract
ALV screen input option learning
文件上传下载测试点
Mpc5744p burning to 98% can not continue to download the program
SD NAND与eMMC优劣势对比
Arm中国回应“断供华为”事件!任正非表示“没有影响”!
Linked list - the first common node of two linked lists
Paged query design of scenarios
PyQt5快速开发与实战 3.5 菜单栏与工具栏
2022茶艺师(中级)考试题模拟考试题库及答案
实用工具网站推荐
MPLS实验
财政部:今明两年对集成电路设计企业和软件企业免征企业所得税!
Learn UML system modeling from me
探索式软件测试