Sidecar Pattern in Action

Published Sep 25 2020 03:22 PM 5,435 Views
Microsoft
 

The Sidecar pattern enables the extension and enhancement  - of an existing process or an application container  - without affecting/modifying  it and thus ensuring the single-responsibility of the existing process / container.
The problem context, solution, considerations and use cases for this pattern are comprehensively documented here.

Exploring the usage and reviewing the  implementation of this pattern, in a real-world project, is an effective way to gain a practical perspective as you start putting the pattern into practice.  I have chosen two such open source projects that implement the sidecar pattern as part of their core architecture. The first one is - Dapr  - Distributed Application Runtime and the other project we will look into is the Open Service Mesh .

 

Dapr

Dapr is an event driven, portable runtime for building microservices on cloud and edge.

Dapr facilitates the development of microservices by providing independent building blocks like - State Management, Pub-Sub, Observability, Secrets and more  - which are encapsulated as the Dapr API - in a platform-agnostic and language-agnostic manner. The independent nature of the building blocks lets you cherry-pick the set of features you want for your application and the platform-agnostic aspect gives you a wide spectrum of platforms to operate in ranging - from lean and resource-starved devices on the edge  - to -  power-packed , full fledged Azure Kubernetes Service  clusters in the cloud. 
daprbigpicture.png
Sidecar implementation in Dapr architecture

 

The key advantage of using Dapr  is that the application utilizing it need not include any Dapr  runtime code. This advantage is  achieved by utilizing the - sidecar pattern.
The core Dapr API itself is  exposed as a sidecar - either a sidecar process or a sidecar container.
If it is a sidecar process  - the service code calls the Dapr API via HTTP/gRPC.
In the world of containers orchestrated by Kubernetes, the Dapr API is a side car container itself - which is utilized by the application container within the same pod.

Diagrams from the the Dapr project's documentation as follows - 


Image 1 - Self hostedImage 1 - Self hosted

 

Image 2 - Kubernetes hostedImage 2 - Kubernetes hosted

So, the use case in - Dapr's case -  is where a primary application uses a heterogeneous set of languages and frameworks and the component (Dapr API)  located in a sidecar service /container can be consumed by applications written in different languages using different frameworks.

Open Service Mesh (OSM)

OSM is a lightweight and extensible cloud native service mesh that runs on Kubernetes. This was a project initiated by Microsoft that has been now donated to the Cloud Native Computing Foundation (CNCF) where it is a Sandbox  project - at the time of this writing. 

Sidecar implementation in OSM architecture

OSM onboards applications to the mesh by enabling the automatic sidecar injection of the Envoy proxy.
A look at Image 3 below (source: OSM design doc)  - shows the Envoy proxy already existing as sidecar container within the Kubernetes (k8s) pod.

Image 3 - OSM ComponentsImage 3 - OSM Components


Sidecar Container Injection 

To elaborate on the  sidecar injection part - OSM utilizes a feature of  Kubernetes called MutatingAdmissionWebhook  admission controller to intercept the k8s API server request after the pod creation is initiated  but before the actual   persistence/creation of the pod - to augment the request to include a Envoy proxy sidecar. This injection is done by the [Webhook+Injector] in the OSM Controller Pod.
Refer Image 3 above.
Now the created pod has the Envoy proxy sidecar automatically

This means the powerful features of Envoy like  - advanced load balancing, observability, rate limiting et.al. - are readily available to be utilized by each instance of the application and allowing  the services in the mesh to communicate with each other. 
The separation of concerns between application's core functionality and Envoy's functionality + the ability of Envoy features to still be in proximity of the application is achieved via the sidecar pattern in the case of Open Service Mesh.

 

On a similar note - in Dapr's case - subsequent to installation of Dapr in a Kubernetes environment -  it deploys a set of pods to the Default namespace.

 

Image 4 - Running Dapr on KubernetesImage 4 - Running Dapr on Kubernetes


A couple of such pods - relevant to the premise of this article  -  are tabulated below - 

Pod Responsibility
dapr-operator Watches for workload pods with Dapr annotations i.e. [dapr.io/enabled: true]
dapr-sidecar-injector Augments, patches and injects the sidecar container to each annotated workload pod.


So, when you have your application workload's Kubernetes Deployment annotated with the requisite Dapr annotations - like [dapr.io/enabled: "true"] - the  Dapr side car injector pod  [dapr-sidecar-injector] as tabulated above  -  kicks in and injects the container. Now, every app container has a companion Dapr  sidecar container  within the same pod - realizing the desired intent.

 

------


I hope this has given you a bit more insight  into the Sidecar pattern and has also piqued your interest in both  the Dapr and  Open Service Mesh projects!

References:
1. Sidecar pattern - https://docs.microsoft.com/en-us/azure/architecture/patterns/sidecar
2. Dapr - https://dapr.io/
3. Sidecar implementation in Dapr - https://github.com/dapr/docs/tree/master/overview#sidecar-architecture
4. Open Service Mesh(OSM) - https://openservicemesh.io/
5. OSM component and interactions - https://github.com/openservicemesh/osm/blob/main/DESIGN.md#osm-components--interactions
6. Kubernetes Admission Controllers - https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/
7.  OSM MutatingWebhookConfiguration - https://github.com/openservicemesh/osm/blob/release-v0.3/charts/osm/templates/mutatingwebhook.yaml
Note - All images used in this article are from respective project documentations, the links to which are referenced above.


%3CLINGO-SUB%20id%3D%22lingo-sub-1714983%22%20slang%3D%22en-US%22%3ESidecar%20Pattern%20in%20Action%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1714983%22%20slang%3D%22en-US%22%3E%3CDIV%20class%3D%22lia-message-subject-wrapper%20lia-component-subject%20lia-component-message-view-widget-subject-with-options%22%3E%0A%3CDIV%20class%3D%22MessageSubject%22%3E%0A%3CDIV%20class%3D%22MessageSubjectIcons%20%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22lia-message-body-wrapper%20lia-component-message-view-widget-body%22%3E%0A%3CDIV%20id%3D%22bodyDisplay%22%20class%3D%22lia-message-body%22%3E%0A%3CDIV%20class%3D%22lia-message-body-content%22%3E%0A%3CP%3EThe%20Sidecar%20pattern%20enables%20the%20extension%20and%20enhancement%26nbsp%3B%20-%20of%20an%20existing%20process%20or%20an%20application%20container%26nbsp%3B%20-%20without%20affecting%2Fmodifying%26nbsp%3B%20it%20and%20thus%20ensuring%20the%20single-responsibility%20of%20the%20existing%20process%20%2F%20container.%20%3CBR%20%2F%3EThe%20problem%20context%2C%20solution%2C%20considerations%20and%20use%20cases%20for%20this%20pattern%20are%20comprehensively%20documented%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Farchitecture%2Fpatterns%2Fsidecar%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehere.%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EExploring%20the%20usage%20and%20reviewing%20the%26nbsp%3B%20implementation%20of%20this%20pattern%2C%20in%20a%20real-world%20project%2C%20is%20an%20effective%20way%20to%20gain%20a%20practical%20perspective%20as%20you%20start%20putting%20the%20pattern%20into%20practice.%26nbsp%3B%20I%20have%20chosen%20two%20such%20open%20source%20projects%20that%20implement%20the%20sidecar%20pattern%20as%20part%20of%20their%20core%20architecture.%20The%20first%20one%20is%20-%20%3CA%20href%3D%22https%3A%2F%2Fdapr.io%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EDapr%3C%2FA%3E%26nbsp%3B%26nbsp%3B-%20Distributed%20Application%20Runtime%20and%20the%20other%20project%20we%20will%20look%20into%20is%20the%20%3CA%20href%3D%22https%3A%2F%2Fopenservicemesh.io%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EOpen%20Service%20Mesh%3C%2FA%3E%26nbsp%3B.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CFONT%20size%3D%224%22%3EDapr%3C%2FFONT%3E%3CBR%20%2F%3E%3C%2FSTRONG%3E%3CBR%20%2F%3EDapr%20is%20an%20event%20driven%2C%20portable%26nbsp%3Bruntime%20for%20building%20microservices%20on%20cloud%20and%20edge.%20%3CBR%20%2F%3E%3CBR%20%2F%3EDapr%20facilitates%20the%20development%20of%20microservices%20by%20providing%20%3CU%3Eindependent%20building%20blocks%3C%2FU%3E%20like%20-%20State%20Management%2C%20Pub-Sub%2C%20Observability%2C%20Secrets%20and%20more%26nbsp%3B%20-%20which%20are%20encapsulated%20as%20the%20Dapr%20API%20-%20in%20a%20%3CU%3Eplatform-agnostic%20and%20language-agnostic%3C%2FU%3E%20manner.%20The%20independent%20nature%20of%20the%20building%20blocks%20lets%20you%20cherry-pick%20the%20set%20of%20features%20you%20want%20for%20your%20application%20and%20the%20platform-agnostic%20aspect%20gives%20you%20a%20wide%20spectrum%20of%20platforms%20to%20operate%20in%20ranging%20-%20from%20lean%20and%20resource-starved%20devices%20on%20the%20edge%26nbsp%3B%20-%20to%20-%26nbsp%3B%20power-packed%20%2C%20full%20fledged%20Azure%20Kubernetes%20Service%26nbsp%3B%20clusters%20in%20the%20cloud.%26nbsp%3B%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22daprbigpicture.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F222647i7C52FD6A7ADAF6E3%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22daprbigpicture.png%22%20alt%3D%22daprbigpicture.png%22%20%2F%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSTRONG%3ESidecar%20implementation%20in%20Dapr%20architecture%3CBR%20%2F%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20key%20advantage%20of%20using%20Dapr%26nbsp%3B%20is%20that%20the%20application%20utilizing%20it%20need%20not%20include%20any%20Dapr%26nbsp%3B%20runtime%20code.%20This%20advantage%20is%26nbsp%3B%20achieved%20by%20utilizing%20the%20-%20sidecar%20pattern.%20%3CBR%20%2F%3EThe%20core%20Dapr%20API%20itself%20is%26nbsp%3B%20exposed%20as%20a%20sidecar%20-%20either%20a%20sidecar%20process%20or%20a%20sidecar%20container.%20%3CBR%20%2F%3EIf%20it%20is%20a%20sidecar%20process%26nbsp%3B%20-%20the%20service%20code%20calls%20the%20Dapr%20API%20via%20HTTP%2FgRPC.%20%3CBR%20%2F%3EIn%20the%20world%20of%20containers%20orchestrated%20by%20Kubernetes%2C%20the%20Dapr%20API%20is%20a%20side%20car%20container%20itself%20-%20which%20is%20utilized%20by%20the%20application%20container%20within%20the%20same%20pod.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CEM%3EDiagrams%20from%20the%20the%20Dapr%20project's%20documentation%20as%20follows%20-%26nbsp%3B%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22process-sidecar.png%22%20style%3D%22width%3A%20781px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F222152i6B86017907444C5A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22process-sidecar.png%22%20alt%3D%22Image%201%20-%20Self%20hosted%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EImage%201%20-%20Self%20hosted%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22dapr-sidecar-kubernetes.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F222153i532D33FF9946FC53%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22dapr-sidecar-kubernetes.png%22%20alt%3D%22Image%202%20-%20Kubernetes%20hosted%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EImage%202%20-%20Kubernetes%20hosted%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ESo%2C%20the%20use%20case%20in%20-%20Dapr's%20case%20-%26nbsp%3B%20is%20where%20a%26nbsp%3B%3CSPAN%3Eprimary%20application%20uses%20a%20heterogeneous%20set%20of%20languages%20and%20frameworks%20and%20the%20component%20(Dapr%20API)%26nbsp%3B%20located%20in%20a%20sidecar%20service%20%2Fcontainer%20can%20be%20consumed%20by%20applications%20written%20in%20different%20languages%20using%20different%20frameworks.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CFONT%20size%3D%224%22%3E%3CSTRONG%3EOpen%20Service%20Mesh%20(OSM)%3C%2FSTRONG%3E%3C%2FFONT%3E%3CBR%20%2F%3E%3CBR%20%2F%3EOSM%20is%20a%20lightweight%20and%20extensible%20cloud%20native%20service%20mesh%20that%20runs%20on%20Kubernetes.%20This%20was%20a%20project%20initiated%20by%20Microsoft%20that%20has%20been%20now%20donated%20to%20the%20Cloud%20Native%20Computing%20Foundation%20(CNCF)%20where%20it%20is%20a%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fopenservicemesh.io%2Fblog%2Fopen-service-mesh-osm-accepted-into-cncf-as-a-sandbox-project%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3ESandbox%3C%2FA%3E%26nbsp%3B%20project%20-%20at%20the%20time%20of%20this%20writing.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3ESidecar%20implementation%20in%20OSM%20architecture%3CBR%20%2F%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EOSM%20onboards%20applications%20to%20the%20mesh%20by%20enabling%20the%20automatic%20sidecar%20injection%20of%20the%20Envoy%20proxy.%3CBR%20%2F%3EA%20look%20at%20%3CEM%3EImage%203%3C%2FEM%3E%20below%20%3CFONT%20size%3D%222%22%3E(source%3A%20OSM%20design%20doc)%26nbsp%3B%20-%26nbsp%3B%3CFONT%20size%3D%223%22%3Eshows%20the%20Envoy%20proxy%20already%20existing%20as%20sidecar%20container%20within%20the%20Kubernetes%20(k8s)%20pod.%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22osm-components-and-interactions.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F222154i6AC8383A0317B2B5%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22osm-components-and-interactions.png%22%20alt%3D%22Image%203%20-%20OSM%20Components%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EImage%203%20-%20OSM%20Components%3C%2FSPAN%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%3CFONT%20size%3D%223%22%3E%3CBR%20%2F%3E%3CSTRONG%3E%3CFONT%20size%3D%224%22%3ESidecar%20Container%20Injection%26nbsp%3B%3C%2FFONT%3E%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CBR%20%2F%3ETo%20elaborate%20on%20the%26nbsp%3B%20sidecar%20injection%20part%20-%20OSM%20utilizes%20a%20feature%20of%26nbsp%3B%20Kubernetes%20called%20%3CEM%3EMutatingAdmissionWebhook%26nbsp%3B%26nbsp%3B%3C%2FEM%3Eadmission%20controller%20to%20intercept%20the%20k8s%20API%20server%20request%20after%20the%20pod%20creation%20is%20initiated%26nbsp%3B%20but%20before%20the%20actual%26nbsp%3B%20%26nbsp%3Bpersistence%2Fcreation%20of%20the%20pod%20-%20to%20augment%20the%20request%20to%20include%20a%20Envoy%20proxy%20sidecar.%20This%20injection%20is%20done%20by%20the%20%5BWebhook%2BInjector%5D%20in%20the%20OSM%20Controller%20Pod.%20%3C%2FFONT%3ERefer%20Image%203%20above.%3CFONT%20size%3D%223%22%3E%20%3CBR%20%2F%3ENow%20the%20created%20pod%20has%20the%20Envoy%20proxy%20sidecar%20%3CEM%3Eautomatically%3C%2FEM%3E.%26nbsp%3B%3CBR%20%2F%3E%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EThis%20means%20the%20powerful%20features%20of%20Envoy%20like%26nbsp%3B%20-%20advanced%20load%20balancing%2C%20observability%2C%20rate%20limiting%20et.al.%20-%20are%20readily%20available%20to%20be%20utilized%20by%20each%20instance%20of%20the%20application%20and%20allowing%26nbsp%3B%20the%20services%20in%20the%20mesh%20to%20communicate%20with%20each%20other.%26nbsp%3B%3CBR%20%2F%3EThe%20separation%20of%20concerns%20between%20application's%20core%20functionality%20and%20Envoy's%20functionality%20%2B%20the%20ability%20of%20Envoy%20features%20to%20still%20be%20in%20proximity%20of%20the%20application%20is%20achieved%20via%20the%20sidecar%20pattern%20in%20the%20case%20of%20Open%20Service%20Mesh.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOn%20a%20similar%20note%20-%20in%20Dapr's%20case%20-%20subsequent%20to%20installation%20of%20Dapr%20in%20a%20Kubernetes%20environment%20-%26nbsp%3B%20it%20deploys%20a%20set%20of%20pods%20to%20the%20Default%20namespace.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorShankar1080_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Dapr-SideCar-Architecture.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F222627i3A05140B574A76D1%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Dapr-SideCar-Architecture.png%22%20alt%3D%22Image%204%20-%20Running%20Dapr%20on%20Kubernetes%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EImage%204%20-%20Running%20Dapr%20on%20Kubernetes%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EA%20couple%20of%20such%20pods%20-%20relevant%20to%20the%20premise%20of%20this%20article%26nbsp%3B%20-%26nbsp%3B%20are%20tabulated%20below%20-%26nbsp%3B%3C%2FP%3E%0A%3CTABLE%20border%3D%221%22%20width%3D%22100%25%22%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2250%25%22%3E%3CFONT%20size%3D%222%22%3E%3CSTRONG%3EPod%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FTD%3E%0A%3CTD%20width%3D%2250%25%22%3E%3CFONT%20size%3D%222%22%3E%3CSTRONG%3EResponsibility%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2250%25%22%3E%3CFONT%20size%3D%222%22%3Edapr-operator%3C%2FFONT%3E%3C%2FTD%3E%0A%3CTD%20width%3D%2250%25%22%3E%3CFONT%20size%3D%222%22%3EWatches%20for%20workload%20pods%20with%20Dapr%20annotations%20i.e.%20%5Bdapr.io%2Fenabled%3A%20true%5D%3C%2FFONT%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E%3CFONT%20size%3D%222%22%3Edapr-sidecar-injector%3C%2FFONT%3E%3C%2FTD%3E%0A%3CTD%3E%3CFONT%20size%3D%222%22%3EAugments%2C%20patches%20and%20injects%20the%20sidecar%20container%20to%20each%20annotated%20workload%20pod.%3C%2FFONT%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%3CBR%20%2F%3ESo%2C%20when%20you%20have%20your%20application%20workload's%20Kubernetes%20Deployment%20annotated%20with%20the%20requisite%20Dapr%20annotations%20-%20like%20%5Bdapr.io%2Fenabled%3A%20%22true%22%5D%20-%20the%26nbsp%3B%20Dapr%20side%20car%20injector%20pod%26nbsp%3B%20%5Bdapr-sidecar-injector%5D%20as%20tabulated%20above%26nbsp%3B%20-%26nbsp%3B%20kicks%20in%20and%20injects%20the%20container.%20Now%2C%20every%20app%20container%20has%20a%20companion%20Dapr%26nbsp%3B%20sidecar%20container%26nbsp%3B%20within%20the%20same%20pod%20-%20realizing%20the%20desired%20intent.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E------%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EI%20hope%20this%20has%20given%20you%20a%20bit%20more%20insight%26nbsp%3B%20into%20the%20Sidecar%20pattern%20and%20has%20also%20piqued%20your%20interest%20in%20both%26nbsp%3B%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdapr.io%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EDapr%3C%2FA%3E%20and%26nbsp%3B%20%3CA%20href%3D%22https%3A%2F%2Fopenservicemesh.io%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EOpen%20Service%20Mesh%3C%2FA%3E%26nbsp%3Bprojects!%3CBR%20%2F%3E%3CBR%20%2F%3EReferences%3A%3CBR%20%2F%3E1.%20Sidecar%20pattern%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Farchitecture%2Fpatterns%2Fsidecar%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Farchitecture%2Fpatterns%2Fsidecar%3C%2FA%3E%3CBR%20%2F%3E2.%20Dapr%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdapr.io%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fdapr.io%2F%3C%2FA%3E%3CBR%20%2F%3E3.%20Sidecar%20implementation%20in%20Dapr%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fdapr%2Fdocs%2Ftree%2Fmaster%2Foverview%23sidecar-architecture%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fdapr%2Fdocs%2Ftree%2Fmaster%2Foverview%23sidecar-architecture%3C%2FA%3E%3CBR%20%2F%3E4.%20Open%20Service%20Mesh(OSM)%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fopenservicemesh.io%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fopenservicemesh.io%2F%3C%2FA%3E%3CBR%20%2F%3E5.%20OSM%20component%20and%20interactions%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fopenservicemesh%2Fosm%2Fblob%2Fmain%2FDESIGN.md%23osm-components--interactions%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fopenservicemesh%2Fosm%2Fblob%2Fmain%2FDESIGN.md%23osm-components--interactions%3C%2FA%3E%3CBR%20%2F%3E6.%20Kubernetes%20Admission%20Controllers%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fkubernetes.io%2Fdocs%2Freference%2Faccess-authn-authz%2Fadmission-controllers%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fkubernetes.io%2Fdocs%2Freference%2Faccess-authn-authz%2Fadmission-controllers%2F%3C%2FA%3E%3CBR%20%2F%3E7.%26nbsp%3B%20OSM%20MutatingWebhookConfiguration%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fopenservicemesh%2Fosm%2Fblob%2Frelease-v0.3%2Fcharts%2Fosm%2Ftemplates%2Fmutatingwebhook.yaml%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fopenservicemesh%2Fosm%2Fblob%2Frelease-v0.3%2Fcharts%2Fosm%2Ftemplates%2Fmutatingwebhook.yaml%3C%2FA%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23008000%22%3E%3CSTRONG%3E%3CFONT%20size%3D%222%22%3ENote%20-%20All%20images%20used%20in%20this%20article%20are%20from%20respective%20project%20documentations%2C%20the%20links%20to%20which%20are%20referenced%20above.%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FFONT%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1714983%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22teaser.PNG%22%20style%3D%22width%3A%20876px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F222122iB05262CCDE7B61CD%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22teaser.PNG%22%20alt%3D%22The%20Sidecar%20pattern%20as%20implemented%20in%20a%20couple%20of%20OSS%20projects.%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EThe%20Sidecar%20pattern%20as%20implemented%20in%20a%20couple%20of%20OSS%20projects.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1714983%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Edapr%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Edesign%20pattern%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eopen%20service%20mesh%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eosm%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESidecar%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎Sep 29 2020 08:59 PM
Updated by: