<p>After reading your Q&amp;A I think that you are looking for a message broker like kafka, rabbitmq or Amazon MQ. Please let me know whether this helps.</p>

CC BY-SA 4.0
2020-01-02T22:36:47.510Z
2020-01-02T22:36:47.510Z
030
<p>As part of my architecture, I want to create a deployment/service on my kubernetes cluster which reads message queues and open dockerized subscribers and then subsequently relay message to the original subscriber (if its an RPC pattern).</p>

<p>I was wondering what would be the best workflow to ensure minimal latency (esp since some workflows are RPC).</p>

<ol>
<li>I can create kubernetes JOBs but that would mean i read logs for the output of pods which would be relayed and then subsequently delete the job . But I worry this might be an overkill</li>
<li>I can volume share the docker socket and my service can then run my images using docker client. But I am not if thats the right way to do so given that i would like to have proper tracking/versioning of my docker images esp since nodes on clusters are disposable</li>
<li>Are there existing frameworks to handle my situation.</li>
</ol>

<kubernetes>
Run docker applications within a kubernetes cluster
Soyeed
# Run docker applications within a kubernetes cluster

(Asked by: username_0 on 2019-10-07)

As part of my architecture, I want to create a deployment/service on my kubernetes cluster which reads message queues and open dockerized subscribers and then subsequently relay message to the original subscriber (if its an RPC pattern).

I was wondering what would be the best workflow to ensure minimal latency (esp since some workflows are RPC).

1. I can create kubernetes JOBs but that would mean i read logs for the output of pods which would be relayed and then subsequently delete the job . But I worry this might be an overkill
2. I can volume share the docker socket and my service can then run my images using docker client. But I am not if thats the right way to do so given that i would like to have proper tracking/versioning of my docker images esp since nodes on clusters are disposable
3. Are there existing frameworks to handle my situation.

**Tags:** kubernetes


---

## 1 answers

### Answer by username_1 on 2020-01-02. Score: 1

After reading your Q&A I think that you are looking for a message broker like kafka, rabbitmq or Amazon MQ. Please let me know whether this helps.


---

