<p>I have been trying to figure this out for a few hours. I cant see what is causing this issue. It appears to be something with line 10 of the YAML. I have tried with and without quotes and starting a new file in case there was some corrupt values.</p>

<pre><code>apiVersion: apps/v1
kind: Deployment
metadata:
  name: "foyer-api"
  namespace: "foyer-api"
spec:
   replicas: 3
   selector:
     matchLabels:
       app: "foyer-api"
    template:
      metadata:
        labels:
          app: "foyer-api"
      spec:
        containers:
        - image: foyer-api
         imagePullPolicy: Always
          name: "foyer-api"
          ports:
          - containerPort: 80
</code></pre>

Michael McDermott
<p>This error occurs mostly when copy-and-pasting into a yaml which might cause syntax error.</p>
<p>Consider pasting the yaml in YAML Linters (for example <a href="http://www.yamllint.com/" rel="nofollow noreferrer">this</a> one) that in some cases help to identify the problem more quickly.</p>
