<p>i am not able to install "Keda" with helm on AKS. Getting below error..</p>

<p>Any help is greatly appreciated. </p>

<pre><code>Error: unable to convert to CRD type: unable to convert unstructured object to apiextensions.k8s.io/v1beta1, Kind=CustomResourceDefinition: cannot convert int64 to float64
</code></pre>

Paramesh
<p>I made a reproduction of your problem and that is the solution</p>

<p>You need to use </p>

<pre><code>helm fetch kedacore/keda-edge --devel
</code></pre>

<p>To download keda files to your pc</p>

<p>Unzip it</p>

<pre><code>tar -xvzf keda-edge-xxx.tgz
</code></pre>

<p>Then you need to change <a href="https://github.com/helm/helm/blob/master/docs/charts_hooks.md#hooks" rel="nofollow noreferrer">hook</a> in scaledobject-crd.yaml</p>

<pre><code>nano keda-edge/templates/scaledobject-crd.yaml

"helm.sh/hook": crd-install need to be changed to "helm.sh/hook": pre-install
</code></pre>

<p>And install it will helm</p>

<pre><code>helm install ./keda-edge --name keda


NAME:   keda
LAST DEPLOYED: Mon Sep 30 12:13:14 2019
NAMESPACE: default
STATUS: DEPLOYED

RESOURCES:
==&gt; v1/ClusterRoleBinding
NAME                           AGE
hpa-controller-custom-metrics  1s
keda-keda-edge                 1s

==&gt; v1/Deployment
NAME            READY  UP-TO-DATE  AVAILABLE  AGE
keda-keda-edge  0/1    1           0          1s

==&gt; v1/Pod(related)
NAME                             READY  STATUS             RESTARTS  AGE
keda-keda-edge-6b55bf7674-j5kgc  0/1    ContainerCreating  0         0s

==&gt; v1/Service
NAME            TYPE       CLUSTER-IP     EXTERNAL-IP  PORT(S)         AGE
keda-keda-edge  ClusterIP  10.110.59.143  &lt;none&gt;       443/TCP,80/TCP  1s

==&gt; v1/ServiceAccount
NAME                 SECRETS  AGE
keda-serviceaccount  1        1s

==&gt; v1beta1/APIService
NAME                             AGE
v1beta1.external.metrics.k8s.io  0s
</code></pre>
