зеркало из https://github.com/microsoft/pai.git
link to sidecar.png in doc
This commit is contained in:
Родитель
2e585a0ad7
Коммит
17ed648d1b
|
@ -76,7 +76,9 @@ We only have to care about deployment if we choose using independent process for
|
|||
For those modules not maintained by ourself such as hadoop, we can create another process to collect
|
||||
from main process and expose to prometheus. If using this method, it is kubernetes's best practice to
|
||||
adopt [sidecar pattern](https://kubernetes.io/docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume/),
|
||||
instead of deploy two processes in same container.
|
||||
instead of deploy two processes in same container. As illustrated blow:
|
||||
|
||||
![sidecar pattern](./sidecar.png)
|
||||
|
||||
This have several pros compare to deploying in same pod:
|
||||
* Two processes can have different image.
|
||||
|
|
Загрузка…
Ссылка в новой задаче