当前位置:网站首页>rancher部署kubernetes集群
rancher部署kubernetes集群
2022-07-26 17:46:00 【51CTO】
实验环境
centos7_x64 内存4-6G+ cpu2核
rancher/k8s_master 192.168.10.18
k8s_node1 192.168.10.10
软件安装
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
k8s_master操作
边栏推荐
- Shader code of parallax map in OpenGL
- MySQL练习题初级45题(统一表)
- mpc5744p的pit报错, RTOS无法启动, 时钟源问题
- Redis核心原理
- MySQL exercises elementary 45 questions (Unified table)
- J9 number theory: how to avoid the trap of stepping on thunder?
- Arm China responded to the "disconnection of Huawei supply" incident! Ren Zhengfei said "no impact"!
- The pit of mpc5744p reports an error, RTOS cannot be started, and there is a clock source problem
- Flask 封装七牛云
- The third day of SSM practice_ Paging assistant_ Security framework
猜你喜欢

Huawei cloud · cloud sharing experts~

Hello World

PyQt5快速开发与实战 3.5 菜单栏与工具栏

链表-两个链表的第一个公共结点

Safer, healthier and without endurance anxiety, Wei brand latte dht-phev is here

SSM整合-异常处理器和项目异常处理方案
![[a little knowledge] thread pool](/img/47/7296e47b53e728d2d3b9db198243f4.png)
[a little knowledge] thread pool

Understand in depth why not use system.out.println()

Maximum sum of continuous subarray of sword finger offer (2)

Baidu PaddlePaddle easydl x wesken: see how to install the "eye of AI" in bearing quality inspection
随机推荐
测试组如何进行QA规范
NFT数字藏品开发:数字藏品助力企业发展
LeetCode_134_加油站
详细介绍@GetMapping和@PostMapping的区别
Hello World
Meta Cambria handle exposure, active tracking + multi tactile feedback scheme
CTO will teach you: how to take over his project when a technician suddenly leaves
"Wei Lai Cup" 2022 Niuke summer multi school training camp 3 record
工赋开发者社区 | 定了!就在7月30日!
Interview summary of some large factories
Shader code of parallax map in OpenGL
The principle of database index, why use b+ tree, why not binary tree?
网络协议:TCP/IP协议
Redis持久化RDB/AOF
SSM整合-异常处理器和项目异常处理方案
【MySQL从入门到精通】【高级篇】(八)聚簇索引&非聚簇索引&联合索引
SSM整-整合配置
The step jumping expansion problem of sword finger offer
14.梯度检测、随机初始化、神经网络总结
Flask 封装七牛云