az aks update: error: argument --api-server-authorized-ip-ranges: expected one argument
See original GitHub issueWhen running the aks update for authorized IP range i am getting the below error
az aks update --resource-group aks-poc-seab
–name aksseabpoc `
–api-server-authorized-ip-ranges
az aks update: error: argument --api-server-authorized-ip-ranges: expected one argument
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (7 by maintainers)
Top Results From Across the Web
API server authorized IP ranges in Azure Kubernetes ...
Create a cluster using the az aks create and specify the --api-server-authorized-ip-ranges parameter to provide a list of authorized IP address ...
Read more >az network lb rule create: error: argument --resource-group/-g
One more question, when I set up Standard Loadbalancer for MultiAZ AKS, it creates two Backend Pool: "kubernetes" and "aksOutboundBackendPool".
Read more >Ensure AKS API server defines authorized IP ranges
Error: AKS API server does not define authorized IP ranges Bridgecrew Policy ID: ... ContainerService/managedClusters; Argument: apiServerAuthorizedIPRanges.
Read more >ArgumentUsageError -d expected one argument in release ...
Getting this error when trying to run a release pipeline in devops. Could someone point me in the right direction in getting it...
Read more >Getting started with Terraform and Kubernetes on Azure AKS
Notice the required arguments for creating a cluster: the name and resource group. ... If needed, you can modify the cluster with the...
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

@nidiculageorge @pvasek Are you using Powershell? You can pass
--api-server-authorized-ip-ranges=instead of--api-server-authorized-ip-ranges ""for empty string. Powershell has known issues to strip double quotes when passing parameters in a batch script which is what our az.cmd/az.bat does.A more general workaround is to replace one double quotes with three double quotes
--api-server-authorized-ip-ranges """"""or add stop-parsing symbol--%afteraz:az --% aks update --resource-group myResourceGroup --name myAKSCluster --api-server-authorized-ip-ranges "". More about quoting issues in our doc.Hello Team,
The above command worked fine .Thanks team.