博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
在启动kubernets的时候报错
阅读量:6944 次
发布时间:2019-06-27

本文共 722 字,大约阅读时间需要 2 分钟。

kubeadm init --kubernetes-version=v1.14.1 --pod-network-cidr=10.11.0.0/16 --service-cidr=10.12.0.0/12 --ignore-preflight-errors=Swap

[init] Using Kubernetes version: v1.14.1
[preflight] Running pre-flight checks
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR NumCPU]: the number of available CPUs 1 is less than the required 2
[ERROR FileContent--proc-sys-net-bridge-bridge-nf-call-iptables]: /proc/sys/net/bridge/bridge-nf-call-iptables contents are not set to 1

检查原因:

提示设置Iptables为1,且CPU最低要求2个
[root@master ~]# echo 1 > /proc/sys/net/bridge/bridge-nf-call-iptables
[root@master ~]# cat /proc/sys/net/bridge/bridge-nf-call-iptables
1
升级虚拟机配置

转载于:https://blog.51cto.com/cainiaibage/2384803

你可能感兴趣的文章
Apple iOS MDM开发流程
查看>>
USB CDC & 可变形参
查看>>
mysql 的一点点记录
查看>>
为php添加pcntl扩展,多线程
查看>>
(4)Smali系列学习之Smali语法详解内部类
查看>>
python opencv 学习笔记
查看>>
WPF整理-为User Control添加依赖属性
查看>>
【SpringMVC】文件上传Expected MultipartHttpServletRequest: is a MultipartResolver错误解决
查看>>
kiiti分割的数据及其处理
查看>>
如何学习Python的一些总结
查看>>
Jenkins下载安装
查看>>
Spark:JavaRDD 转化为 Dataset<Row>的两种方案
查看>>
Chapter 5 Blood Type——8
查看>>
react-native 启动页(react-native-splash-screen)
查看>>
wpf 触摸屏 button 背景为null的 问题
查看>>
C# Task用法
查看>>
Javascript的console.log()用法
查看>>
node-packer
查看>>
FIR滤波原理及verilog设计
查看>>
Android Studio主题设置、颜色背景配置
查看>>