什么是 Sidekick 容器?

What is a sidekick container?

创建新服务时,可以添加"sidekick containers"。什么是 Sidekick 容器?它与 "normal" 服务容器有何不同?

TLDR:Sidekicks 是正常服务,但例外情况是 "main" 服务和 sidekicks 之间的 dns 解析是自动启用的,并且容器包被平等地缩放并部署在相同的主机上。

根据Rancher v1.3 documentation

Rancher 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