Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a sidekick container?

Tags:

docker

rancher

When creating a new service, one can add "sidekick containers" to it. What is a sidekick container? And how does it differ from a "normal" service container?

like image 353
helt Avatar asked Feb 08 '17 09:02

helt


1 Answers

TLDR: Sidekicks are normal services with the exception, that dns resolving between "main" service and sidekicks is automatically enabled, and that the bundle of containers is scaled equally and deployed on the same host machines.

According to 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

Furthermore,

When defining a sidekick to a service, you do not need to link the services as sidekicks are automatically

like image 161
helt Avatar answered Nov 13 '22 00:11

helt