Created
June 26, 2020 20:55
-
-
Save jcvenegas/698251f0d8c3ee4b8405c1b8756b8f92 to your computer and use it in GitHub Desktop.
Debug kata like a pro
This file contains 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
# Enable debug of kata (kata-deploy or default path | |
sudo sed -i 's/#enable_debug = true/enable_debug = true/g' /opt/kata/share/defaults/kata-containers/configuration.toml | |
sudo sed -i 's/#enable_debug = true/enable_debug = true/g' /usr/share/defaults/kata-containers/configuration.toml | |
here=$(date +'%Y-%m-%d %H:%M:%S') | |
# Run what is not working | |
# Example: docker run ... | |
journalctl -t kata-hypervisor -t kata-runtime -t virtiofsd --since "${here}" -f | tee container_log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment