How to select a Dev Spaces controller in Azure AKS

5/28/2019

I'm setting up a testing environment and want to deploy our services to a k8s cluster using Dev Spaces.

Following this tutorial i got stuck when trying to run the code. After running the cmd "azds up" i got the error "No Azure Dev Spaces controller is selected. Run 'az aks use-dev-spaces' to get started."

Unfortunatelly this doesn't solve this issue. There is a controller in the Resource group in Azure which also contain the AKS and in the AKS, Dev Spaces is activated.

Any suggestions to at least come closer to a solution?

-- Paddy
azure-dev-spaces
kubernetes

1 Answer

5/29/2019

For some reason i had to manually select the controller and the space using the CLI.

azds controller select -g <resourceGroup> -n <controllerName>
azds space select
-- Paddy
Source: StackOverflow