Skip to content

Instantly share code, notes, and snippets.

@naartjie
Last active June 13, 2020 17:26
Show Gist options
  • Select an option

  • Save naartjie/93ec302f6ddbb671956ac7dc1eaa730c to your computer and use it in GitHub Desktop.

Select an option

Save naartjie/93ec302f6ddbb671956ac7dc1eaa730c to your computer and use it in GitHub Desktop.
# https://medium.com/@tompape/how-to-copy-data-from-gke-to-gcs-4e902f0a7eb1
mkdir ~/dumps #create folder in your home directory
gcsfuse core-dumps ~/dumps #mount storage core-dumps
# if you need to copy them into a running container
kubectl cp <pod_name>:<file_path/file_name> dumps/<file_name>
# unmount
fusermount -u ~/dumps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment