<p>I'm getting an error</p>

<blockquote>
  <p>"error: unable to recognize "harbor.yaml": no matches for kind "Deployment" in version "v1.10."</p>
</blockquote>

<p>What should I use in version variable, while writing the YAML, please tell?</p>

user11425404
<p>I really don't know about Harbor but if it is related to kubernetes deployment definition yaml, in kubernetes's documentation it says deployment version would be like this:</p>

<pre><code>...
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
...
</code></pre>

<p>links: <a href="https://raw.githubusercontent.com/kubernetes/website/master/content/en/examples/application/deployment.yaml" rel="nofollow noreferrer">this</a> and <a href="https://kubernetes.io/docs/tasks/run-application/run-stateless-application-deployment/" rel="nofollow noreferrer">this</a></p>
