0

Swarmkit笔记(17)——“make generate”命令

Posted by nanxiao on 八月 31, 2016 in Swarmkit笔记 |

修改*.proto文件后,要使用“make generate”命令来生成*.pb.go文件(参考:Two qu […]

标签:

0

Swarmkit笔记(16)——运行“make setup”命令

Posted by nanxiao on 八月 31, 2016 in Swarmkit笔记 |

在运行“make”或“make xxx”命令之前,要先运行“make setup”命令。否则,“make”会失 […]

标签:,

0

Swarmkit笔记(15)——cluster node存储相关的代码

Posted by nanxiao on 八月 24, 2016 in Swarmkit笔记 |

raft.Node有一个memoryStore成员(定义在manager/state/raft/raft.go […]

标签:,

0

Swarmkit笔记(14)——manager切换角色

Posted by nanxiao on 八月 23, 2016 in Swarmkit笔记 |

Manager结构体(定义在manager/manager.go)包含一个*raft.Node成员: // M […]

标签:,

0

Swarmkit笔记(13)——swarmctl通过controlClient向swarm cluster发命令

Posted by nanxiao on 八月 19, 2016 in Swarmkit笔记 |

swarmctl实质上是通过controlClient向swarm cluster发命令。controlCli […]

标签:,

0

Swarmkit笔记(12)——swarmctl创建service时指定资源限制

Posted by nanxiao on 八月 17, 2016 in Swarmkit笔记 |

swarmctl创建service时可以指定CPU和memory资源限制: # swarmctl servic […]

标签:, , ,

0

Swarmkit笔记(11)——manager创建处理swarmctl请求的server

Posted by nanxiao on 八月 5, 2016 in Swarmkit笔记 |

manager.localserver是创建的本地Unix socket,用来等待处理swarmctl发来的命 […]

标签:,

0

Swarmkit笔记(10)——manager处理session请求

Posted by nanxiao on 八月 5, 2016 in Swarmkit笔记 |

Manager处理session请求是通过_Dispatcher_Session_Handler这个函数(./ […]

标签:,

0

Swarmkit笔记(9)——manager

Posted by nanxiao on 八月 3, 2016 in Swarmkit笔记 |

Node.runManager()函数会启动一个manager: func (n *Node) runMana […]

标签:,

0

Swarmkit笔记(8)——agent.session

Posted by nanxiao on 八月 2, 2016 in Swarmkit笔记 |

Agent和manager之间的通信是通过session进行的,下面是agent.session结构体定义: […]

标签:,

Copyright © 2013-2017 我的站点 All rights reserved.
This site is using the Multi Child-Theme, v2.2, on top of
the Parent-Theme Desk Mess Mirrored, v2.5, from BuyNowShop.com