Last active
June 13, 2020 17:26
-
-
Save naartjie/93ec302f6ddbb671956ac7dc1eaa730c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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