Replies: 4 comments
-
Yes, see https://docs.structurizr.com/dsl/cookbook/shared-components/ for details. |
Beta Was this translation helpful? Give feedback.
-
yes, I've seen that one. this way all of the services for which I need to "attach" a sidecar (the one that's shared) point to a single sidecar. |
Beta Was this translation helpful? Give feedback.
-
let me prepare an example later today |
Beta Was this translation helpful? Give feedback.
-
Here's an example that throws workspace.dsl: A container named 'PDP' already exists for this software system at line 1:
The
Basically, the system has a PDP service which is going to be deployed along with any service as a sidecar. The PDP container is equal for all of the services, but obviously it will be deployed as different instance for every service's k8s pod. |
Beta Was this translation helpful? Give feedback.
-
Let's say I have a service which is going to be a sidecar for every service in k8s. So, I have a component in a separate file
shared.dsl
:and now I need to put this same container next to different services as a sidecar. How do I do that?
I've tried the following:
Is there any way I could do this?
Beta Was this translation helpful? Give feedback.
All reactions