摘要: 多核系统批量创建容器导致容器创建时间长 package main import ( "fmt" "os/exec" "sync" "time" ) func main() { cmd := exec.Command("sh", "-c", "docker rm -f `docker ps -qa`" 阅读全文
posted @ 2023-02-07 10:54 rincloud 阅读(142) 评论(0) 推荐(0)
摘要: linux 网桥代码分析之网桥功能及其相关数据结构Ⅰ https://wangquan.blog.csdn.net/article/details/112220202 https://wangquan.blog.csdn.net/article/details/112220202 阅读全文
posted @ 2023-01-12 16:44 rincloud 阅读(28) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/IOT_AI/article/details/128392536 阅读全文
posted @ 2022-12-29 16:03 rincloud 阅读(17) 评论(0) 推荐(0)
摘要: [root@localhost containerd]# ps -ef |grep containerd root 123680 1 0 04:17 ? 00:00:00 /usr/bin/containerd root 123712 116513 0 04:18 pts/2 00:00:00 gr 阅读全文
posted @ 2022-12-01 17:23 rincloud 阅读(747) 评论(0) 推荐(0)
摘要: iptables防火墙问题 查看已有规则 iptables -S INPUT 执行以下命令运行docker网卡访问 临时方案 iptables -I INPUT -i docker0 -j ACCEPT 永久方案 vim /etc/sysconfig/iptables 添加以下内容 -A INPUT 阅读全文
posted @ 2022-11-23 10:44 rincloud 阅读(994) 评论(0) 推荐(0)
摘要: [root@localhost nmx]# execsnoop -r -t Tracing exec()s. Ctrl-C to end. ERROR: ftrace may be in use by PID 5274 /var/tmp/.ftrace-lock [root@localhost nm 阅读全文
posted @ 2022-11-22 21:52 rincloud 阅读(132) 评论(0) 推荐(0)
摘要: 一个pod进程关系如图 root 163187 0.0 0.1 712460 12828 pts/2 Sl 21:40 0:00 \_ /usr/bin/containerd-shim-runc-v2 -namespace k8s.io -id e7927073fe3617c5cfd587c17bd 阅读全文
posted @ 2022-11-11 11:34 rincloud 阅读(169) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/weixin_52690231/article/details/125172061 阅读全文
posted @ 2022-11-09 00:19 rincloud 阅读(22) 评论(0) 推荐(0)
摘要: containerd-shim-runc-v2 启动了一个ttrpc server(类似grpc) containerd 通过 ttrpc和containerd-shim-runc-v2 通信来管理容器 service Task { rpc State(StateRequest) returns ( 阅读全文
posted @ 2022-11-05 13:50 rincloud 阅读(299) 评论(0) 推荐(0)
摘要: 使用 netstat 找到进程 # netstat -antp|grep 6789 tcp 0 0 1.1.1.1:59950 1.1.1.2:6789 ESTABLISHED 45059/ceph-fuse 如上,进程 pid 为 45059。 使用 lsof 找到进程 45059 打开的所有文件 阅读全文
posted @ 2022-11-04 12:57 rincloud 阅读(271) 评论(0) 推荐(0)