<p>Had created a simple hello world Azure Functions QueueTrigger and when tried to deploy using the below command, got the highlighted error</p>

<pre><code>$ sudo func kubernetes deploy --name myfunction --namespace functions-ns --registry myregistry
</code></pre>

<blockquote>
  <p>error: unable to recognize "STDIN": no matches for kind "ScaledObject"
  in version "keda.k8s.io/v1alpha1"</p>
</blockquote>

<p>Running the below command resolved the issue:</p>

<p><code>func kubernetes install --namespace {a namespace}</code></p>

<p>More details <a href="https://github.com/kedacore/keda/wiki/Using-Azure-Functions-with-Keda-and-Osiris" rel="nofollow noreferrer">here</a>.</p>
