az aks command invoke fails with "Failed to run command due to cluster perf issue"

Rohit Gokhale 6 Reputation points
2022-06-07T09:51:27.863+00:00

Hi Guys,

"az aks command invoke" stopped working with below error for all of our clusters across multiple subscriptions.

az aks command invoke --resource-group actual_resource_group --name actual_cluster_name --command "kubectl get ns"

(KubernetesOperationError) Failed to run command due to cluster perf issue, container command-3d0c9dea7b2e4db9b920114f3942bba4 in aks-command namespace did not start within 30s on your cluster, retry may helps. If issue persist, you may need to tune your cluster with better performance (larger node/paid tier).
Code: KubernetesOperationError
Message: Failed to run command due to cluster perf issue, container command-3d0c9dea7b2e4db9b920114f3942bba4 in aks-command namespace did not start within 30s on your cluster, retry may helps. If issue persist, you may need to tune your cluster with better performance (larger node/paid tier).

Is anyone else experiencing same issue ? It is happening for more than 24 hours for us.

I suspect performance issue error is misleading and underlaying cause could be different.

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,885 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Rohit Gokhale 6 Reputation points
    2022-06-08T10:20:37.253+00:00

  2. KarishmaTiwari-MSFT 18,627 Reputation points Microsoft Employee
    2022-06-10T21:48:44.233+00:00

    This issue was a product bug and has been fixed. More details can be found here as shared by the customer https://github.com/Azure/azure-cli/issues/22738:

    0 comments No comments