目录
准备三个虚拟机
| IP地址 | 节点 |
| 192.168.200.50 | k8s-master |
| 192.168.200.51 | k8s-node1 |
| 192.168.200.52 | k8s-node2 |
三节点执行
- [root@localhost ~]# systemctl stop firewalld
- [root@localhost ~]# systemctl disable firewalld
- Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
- Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
- [root@localhost ~]# setenforce 0
- [root@localhost ~]# yum install -y vim wget
三节点执行,注释swap一行内容
- [root@localhost ~]# swapoff -a
- [root@localhost ~]# vim /etc/fstab
- [root@localhost ~]# cat /etc/fstab
-
- #
- # /etc/fstab
- # Created by anaconda on Mon Mar 11 00:48:35 2024
- #
- # Acce