<p>I have the following Deployment... </p>

<pre><code>apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: socket-server-deployment
spec:
  replicas: 1
  template:
    metadata:
      labels:
        app: socket-server
    spec:
        containers:
        - name: socket-server
          image: gcr.io/project-haswell-recon/socket-server:production-production-2
          env:
          - name: PORT
            value: 80
          ports:
          - containerPort: 80
</code></pre>

<p>But I get the following error when I run <code>kubectl create -f ./scripts/deployment.yml --namespace production</code> </p>

<p><code>Error from server (BadRequest): error when creating "./scripts/deployment.yml": Deployment in version "v1beta1" cannot be handled as a Deployment: [pos 321]: json: expect char '"' but got char '8'</code></p>

<p>I pretty much copy and pasted this deployment from a previous working deployment, and altered a few details so I'm at a loss as to what this could be. </p>

<p>The problem is with the number <code>80</code>. Here it's within an <code>EnvVar</code> context, so it has to be of type <code>string</code> and not <code>int</code></p>
