当前位置:网站首页>rancher部署kubernetes集群
rancher部署kubernetes集群
2022-07-26 17:46:00 【51CTO】
实验环境
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
软件安装
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操作
docker run -itd --restart=always --privileged=true -p 81:80 -p 8443:443 --name rancher rancher/rancher:v2.5.9 k8s1操作
边栏推荐
- Vector CANape - How to Send Receive CAN Message in CANape
- CTO will teach you: how to take over his project when a technician suddenly leaves
- 财政部:今明两年对集成电路设计企业和软件企业免征企业所得税!
- Paged query design of scenarios
- Flask encapsulates seven cattle cloud
- 简述MES系统的11大核心功能模块
- How to assemble a registry
- Development of NFT digital collection system: Shanxi first released digital collections of ancient buildings on "China Tourism Day"
- Sudden! Arm stops cooperating with Huawei! How big is the impact on Huawei?
- Brand new! Uncover the promotion route of Ali P5 Engineer ~p8 architect
猜你喜欢
随机推荐
神经网络学习(2)前言介绍二
Redis核心原理
FTP协议
数据安全知识体系
骚操作:巧用MySQL主从复制延迟拯救误删数据
[soft exam] soft exam tutorial + real questions over the years
MySQL 遇到过死锁问题吗,你是如何解决的?
455. 分发饼干【双指针 ++i、++j】
How to assemble a registry
第一个ABAP ALV报表程序构建流程
Safer, healthier and without endurance anxiety, Wei brand latte dht-phev is here
Redis持久化RDB/AOF
Oracle day 2 (Views, indexes, PLSQL, cursors, stored procedures and stored functions, triggers, JDBC access stored procedures and stored functions)
VPC nat (Sant, nant) experiment
接口测试方案(接口测试思路)
OpenGL中的视差贴图的着色器代码
Real passwords do not match during synchronization
详细介绍@GetMapping和@PostMapping的区别
Linked list - reverse linked list
Netease game R & D Engineer Intern (client side)

![455. Distribute cookies [double pointer ++i, ++j]](/img/8c/cc5361caefceb6a4eb1c2ef8d5dede.png)






