5 ms·
In Kubernetes, you run sidecars in the same pod as a separate process. Sidecars are lightweight processes that the main app can typically communicate with over
by echelon 5y ago
In Kubernetes, you run sidecars in the same pod as a separate process. Sidecars are lightweight processes that the main app can typically communicate with over localhost, a shared file system socket, etc.
A service, on the other hand, would live elsewhere, perhaps in another cluster, and scale independently. Foreign services would also have their own sidecars.
Sidecars are 1:1 with application instances.
- gavinray 5y agoAh that is a pretty neat idea -- I can absolutely see how useful that would be. TIL, thanks!