<p>I have a kubernetes cluster running on coreos.  I wish to run journal2gelf <a href="https://github.com/systemd/journal2gelf" rel="noreferrer">https://github.com/systemd/journal2gelf</a> in a container in a pod I call logging.  (I also have a fluentd container in this pod, which works great, I highly recommend it for streaming logs elsewhere).  Is it possible to configure a pod to allow essentially this:</p>

<pre><code>journalctl -o json -f | docker run &lt;my journal2gelf image&gt; -d -p $GRAYLOG_PORT
</code></pre>

<p>but within the <code>containers:</code> key in a replication controller config? And in general can kubernetes allow piping to a container?</p>

<p>This will let you send stdin to a container:</p>

<p><code>kubectl exec -i POD_NAME COMMAND</code></p>

<p>Or</p>

<p><code>kubectl attach -i POD_NAME</code></p>

<p>But there isn't a good way to define to stdin sent to all containers in a pod, or all containers spawned by a replication controller</p>
