安装kubernetes
安装 kubernetes https://segmentfault.com/a/1190000044830019 系统配置 关闭 selinux sed -ri 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config setenforce 0 && getenforce cgroupv2 grubby --update-kernel=ALL --args=systemd.unified_cgroup_hierarchy=1 开启 ipforward vi /etc/sysctl.conf net.ipv4.ip_forward = 1 net.bridge.bridge-nf-call-ip6tables = 1 net.bridge.bridge-nf-call-iptables = 1 sysctl --system 停止 firewalld systemctl stop firewalld.service systemctl disable firewalld.service 关闭 swap 分区 swapoff -a && sysctl -w vm.swappiness=0 sed -ri '/^[^#]*swap/s@^@#@' /etc/fstab 安装 ipvsadm yum install ipvsadm ipset sysstat conntrack libseccomp -y 加载内核模块 modprobe -- ip_vs modprobe -- ip_vs_rr modprobe -- ip_vs_wrr modprobe -- ip_vs_sh modprobe -- nf_conntrack modprobe -- br_netfilter modprobe -- iscsi_tcp 配置 kubernetes....