Created
April 26, 2019 14:13
-
-
Save sheppduck/3791e60934284c83803bc4af2e074ed5 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
function turbo_tail { | |
syslog_directory=$(sudo find /var/lib/kubelet/pods -name $(kubectl get pvc -n turbonomic | grep rsyslog-syslogdata | awk '{print $3}')) | |
syslog_directory+='/rsyslog' | |
echo "### !!TAILING YOUR TURBONETES LOG!! ###" | |
sudo tail -f $syslog_directory/log.txt | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment