<p>I'm trying to create a migration but it's failing with the below error:</p>

<pre><code>Error from server (BadRequest): error when creating "kubernetes/migration-job.yaml": Job in version "v1" cannot be handled as a Job: v1.Job: Spec: v1.JobSpec:
</code></pre>

<p>What is the cause of this error?</p>

<p>The issue was to do with one of the yaml fields:</p>

<pre><code>env:
  - name: DB_HOST
    value: "mysql"
  - name: DB_PORT
    value: 3306
</code></pre>

<p><code>3306</code> should be a string (<code>"3306</code>") instead... </p>
