Skip to content

Instantly share code, notes, and snippets.

@szydan
Created September 5, 2024 07:47
Show Gist options
  • Save szydan/20664ed46f7fd172f0f63f5705872900 to your computer and use it in GitHub Desktop.
Save szydan/20664ed46f7fd172f0f63f5705872900 to your computer and use it in GitHub Desktop.
To start debugging session pod with mounted filesystem
create a debugging pod
file system mounted at
/host
kubectl debug node/gke-cicd-build-pool-4509cbfd-vh9s -it --image=ubuntu
see how much space is taken there
all the overlay
cd /host
df -h
kubectl delete pod node-debugger-gke-cicd-build-pool-4509cbfd-vh9s-l6xgc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment