-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

The Kubernetes Bible
By :

When designing a multi-container Pod, you can decide to follow some architectural principles to build your Pod. Some typical needs are answered by these design principles, and the ambassador pattern is one of them.
Here, we are going to discover what the ambassador design pattern is, learn how to build an ambassador container in Kubernetes Pods, and look at a concrete example of them.
In essence, the ambassador design pattern applies to multi-container Pods. We can define two containers in the same Pod:
In this design pattern, we assume that the main container might have to access external services to communicate with them. For example, you can have an application that must interact with an SQL database that is living outside of your Pod, and you need to reach this...