mirror of
https://github.com/trailofbits/buttercup
synced 2026-06-21 14:11:39 +00:00
c7fc0f7c9a
* remove refs to aixcc resources * remove aixcc.tech * change aixcc-finals to tob-challenges
756 B
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