上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页

2016年11月10日

cri-o 创建非infra容器

摘要: 1、// cri-o/server/container.go // CreateContainer creates a new container in specified PodSandbox func (s *Server) CreateContainer(ctx context.Context 阅读全文

posted @ 2016-11-10 15:59 姚灯灯! 阅读(310) 评论(0) 推荐(0) 编辑

2016年11月8日

cri-o 与 cni的集成分析

摘要: // 创建pod时,network的设置 1、// cri-o/server/sandbox.go // RunPodSandbox creates and runs a pod-level sandbox func (s *Server) RunPodSandbox(ctx context.Con 阅读全文

posted @ 2016-11-08 16:05 姚灯灯! 阅读(1068) 评论(0) 推荐(0) 编辑

2016年11月2日

cni 添加网络 流程分析

摘要: cnitool的使用方式如下:其中<net>是配置文件所在目录,一般为/etc/cni/net.d/*.conf文件,<netns>为network namespace的目录文件,一般为/var/run/netns/NS-ID 1、cni/libcni/api.go // AddNetwork ex 阅读全文

posted @ 2016-11-02 21:07 姚灯灯! 阅读(2374) 评论(0) 推荐(0) 编辑

2016年10月31日

《MapReduce: Simplified Data Processing on Large Cluster 》翻译

摘要: Abstract MapReduce是一种编程模型和一种用来处理和产生大数据集的相关实现。用户定义map函数来处理key/value键值对来产生一系列的中间的key/value键值对。还要定义一个reduce函数用来合并有着相同中间key值的中间value。许多现实世界中的任务都可以用这种模型来表达 阅读全文

posted @ 2016-10-31 21:22 姚灯灯! 阅读(9541) 评论(0) 推荐(1) 编辑

2016年10月28日

OpenStack overview 笔记

摘要: Example architecture example architecture 至少需要两个节点启动一个虚拟机或者实例。可选的服务,例如Block storage和Object storage需要额外的节点。example architecture和minimal production arch 阅读全文

posted @ 2016-10-28 16:25 姚灯灯! 阅读(514) 评论(0) 推荐(0) 编辑

2016年10月27日

docker containerd shim分析

摘要: // containerd-shim is a small shim that sits in front of a runtime implementation that allows it to be reparented to init and handle reattach from the 阅读全文

posted @ 2016-10-27 16:46 姚灯灯! 阅读(8339) 评论(1) 推荐(1) 编辑

docker containerd 中的create 容器操作

摘要: containerd的create container的API如下所示: StartTask结构如下所示: 1、containerd/api/grpc/server/server.go func (s *apiServer) CreateContainer(ctx context.Context, 阅读全文

posted @ 2016-10-27 14:16 姚灯灯! 阅读(2902) 评论(0) 推荐(0) 编辑

2016年10月25日

MIT jos 6.828 Fall 2014 训练记录(lab 6)

摘要: 源代码参见我的github: https://github.com/YaoZengzeng/jos 在这个实验中将实现一个基于Intel 82540M(又称E1000)的网卡驱动。不过,一个网卡驱动还不足以让我们的操作系统连上互联网。在lab6新增加的代码中,已经包含了一个network stack 阅读全文

posted @ 2016-10-25 21:43 姚灯灯! 阅读(1360) 评论(0) 推荐(0) 编辑

docker containerd中的容器操作

摘要: containerd的中的各种操作都是通过Task来进行的,因此对于容器的create, start, delete等等操作其实都是一个个的Task而已。 Task的数据结构如下所示: container的数据结构如下所示,而container对外暴露的interface是Container,其中包 阅读全文

posted @ 2016-10-25 15:17 姚灯灯! 阅读(2968) 评论(0) 推荐(0) 编辑

docker-containerd 启动流程分析

摘要: 一般在docker启动时,containerd的启动命令如下所示: 1、containerd/containerd/main.go func daemon(context *cli.Context) error (1)、首先调用: (2)、for循环10次,调用w := supervisor.New 阅读全文

posted @ 2016-10-25 14:16 姚灯灯! 阅读(3023) 评论(0) 推荐(0) 编辑

上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页

导航