- 2024-05-31Centos8安装k8s1.23.9
离线安装一、环境准备卸载podman关闭交换区禁用selinux关闭防火墙依赖包安装系统参数优化配置本地dockeryum源一:centos8默认安装podmanbuildah需要卸载sudoyumerasepodmanbuildah-y二:节点关闭swap分区swapoff-a&&sysctl-wvm.swappiness=0sudosed-i'
- 2024-05-31Centos7部署k8s1.23.9
!/bin/bashfunctionnode_update_kernel(){启用ELRepo仓库sudorpm--importhttps://www.elrepo.org/RPM-GPG-KEY-elrepo.orgsudorpm-Uvhhttp://www.elrepo.org/elrepo-release-7.0-6.el7.elrepo.noarch.rpm查看可用的系统内核包sudoyum--disablerepo="*"--enabl
- 2024-05-31麒麟kylin安装K8s1.23.9
1.主机名解析10.129.148.4hangkong-k8s-node0110.129.148.5hangkong-k8s-node0210.129.148.6hangkong-k8s-node0310.129.148.4hangkong-k8s.vip.com2.主机名设置echo'hangkong-k8s-node01'>/etc/hostnameecho'hangkong-k8s-node02'>/etc/hos
- 2024-05-31麒麟kylin-ARM安装K8s1.23.9
第一章k8s及中间件安装1.主机名解析2.主机名设置3.禁用iptables和firewalld4.禁用selinux(linux下的一个安全服务,必须禁用)5.禁用swap分区(主要是注释最后一行)6.修改系统的内核参数7.配置ipvs功能8.安装docker验证docker安装是否成功9.安装kubernetes1.23.910.集群初始