标签:命令 系统 amp 程序 new etc 内核 ecs ipv4
前言:不断学习就是程序员的宿命
三台ECS(8C、16G、Centos7.x)
systemctl stop firewalld
systemctl disable firewalld
sed -i ‘s/enforcing/disabled/‘ /etc/selinux/config setenforce 0
swapoff -a #临时关闭 sed -ri ‘s/.*swap.*/#&/‘ /etc/fstab #永久关闭 free -g #验证,swap必须为0
查看主机名:hostname
vim /etc/hosts 47.97.98.158 node1 47.97.218.204 node2 121.196.125.80 node3
将桥接的IPv4流量传递到iptables的链
cat > /etc/sysctl.d/k8s.conf <<EOF net.bridge.bridge-nf-call-ip6tables = 1 net.bridge.bridge-nf-call-iptables = 1 EOF sysctl --system
kubeadm搭建k8s(v1.17.3)集群与Kubespere定制化安装
标签:命令 系统 amp 程序 new etc 内核 ecs ipv4
原文地址:https://www.cnblogs.com/rmxd/p/13194564.html