摘要: 一、环境准备 root@easzlab-k8s-harbor-01:~# cat /etc/issue Ubuntu 20.04.4 LTS \n \l root@easzlab-k8s-harbor-01:~# uname -a Linux easzlab-k8s-harbor-01 5.4.0- 阅读全文
posted @ 2022-07-19 21:52 cyh00001 阅读(515) 评论(0) 推荐(0) 编辑
摘要: Docker是使用容器container的平台,容器其实只是一个隔离的进程,除此之外啥都没有。这个进程包含一些封装特性,以便和主机还有其他的容器隔离开。一个容器依赖最多的是它的文件系统也就是image,image提供了容器运行的一切包括 code or binary, runtimes, depen 阅读全文
posted @ 2022-07-19 20:29 cyh00001 阅读(1246) 评论(0) 推荐(0) 编辑
摘要: 一、加载内核参数优化 cat > /etc/sysctl.d/k8s.conf <<EOF net.bridge.bridge-nf-call-iptables=1 net.bridge.bridge-nf-call-ip6tables=1 net.bridge.bridge-nf-call-arp 阅读全文
posted @ 2022-07-19 10:39 cyh00001 阅读(217) 评论(2) 推荐(0) 编辑
摘要: 一、环境配置 关闭防火墙systemctl stop firewalld && systemctl disable firewalld 关闭selinuxsetenforce 0sed -i 's/enforcing/disabled/' /etc/selinux/config 关闭swapswap 阅读全文
posted @ 2022-07-19 01:32 cyh00001 阅读(3029) 评论(0) 推荐(0) 编辑