Installation of Azure Arc agents on the Kubernetes cluster fail with an error: client rate limiter Wait returned an error: context deadline exceeded

Bindu 0 Reputation points
2024-08-08T10:54:13.24+00:00

Hi,

I have been trying to Arc-enable Kubernetes Cluster to set up locally on my system (Ubuntu) using Azure CLI.

I am referring to the instructions from https://zcusa.951200.xyz/en-gb/azure/iot-operations/get-started-end-to-end-sample/quickstart-deploy

az connectedk8s connect isn't successful and I see

Step: 2024-08-08T08-03-45Z: Checking Microsoft.ExtendedLocation RP Registration state for this Subscription, and get OID, if registered

Step: 2024-08-08T08-03-46Z: Starting to install Azure arc agents on the Kubernetes cluster.

Please check if the azure-arc namespace was deployed and run 'kubectl get pods -n azure-arc' to check if all the pods are in running state. A possible cause for pods stuck in pending state could be insufficient resources on the kubernetes cluster to onboard to arc.

Unable to install helm release: Error: client rate limiter Wait returned an error: context deadline exceeded

All the Pods states are set to running.

However, connect or enable-features fail with an Error - context deadline exceeded

Could anyone tell me what is the issue here?

Thanks

Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
456 questions
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.
2,207 questions
Azure IoT Operations
Azure IoT Operations
Azure IoT Operations is a set of modular services enabled by Azure Arc.
34 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 27,251 Reputation points
    2024-08-20T05:32:31.3666667+00:00

    Hello @Bindu

    Azure CLI is timing out while trying to install the Azure Arc agents on your Kubernetes cluster. This could sometimes also be due to a slow internet connection or insufficient resources on your Kubernetes cluster. Please review following suggestions

    Ensure that you have the latest version of Helm installed on your machine. You can check the version by running the command helm version

    Similar issue has been discussed on the below

    https://github.com/helm/helm/issues/12154

    https://zcusa.951200.xyz/en-us/answers/questions/1572516/having-problem-deploying-wordpress-on-aks-need-som

    You can also try running the kubectl get events command to check if there are any events related to the Azure Arc agents installation that might provide more information about the issue.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.