gpt4 book ai didi

docker - 什么是 Sidekick 容器?

转载 作者:IT老高 更新时间:2023-10-28 21:22:04 25 4
gpt4 key购买 nike

创建新服务时,可以向其添加“sidekick 容器”。什么是 Sidekick 容器?它与“普通”服务容器有何不同?

最佳答案

TLDR:Sidekicks 是普通服务,但异常(exception)情况是,自动启用“主”服务和 sidekicks 之间的 dns 解析,并且容器 bundle 等比例缩放并部署在相同的主机上。

根据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

关于docker - 什么是 Sidekick 容器?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42108708/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com