<p>Trying to figure out how do I create multicontainer pod from terminal with kubectl without yaml config of any resource 
tried <code>kubectl run --image=redis --image=nginx</code> but second --image just overrides the first one .. :)</p>

Chetanya Chopra
<p>You can't do this in a single <code>kubectl</code> command, but you could do it in two: using a <code>kubectl run</code> command followed by a <code>kubectl patch</code> command:</p>

<pre><code>kubectl run mypod --image redis &amp;&amp; kubectl patch deploy mypod --patch '{"spec": {"template": {"spec": {"containers": [{"name": "patch-demo", "image": "nginx"}]}}}}'
</code></pre>
