Skip to content

Instantly share code, notes, and snippets.

@sheppduck
Created April 26, 2019 14:13
Show Gist options
  • Save sheppduck/3791e60934284c83803bc4af2e074ed5 to your computer and use it in GitHub Desktop.
Save sheppduck/3791e60934284c83803bc4af2e074ed5 to your computer and use it in GitHub Desktop.
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