rocky8(centos8)中使用cri-o,kubeadm安装k8s 1.27.1-master
我主打的就是安装简单。#!/bin/sh#先修改机器名和hostsbasis(){echo-e"\033[31m关闭防火墙,关闭selinux,关闭swap等基础服务\033[0m"systemctlstopfirewalld.servicesystemctldisablefirewalld.servicesetenforce0&&sed-i's/SELINUX=enforcing/SELINUX