标签:remove smi 1.2 /etc/ move family ber 软件包 border
IP | 服务角色 |
192.168.149.136 | master&node,etcd |
192.168.149.137 | master&node,etcd |
192.168.149.138 | master&node,etcd |
组件 | 版本 | 说明 |
关闭selinux,firewalld(三台服务器均操作)
systemctl stop firewalld.service sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/‘ /etc/selinux/config
192.168.149.136 k8s-136 192.168.149.137 k8s-137 192.168.149.138 k8s-138 ansible k8s -m copy -a ‘src=/etc/hosts dest=/etc/hosts‘ #ansible 分发hosts file
yum remove firewalld python-firewall python-firewall -y yum install jq socat psmisc bash-completion -y
vim /etc/sysctl.d/99-sysctl.conf net.ipv4.ip_forward = 1 net.bridge.bridge-nf-call-iptables = 1 net.bridge.bridge-nf-call-ip6tables = 1 net.bridge.bridge-nf-call-arptables = 1 ansible k8s -m copy -a ‘src=/etc/sysctl.d/99-sysctl.conf dest=/etc/sysctl.d/99-sysctl.conf‘ #anisble 分发 modprobe br_netfilter sysctl -p /etc/sysctl.d/99-sysctl.conf
标签:remove smi 1.2 /etc/ move family ber 软件包 border
原文地址:https://www.cnblogs.com/quanloveshui/p/9197785.html