Skip to content

Commit 1d562e5

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

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

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

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ kubectl exec -it <pod-name> -- ping <target-ip>
109109
kubectl exec -it <pod-name> -- nslookup kubernetes.default
110110
```
111111

112-
Another option to test node-to-node or pod-to-pod connectivity is to use the open-source [goldpinger](https://github.com/bloomberg/goldpinger) tool.
112+
Another option is to use the open-source [goldpinger](https://github.com/bloomberg/goldpinger) tool.
113113

114114
2. **Check network plugin status**
115115

@@ -291,10 +291,20 @@ Common causes include:
291291

292292
Possible solutions include:
293293

294-
- Verify that the `--dns-service-ip` value matches the actual DNS service. To verify, run the following command: `kubectl get svc -n kube-system kube-dns -o jsonpath='{.spec.clusterIP}'`.
294+
- Verify that the `--dns-service-ip` value matches the actual DNS service. To verify, run the following command:
295+
296+
```powershell
297+
kubectl get svc -n kube-system kube-dns -o jsonpath='{.spec.clusterIP}'
298+
```
299+
295300
- Make sure that the DNS service IP is within the service CIDR range specified during cluster creation.
296301
- Check whether Karpenter nodes can reach the service subnets
297-
- Restart `CoreDNS pods` if they're in an error state. To restart, run the following command: `kubectl rollout restart deployment/coredns -n kube-system`
302+
- Restart `CoreDNS pods` if they're in an error state. To restart, run the following command:
303+
304+
```powershell
305+
kubectl rollout restart deployment/coredns -n kube-system
306+
```
307+
298308
- Verify that NSG rules allow traffic on port 53 (TCP/User Datagram Protocol (UDP)).
299309
- Run a connectivity analysis by using the [Azure Virtual Network Verifier](/azure/virtual-network-manager/overview) to verify outbound connectivity.
300310

0 commit comments

Comments
 (0)