aks pod identity tutorial cannot create the proper aks any help !
See original GitHub issueThis is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az aks create
Errors:
cannot import name 'edge_zone_type'
Traceback (most recent call last):
lib/python3.6/site-packages/knack/cli.py, ln 231, in invoke
cmd_result = self.invocation.execute(args)
azure/cli/core/commands/__init__.py, ln 556, in execute
self.commands_loader.load_arguments(command)
site-packages/azure/cli/core/__init__.py, ln 502, in load_arguments
loader.load_arguments(command) # this adds entries to the argument registries
.azure/cliextensions/aks-preview/azext_aks_preview/__init__.py, ln 47, in load_arguments
from ._params import load_arguments
.azure/cliextensions/aks-preview/azext_aks_preview/_params.py, ln 12, in <module>
from azure.cli.core.commands.parameters import (
ImportError: cannot import name 'edge_zone_type'
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 create -g {} -n {} --enable-pod-identity --network-plugin {}
Expected Behavior
Environment Summary
Linux-4.15.0-153-generic-x86_64-with-debian-buster-sid
Python 3.6.10
Installer: DEB
azure-cli 2.22.1 *
Extensions:
storage-preview 0.7.3
azure-devops 0.20.0
aks-preview 0.5.41
account 0.2.1
Additional Context
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Use Azure Active Directory pod-managed identities in Azure ...
Learn how to use Azure AD pod-managed identities in Azure Kubernetes Service (AKS)
Read more >Use AAD Authentication for Pods running in AKS
AAD Pod Identity allows you to authenticate your applications inside an AKS cluster without a password against Azure Active Directory.
Read more >Azure/aad-pod-identity: [DEPRECATED] Assign ... - GitHub
Going forward, we will no longer add new features to this project in favor of Azure Workload Identity. We will continue to provide...
Read more >Untangling AKS, Managed Identity and Key Vault | Notes to self
We need to deploy an identity and identity binding to the cluster. These Kubernetes resources will be used by the MIC to find...
Read more >Implementing Azure AD Pod Identity in AKS Cluster
As organizations start to create and maintain clusters in AKS (Azure Kubernetes Service), they also need to use cloud-based identity and access management ......
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
thanks all for replying im clossing this issue its like you said the problem was azure-cli version
We recently refactored azure-cli and aks-preview, now aks-preview directly depends on azure-cli, the following are the dependencies between the two. And we are sorry about missing incompatibility hints between some versions.