rancher报错Not using `--random-fully` in the MASQUERADE rule for iptables because the local version of
rancher安装过程中,一直在报错导致安装失败:
Not using `--random-fully` in the MASQUERADE rule for iptables because the local version of iptables does not support it
原因是默认的iptables版本为v1.6.0不能被支持导致的,解决方法就是升级iptable是的版本,可以通过执行如下命令:
docker run -it rancher/hyperkube:v1.16.2-k8s1
在出现的命令行中,再执行
cat > /etc/apt/sources.list << EOF
deb https://mirrors.ustc.edu.cn/debian/ stretch main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian/ stretch main contrib non-free
deb https://mirrors.ustc.edu.cn/debian/ stretch-updates main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian/ stretch-updates main contrib non-free
deb https://mirrors.ustc.edu.cn/debian/ stretch-backports main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian/ stretch-backports main contrib non-free
deb https://mirrors.ustc.edu.cn/debian-security/ stretch/updates main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian-security/ stretch/updates main contrib non-free
EOFapt-get updateapt remove --purge iptables && \
apt autoremove -y && \
clean-install libip4tc0=1.6.2-1.1~bpo9+1 \libip6tc0=1.6.2-1.1~bpo9+1 \libiptc0=1.6.2-1.1~bpo9+1 \libxtables12=1.6.2-1.1~bpo9+1 \iptables=1.6.2-1.1~bpo9+1
将iptables的版本升级到1.6.2
此时,再启动一个新的终端界面执行:
[root@node1 ~]# docker ps|grep hyper
aec0112233 rancher/hyperkube:v1.16.2-k8s1 "/bin/sh"
于是执行docker commit将修改后的容器导出成镜像,并覆盖之前的镜像:
docker commit aec0112233 rancher/hyperkube:v1.16.2-k8s1
重新开始安装worker结点的流程即可
参考:https://github.com/rancher/rancher/issues/23552
rancher报错Not using `--random-fully` in the MASQUERADE rule for iptables because the local version of相关推荐
- 云原生|kubernetes|解决kube-proxy报错:Not using `--random-fully` in the MASQUERADE rule for iptables
前言: kubernetes的网络系统主要由kube-proxy负责,其支持iptables和ipvs以及userspace三种网络负载均衡,在更新负载均衡策略为ipvs后,查看kube-proxy的 ...
- SAP LSMW 导入物料主数据报错 - You have not fully maintained the descriptions - 之分析
SAP LSMW 导入物料主数据报错 - You have not fully maintained the descriptions - 之分析 近日,笔者忙于在D项目上的主数据导入.这是D项目上的 ...
- python import random 报错_Python import random报错处理办法
python安装失败:make的时候报错: /usr/include/tkDecls.h:1542: error: expected ')' before '*' token /usr/include ...
- 黑马的ssm课程中class报错:Description : The fully qualified name of the bean‘s class, except if it serves onl
黑马的ssm课程中class报错 <bean id="userDao" class="com.itheima.dao.impl.UserDaoImpl"& ...
- Nginx启动报错: could not open error log file: open() q unable to find local peer: 192.168.10.102:8848,
记录本人1个Nginx+3个nacos注册中心+1个mysql报错解决 nacos报错nacos集群模式部署 unable to find local peer: 192.168.10.102:884 ...
- 报错: The option setting ‘android.enableR8=false‘ is deprecated. It will be removed in version...
一.症状 从Unity3D中发布APK到android一体机(PICO G2 4K)时报错: The option setting 'android.enableR8=false' is deprec ...
- vue cli3.0创项目报错‘This may cause things to work incorrectly. Make sure to use the same version for b’
错误: throw new Error(^Error:Vue packages version mismatch:- vue@2.6.12 (C:\Users\Administrator\AppDat ...
- Android Studio报错——The device might have stale dexed jars that don‘t match the current version
问题:运行ViewPager项目后出现以下提示 有的博主通过设置Instant Run 解决了,但是不适用我的情况. 新版Android Studio 的Instant run Android Stu ...
- bee run 报错 main.go:4:2: package myproject/routers is not in GOROOT (/usr/local/go/src/myproject/rout
在当前的项目文件夹中执行命令 go mod init 搞定!
- ClickHouse系列教程七:centos下源码编译安装及报错解决
ClickHouse系列教程: ClickHouse系列教程 参考上一篇博客: ClickHouse系列教程六:源码分析之Debug编译运行 先安装 gcc 8, g++ 8, cmake 3, ni ...
最新文章
- Fibonacci数列Linux程序,Linux shell实现斐波那契数列编程
- 【Linux】【服务器】 CentOS7下安装Redis详细过程步骤
- idea 中 git 修改了文件却无法提交(No Changes detected)
- Example - RCP Text Editor
- Objective-C NSFileManager 文件管理总结
- a.out、coff、elf三种文件格式
- 如何用FineReport制作一张报表(二)
- 【搜索引擎】全文索引数据结构和算法
- android模拟器与PC的端口映射(转)
- mysql publishedtime_MySQL数据库中的Date,DateTime,TimeStamp和Time类型
- Provisional headers are shown问题
- jupyter修改默认目录
- python爬取天气预报并发送短信_Python3爬虫教程之利用Python实现发送天气预报邮件...
- 秒杀场景下MySQL的低效原因和改进
- SOA概念的三个比喻
- CSS控制多行文本省略--显示省略号
- java数组初始化的方式_java数组初始化方式
- 一文带你走进CI/CD
- scanf来代替gets
- 从0开始的技术美术之路(美术篇)(一)美术理论基础