上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 49 下一页
摘要: mkfs.xfs -K /dev/sdx 阅读全文
posted @ 2022-08-24 08:59 LeoShi2020 阅读(271) 评论(0) 推荐(0)
摘要: 1. 添加repo库 yum -y install https://www.elrepo.org/elrepo-release-7.el7.elrepo.noarch.rpm 2. 导入签名 rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo 阅读全文
posted @ 2022-08-14 20:48 LeoShi2020 阅读(1094) 评论(0) 推荐(1)
摘要: 1. 为kubeadm添加变量 vi /usr/lib/systemd/system/kubelet.service.d/10-kubeadm.conf Environment="KUBELET_NETWORK_ARGS network-plugin=cni --cni-conf-dir=/etc/ 阅读全文
posted @ 2022-08-12 23:20 LeoShi2020 阅读(4494) 评论(0) 推荐(0)
摘要: 1. 查看当前Cgroup状态 [root@master1 cluster]# docker info | grep Cgrou Cgroup Driver: cgroupfs Cgroup Version: 1 2. 修改Cgroup状态 vi /etc/docker/daemon.json { 阅读全文
posted @ 2022-08-12 23:02 LeoShi2020 阅读(107) 评论(0) 推荐(0)
摘要: 1. 查找软件支持的版本 yum --showduplicates list <软件名称> 2. 安装指定的版本 [root@localhost ~]# yum --showduplicates list kubelet | grep 1.21.1 kubelet.x86_64 1.21.1-0 k 阅读全文
posted @ 2022-08-12 21:11 LeoShi2020 阅读(259) 评论(0) 推荐(0)
摘要: [root@master1 ~]# kubeadm init --kubernetes-version 1.24.3 --apiserver-advertise-address=0.0.0.0 --service-cidr=10.96.0.0/16 --pod-network-cidr=10.250 阅读全文
posted @ 2022-08-12 15:44 LeoShi2020 阅读(3085) 评论(0) 推荐(0)
摘要: 1. 批量执行scp # 将本机文件批量复制到 192.168.1.1-10 这10台服务器上 for i in {1..10};do scp /etc/yum.repos.d/CentOS-Base.repo 192.168.1.${i}:/etc/yum.repos.d/;done END 阅读全文
posted @ 2022-08-12 08:26 LeoShi2020 阅读(45) 评论(0) 推荐(0)
摘要: 1. 查看当前转发的端口 netsh interface portproxy show all 侦听 ipv4: 连接到 ipv4: 地址 端口 地址 端口 * 22222 127.0.0.1 1291 2. 删除转发的端口 netsh interface portproxy delete v4to 阅读全文
posted @ 2022-08-11 19:46 LeoShi2020 阅读(132) 评论(0) 推荐(0)
摘要: 1. Harbor默认subnet 172.21.0.0/16 docker network inspect harbor_harbor [ { "Name": "harbor_harbor", "Id": "15a6c2b48fb12096bf54476a2b9901b6e7cf74001cc68 阅读全文
posted @ 2022-08-11 16:12 LeoShi2020 阅读(148) 评论(0) 推荐(0)
摘要: 1. 生成证书 ssh-keygen -b 2048 -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Created directory ' 阅读全文
posted @ 2022-08-10 17:03 LeoShi2020 阅读(55) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 49 下一页