Skip to content

Commit 3289447

Browse files
authored
Merge pull request #194651 from anraghun/troubleshooting-update
Added Helm Timeout Troubleshooting Steps
2 parents 167a1fc + 99ef1bd commit 3289447

File tree

1 file changed

+39
-1
lines changed

1 file changed

+39
-1
lines changed

articles/azure-arc/kubernetes/troubleshooting.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,46 @@ az connectedk8s connect --resource-group AzureArc --name AzureArcCluster
127127
Ensure that you have the latest helm version installed before proceeding to avoid unexpected errors.
128128
This operation might take a while...
129129
```
130+
### Helm timeout error
130131

131-
### Helm issue
132+
```azurecli
133+
az connectedk8s connect -n AzureArcTest -g AzureArcTest
134+
```
135+
136+
```output
137+
Unable to install helm release: Error: UPGRADE Failed: time out waiting for the condition
138+
```
139+
140+
If you get the above helm timeout issue, you can troubleshoot as follows:
141+
142+
1. Run the following command:
143+
144+
```console
145+
kubectl get pods -n azure-arc
146+
```
147+
2. Check if the `clusterconnect-agent` or the `config-agent` pods are showing crashloopbackoff, or not all containers are running:
148+
149+
```output
150+
NAME READY STATUS RESTARTS AGE
151+
cluster-metadata-operator-664bc5f4d-chgkl 2/2 Running 0 4m14s
152+
clusterconnect-agent-7cb8b565c7-wklsh 2/3 CrashLoopBackOff 0 1m15s
153+
clusteridentityoperator-76d645d8bf-5qx5c 2/2 Running 0 4m15s
154+
config-agent-65d5df564f-lffqm 1/2 CrashLoopBackOff 0 1m14s
155+
```
156+
3. If the below certificate isn't present, the system assigned managed identity didn't get installed.
157+
158+
```console
159+
kubectl get secret -n azure-arc -o yaml | grep name:
160+
```
161+
162+
```output
163+
name: azure-identity-certificate
164+
```
165+
This could be a transient issue. You can try deleting the Arc deployment by running the `az connectedk8s delete` command and reinstalling it. If you're consistently facing this, it could be an issue with your proxy settings. Please follow [these steps](./quickstart-connect-cluster.md#connect-using-an-outbound-proxy-server) to connect your cluster to Arc via a proxy.
166+
4. If the `clusterconnect-agent` and the `config-agent` pods are running, but the `kube-aad-proxy` pod is missing, check your pod security policies. This pod uses the `azure-arc-kube-aad-proxy-sa` service account, which doesn't have admin permissions but requires the permission to mount host path.
167+
168+
169+
### Helm validation error
132170

133171
Helm `v3.3.0-rc.1` version has an [issue](https://github.com/helm/helm/pull/8527) where helm install/upgrade (used by `connectedk8s` CLI extension) results in running of all hooks leading to the following error:
134172

0 commit comments

Comments
 (0)