Files
Brad Swain c7fc0f7c9a remove refs to aixcc resources (#195)
* remove refs to aixcc resources

* remove aixcc.tech

* change aixcc-finals to tob-challenges
2025-07-30 09:34:58 -05:00

756 B

Clean Azure

Sometimes the cloud infrastructure fills up on disk space and needs to be cleaned.

Login into Azure

az login --tenant=<your-tenant>

Configure kubectl to use the Azure CI cluster

az aks get-credentials --name cluster-allowing-foal  --resource-group gh-ci-smashing-mosquito

Get list of nodes

kubectl get nodes
# Note the nodes named "-vmss00000{9,a,b,c}" on DevBudget

Run a debug pod on a listed node

For example, assume we've identified node aks-usr-26512064-vmss00000c from the above list.

kubectl debug node/aks-usr-26512064-vmss00000c -it --image=mcr.microsoft.com/aks/fundamental/base-ubuntu:v0.0.11

Clean images

chroot /host
crictl rmi --prune