title: How to set multiple commands in one yaml file with Kubernetes?
body: <p>In this official document, it can run command in a yaml config file:</p>
  
  <blockquote>
    <p><a href="https://kubernetes.io/docs/tasks/configure-pod-container/" rel="noreferrer">https://kubernetes.io/docs/tasks/configure-pod-container/</a></p>
  </blockquote>
  
  <pre><code>apiVersion: v1
  kind: Pod
  metadata:
    name: hello-world
  spec:  # specification of the pod’s contents
    restartPolicy: Never
    containers:
    - name: hello
      image: "ubuntu:14.04"
      env:
      - name: MESSAGE
        value: "hello world"
      command: ["/bin/sh","-c"]
      args: ["/bin/echo \"${MESSAGE}\""]
  </code></pre>
  
  <p>If I want to run more than one command, how to do?</p>