2021年6月8日
Base源 cat > /etc/yum.repos.d/CentOS-Base.repo << 'EOF' # CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. You should use this for CentOS updates # unless you are manually picking other mirrors. # # If the……
阅读全文
2021年6月7日
测试环境:Centos6.x rpm安装 https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-boost-5.7.33.tar.gz # centos6的rpm包 # yum -y install numactl-devel # bundle包含了所有rpm包 https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.33-1.el6.x86_64.rpm-bundle.tar # 解压安装 tar -xvf mysql-5.7.33-1.el6.x86_64.rpm-bundle.tar # yu……
阅读全文
2021年6月4日
基于 kubeadm 搭建集群 kubeadm + containerd + docker 测试环境:Ubuntu20.04 master 环境准备 # Container runtimes # 容器运行时 使用 containerd (也是Docker开发的) 而不是 Docke……
阅读全文
2021年6月4日
docker build 依赖 buildkit 命令 BuildKit 是下一代的镜像构建组件,在 https://github.com/moby/buildkit 开源 安装 cd /usr/local/src/ wget https://github.com/moby/buildkit/releases/download/v0.8.3/buildkit-v0.8.3.linux-amd64.tar.gz tar xzf buildkit-v0.8.3.linux-amd64.tar.gz [ -f /usr/bin/buildctl ] || (cp -v bin/buildctl bin/buildkitd /usr/bin/) systemd服务单元配置 cat > /usr/lib/systemd/system/buildkit.service << 'EOF' [Unit] Description=Dockerfile-agnostic builder toolkit Documentation=https://github.com/moby/buildkit……
阅读全文
2021年6月2日
选型 二进制安装? 方便了解各个模块运行机制,同时支持各种版本的系统 使用cfssl做为证书工具 生成标准的命名方式,方便统一,json做为……
阅读全文
2021年5月27日
node 关闭 docker systemctl stop docker 此时kubelet也会被自动关闭 # 关闭 docker systemctl stop docker # nodes 状态变成 NotReady root@k8s-master:~/k8s-test# kubectl get nodes -o wide NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME k8s-node1 Ready <none> 41h v1.21.1 10.0.26.188 <none> Ubuntu 20.04.2 LTS 5.4.0-73-generic docker://20.10.6 k8s-node2……
阅读全文