Enabling KEDA fails as it's behind a preview flag
See original GitHub issueDescribe the bug Enabling KEDA fails as it’s behind a preview flag
To Reproduce Steps to reproduce the behavior:
- Go to Addon Details
- 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
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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
Yep. I think we can probably add an extra link to the Helper (that you mentioned above) to give users a steer 👍