question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enabling KEDA fails as it's behind a preview flag

See original GitHub issue

Describe the bug Enabling KEDA fails as it’s behind a preview flag

To Reproduce Steps to reproduce the behavior:

  1. Go to Addon Details
  2. Enable “KEDA : Enable Kubernetes Event-driven Autoscaling (KEDA) on the AKS Cluster”

{ "status": "Failed", "error": { "code": "BadRequest", "message": "Feature Microsoft.ContainerService/AKS-KedaPreview is not enabled. Please see https://aka.ms/aks/previews for how to enable features." } }

Expected behavior Setup the Preview flag OR warn the user that it needs to enable the preview flag for KEDA : https://docs.microsoft.com/en-us/azure/aks/keda-deploy-add-on-arm#register-the-aks-kedapreview-feature-flag

az feature register --name AKS-KedaPreview --namespace Microsoft.ContainerService Screenshots image

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
naiojacommented, Sep 16, 2022

For example for KEDA if it’s enabled as a deployment feature we can add a check if the provider is enabled az feature list -o table --query "[?contains(name, 'Microsoft.ContainerService/AKS-KedaPreview')].{Name:name,State:properties.state}" and if that’s false then user can enable it: az feature register --name AKS-KedaPreview --namespace Microsoft.ContainerService

1reaction
Gordonbycommented, Sep 16, 2022

Yep. I think we can probably add an extra link to the Helper (that you mentioned above) to give users a steer 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting - KEDA
If while setting up KEDA, you get an error: (v1beta1.external.metrics.k8s.io) status FailedDiscoveryCheck with a message: failing or missing response from ...
Read more >
azure-docs/keda-deploy-add-on-cli.md at main - aks - GitHub
To use the KEDA, you must enable the AKS-KedaPreview feature flag on your subscription. az feature register --name AKS-KedaPreview ...
Read more >
Common issues when running Dapr
If using Dapr Standalone and the Dapr CLI, make sure you pass the --app-port flag to the dapr run command. My Dapr-enabled app...
Read more >
Kubernetes Event-driven Autoscaling (KEDA) (Preview)
KEDA can be added to your Azure Kubernetes Service (AKS) cluster by enabling the KEDA add-on using an ARM template or Azure CLI....
Read more >
Kubernetes 1.23 - What's new? - New features and deprecations
Removed the --experimental-bootstrap-kubeconfig flag. Deprecated the VolumeSubpath feature gate, cannot be disabled. Removed the “update-cluster ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found