`az aks check-acr`
See original GitHub issueThis is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az aks check-acr
Errors:
The command failed with an unexpected error. Here is the traceback:
'serverVersion'
Traceback (most recent call last):
File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 231, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 658, in execute
raise ex
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 721, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 692, in _run_job
result = cmd_copy(params)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
return self.handler(*args, **kwargs)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/acs/custom.py", line 1649, in aks_check_acr
kubectl_version["serverVersion"]["minor"])
KeyError: 'serverVersion'
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- Put any pre-requisite steps here…
az aks check-acr --name {} --resource-group {} --acr {}
Expected Behavior
Environment Summary
Linux-5.4.0-1070-azure-x86_64-with-debian-10.2 (Cloud Shell), Common Base Linux Delridge (quinault)
Python 3.6.10
Installer: DEB
azure-cli 2.33.1
Extensions:
azure-devops 0.20.0
ai-examples 0.2.5
ssh 1.0.0
Dependencies:
msal 1.16.0
azure-mgmt-resource 20.0.0
Additional Context
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
az aks check-acr error, AKS cannot pull image from container ...
Our managed AKS cluster is unable to pull a new image from our container registry. I have tried everything listed in ...
Read more >az aks | Microsoft Learn
Show the dashboard for a Kubernetes cluster in a web browser. az aks check-acr. Validate an ACR is accessible from an AKS cluster....
Read more >how to view attached ACR in AKS clusters in Azure
The az aks check-acr command checks if a certain ACR is available from a specific AKS. You have to provide both the ACR...
Read more >Azure AKS Pull ACR using Service Principal - STACKSIMPLIFY
Pull Docker Images from Azure Container Registry using Service Principal to Azure AKS Node pools.
Read more >Lab 09: Configuring and Securing ACR and AKS - GitHub Pages
Verify with your instructor this is the region to use for class. ... az acr create --resource-group AZ500LAB09 --name az500$RANDOM$RANDOM --sku Basic.
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 FreeTop 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
Top GitHub Comments
Yes, everything is fine.
On Mon, May 23, 2022, 19:31 msftbot[bot] @.***> wrote:
Thank you for the confirmation @heyitsmekishore