<p>What is the purpose of args if one could specify all arguments using command in kubernetes manifest file?
for example i can use below syntax which totally negates the usage of the args.</p>
<pre><code>command: [ &quot;bin/bash&quot;, &quot;-c&quot;, &quot;mycommand&quot; ]
</code></pre>
<p>or also</p>
<pre><code>command:
  - &quot;bin/bash&quot;
  - &quot;-c&quot;
  - &quot;mycommand&quot;
</code></pre>

quicksilver
<p>The main reason to use <code>args:</code> instead of <code>command:</code> is if the container has a specific entrypoint directive that you don't want to change. For example if the Dockerfile has <code>ENTRYPOINT [&quot;/myapp&quot;]</code> you might put <code>args: [--log-level=debug]</code> to add that one argument without changing the path to the binary. In many cases it isn't relevant though and you just use <code>command:</code> to do it all at once.</p>
