Difference between revisions of "Aks Troubleshooting"
Jump to navigation
Jump to search
(Created page with "https://blog.cloudtrooper.net/2019/02/13/a-day-in-the-life-of-a-packet-in-aks-part-3-outbound-connectivity/") |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| + | ``` | ||
| + | kubectl debug node/aks-default-<myid>-vmss000001 -it --image=ubuntu -- bash | ||
| + | ``` | ||
| + | |||
| + | |||
| + | This seems to not work | ||
| + | ``` | ||
| + | kubectl run -it --rm --restart=Never --image=ubuntu --overrides='{"spec": {"hostPID": true, "nodeSelector": {"kubernetes.io/hostname": "aks-default-14050942-vmss000000"}}}' debug-shell -- dpkg --list | ||
| + | ``` | ||
| + | |||
https://blog.cloudtrooper.net/2019/02/13/a-day-in-the-life-of-a-packet-in-aks-part-3-outbound-connectivity/ | https://blog.cloudtrooper.net/2019/02/13/a-day-in-the-life-of-a-packet-in-aks-part-3-outbound-connectivity/ | ||
| + | |||
| + | Choose latest base | ||
| + | ``` | ||
| + | https://zigmax.net/aks-ssh-to-an-aks-node-with-kubectl/ | ||
| + | |||
| + | kubectl get node | ||
| + | kubectl debug node/aks-nodepool1-12345678-vmss000000 -it --image=mcr.microsoft.com/aks/fundamental/base-ubuntu:v0.0.11 | ||
| + | exit | ||
| + | kubectl delete pod/node-debugger-aks-default-30216496-vmss000003-7f7v7 | ||
| + | ``` | ||
Latest revision as of 18:35, 30 May 2025
kubectl debug node/aks-default-<myid>-vmss000001 -it --image=ubuntu -- bash
This seems to not work
kubectl run -it --rm --restart=Never --image=ubuntu --overrides='{"spec": {"hostPID": true, "nodeSelector": {"kubernetes.io/hostname": "aks-default-14050942-vmss000000"}}}' debug-shell -- dpkg --list
Choose latest base
https://zigmax.net/aks-ssh-to-an-aks-node-with-kubectl/ kubectl get node kubectl debug node/aks-nodepool1-12345678-vmss000000 -it --image=mcr.microsoft.com/aks/fundamental/base-ubuntu:v0.0.11 exit kubectl delete pod/node-debugger-aks-default-30216496-vmss000003-7f7v7