Skip to content

Update resolve-az-aks-command-invoke-failures.md #1876

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: Resolve az aks command invoke failures
description: Resolve az aks command invoke failures in Azure CLI when you try to access a private Azure Kubernetes Service (AKS) cluster.
ms.date: 10/25/2024
ms.reviewer: chiragpa, andbar, haitch, momajed, v-leedennis, v-weizhu
ms.date: 05/13/2025
ms.reviewer: chiragpa, andbar, haitch, momajed, albarqaw, v-leedennis, v-weizhu
ms.service: azure-kubernetes-service
ms.custom: sap:Connectivity, devx-track-azurecli
#Customer intent: As an Azure Kubernetes user, I want to resolve az aks command invoke failures in Azure CLI so that I can successfully connect to my private Azure Kubernetes Service (AKS) cluster.
Expand Down Expand Up @@ -46,8 +46,16 @@ The operation returns a `Not Found` status because the `command-<ID>` pod can't

- Resource constraints
- Nodes that have a `NotReady` or `SchedulingDisabled` state
- Nodes that have taints that the pod can't tolerate
- Nodes that have taints that the pod can't tolerate
- Other causes

Here are sample error messages for `KubernetesPerformanceError` or `KubernetesOperationError`:

```output
(KubernetesPerformanceError) Failed to run command due to cluster perf issue, container command-357ebsdfsd342869 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: KubernetesPerformanceError
Message: Failed to run command due to cluster perf issue, container command-357ebc50d40c47a4a247ab6e067d2869 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).
```

#### Solution 1: Change the configuration so that you can schedule and run the pod

Expand Down