'KEDA keda/keda-operator-metrics-apiserver FailedDiscoveryCheck

Recently I have set up a self-managed Kubernetes cluster on AWS EC2 using Kubespray. I am using KEDA for the autoscaling. After the installation of KEDA, api-service keda/keda-operator-metrics-apiserver is failed with the FailedDiscoveryCheck error. After searching for a while I found this link stating to add no_proxy variable in the kube-apiserver.yaml file.

here is what I did,

   env:
      - name: no_proxy
        value: xx.xx.xx.xx
      - name: NO_PROXY
        value: xx.xx.xx.xx

But the issue still persists. wondering if I have missed something.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source