Skip to content

Commit 45e484c

Browse files
Update troubleshoot-node-auto-provision.md
1 parent 1d562e5 commit 45e484c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

support/azure/azure-kubernetes/extensions/troubleshoot-node-auto-provision.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,15 +293,15 @@ Possible solutions include:
293293

294294
- Verify that the `--dns-service-ip` value matches the actual DNS service. To verify, run the following command:
295295

296-
```powershell
296+
```azurecli-interactive
297297
kubectl get svc -n kube-system kube-dns -o jsonpath='{.spec.clusterIP}'
298298
```
299299

300300
- Make sure that the DNS service IP is within the service CIDR range specified during cluster creation.
301301
- Check whether Karpenter nodes can reach the service subnets
302302
- Restart `CoreDNS pods` if they're in an error state. To restart, run the following command:
303303

304-
```powershell
304+
```azurecli-interactive
305305
kubectl rollout restart deployment/coredns -n kube-system
306306
```
307307

0 commit comments

Comments
 (0)