Konvoy provides a subcommand to generate a diagnostic bundle with data collected for the last 48 hours of the life of the cluster.
To generate the diagnostic bundle
Change to the directory that contains the state files for your Konvoy cluster state.
Generate a compressed archive containing diagnostic information by running the following command:
This command creates a bundle in the working directory with a file name that represents the timestamp for when the file was created.
Verify the file was created using the current timestamp as the file name by running the following command:
If the file was successfully created, the directory listing returns output similar to the following:
The compressed archive contains detailed information about each node in the cluster, including information about the state of the system on each node and log files for each relevant running components.
Extract the contents of the compressed archive to see information about the files it contains.
$ tar -xvf 20190705T114114.tar.gz x bundles/172.17.0.3.tar.gz x bundles/172.17.0.2.tar.gz $ tar -xvf bundles/172.17.0.3.tar.gz x iptables-save.txt x ctr-version.txt x containerd.service.log x containerd.service.status.txt x journalctl.log x kubelet.service.log x ansible_facts.json x timedatectl.txt x kubelet.service.status.txt x dmesg.txt