在创建新服务时,可以向其添加“sidekick容器”.什么是搭便车容器?它与“普通”服务容器有何不同?
最佳答案
TLDR:Sidekicks是普通服务,但有一个例外,即自动启用“主”服务和sidekicks之间的dns解析,并且容器包被平等扩展并部署在同一主机上.
原文链接:https://www.f2er.com/docker/436767.htmlRancher supports the colocation,scheduling,and lock step scaling of a set of services by allowing users to group these services by using the notion of sidekicks
此外,
When defining a sidekick to a service,you do not need to link the services as sidekicks are automatically