<p>I have in docker-compose YAML the following command segment:</p>
<pre><code>  command:
  - /opt/sbin/demo_start
  - demo_start
  - '-unicode'
  - '-db_server test01'
</code></pre>
<p>I now need to convert that into YAML format for K8S, but I am really not sure how this should be done.</p>
<pre><code>command: [&quot;/opt/sbin/demo_start&quot;]
args: [&quot;demo_start&quot;, &quot;-unicode&quot;,&quot;-db_server test01&quot;]
</code></pre>
<p>p.s.- unfortunately I cannot test it, I need to deliver the prepared YAML to my admin with permissions, but I am really not sure if the above is correct.
Thanks</p>

<p>You can do it like this:</p>
<pre><code>spec:
  containers:
  - args:
    - /opt/sbin/demo_start
    - demo_start
    - -unicode
    - -db_server test01
</code></pre>
