k3s安装前初始化环境
所有节点安装并配置相同的NTP服务器,保证服务器时间的正确性。
yum -y install ntp && systemctl start ntpd && systemctl enable ntpd
直接关闭防火墙服务:
systemctl stop firewalld && systemctl disable firewalld
关闭SELINUX
vi /etc/selinux/config
注释以下配置
#SELINUX=enforcin
所有节点安装并配置相同的NTP服务器,保证服务器时间的正确性。
yum -y install ntp && systemctl start ntpd && systemctl enable ntpd
直接关闭防火墙服务:
systemctl stop firewalld && systemctl disable firewalld
关闭SELINUX
vi /etc/selinux/config
注释以下配置
#SELINUX=enforcin