Scripts provided here help users debug Microclimate problems: or help a Microclimate developer to better triage a user problem.
Please be sure you are happy sharing any data this tool gathers before doing so: it is up to a user to check no sensitive data is shared, be it credential related, sensitive project related or otherwise. As the script is provided here and so completely open-source, you can check for yourself what the script does prior to execution. Feedback, contributions, ideas and bug fixes all welcome!
./must-gather.sh
With no parameters this script gathers Microclimate installation information, including logs. The findings are saved to a file in the current directory.
The following optional parameters can be provided.
-n: the namespace you have installed Microclimate in, for example: ./must-gather.sh -n myothernamespace. Defaults to default.
-r: the Helm release name for Microclimate, for example: ./must-gather.sh -r mymicroclimaterelease. Defaults to microclimate.
-o: the desired output location for the file this script creates, for example: ./must-gather.sh -o $HOME/myoutputfile.txt. Defaults to microclimate-default-date-logs.txt where the naming pattern consists of the Microclimate release name first, followed by the namespace it is installed into.
-t: the tiller namespace to use for any Helm commands, for example: ./must-gather.sh -t myothernamespace. Defaults to kube-system.
-s: to add SSL/TLS (--tls) to all helm commands, for example: ./must-gather.sh -s.