K&
随笔 - 71,  文章 - 0,  评论 - 7,  阅读 - 53084
12 2021 档案
go语言抓取文件中整个URL
摘要:源码 目录结构 package Createfile import ( "fmt" "log" "os" "os/exec" "sync" "time" ) //单例模式就是在这个函数下不论调用多少次只执行一次 var create sync.Once //检测目录目录 func createdir 阅读全文
posted @ 2021-12-31 21:31 K& 阅读(317) 评论(0) 推荐(0) 编辑
Containerd镜像构建工具以及简单使用
摘要:获取地址:https://github.com/moby/buildkit/releases BuildKit 由buildkitd守护进程和buildctl客户端组成。虽然buildctl客户端可用于 Linux、macOS 和 Windows,但buildkitd守护程序目前仅可用于 Linux 阅读全文
posted @ 2021-12-27 18:26 K& 阅读(3269) 评论(0) 推荐(0) 编辑
Kubernetes 1.23 + Containerd
摘要:hostnamectl set-hostname master yum install -y epel-release cat >> /etc/hosts << EOF 10.0.24.10 master 10.0.24.17 node1 EOF modprobe br_netfilter cat 阅读全文
posted @ 2021-12-27 10:11 K& 阅读(366) 评论(0) 推荐(0) 编辑
Kubernetes API访问集群通过Token反代
摘要:生成Token head -c 16 /dev/urandom | od -An -t x | tr -d ' ' 添加用户与token kubectl config set-credentials superroot --token=上面命令结果 把token放入证书目录下,文件名一定不能错不然会 阅读全文
posted @ 2021-12-21 16:03 K& 阅读(296) 评论(0) 推荐(0) 编辑
Kubernetes基于Containerd安装
摘要:初始化文件 最后部署 kubectl apply -f https://docs.projectcalico.org/manifests/calico.yaml [root@VM-24-10-centos ~]# cat init.yaml apiVersion: kubeadm.k8s.io/v1 阅读全文
posted @ 2021-12-21 13:00 K& 阅读(216) 评论(0) 推荐(0) 编辑
KVM修改虚拟机密码
摘要:virsh qemu-agent-command 实例名字 '{"execute":"exe-cmd","arguments":{"cmd":"net user 用户 密码"}}' 阅读全文
posted @ 2021-12-10 10:26 K& 阅读(232) 评论(0) 推荐(0) 编辑


< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示