In some instances, you may encounter problems with Alertmanager that are difficult to troubleshoot with the existing logs.
To increase the log verbosity of Alertmanager, find the "prometheus" section of the "addons" block of your cluster.yaml and add the following values:
- name: prometheus
enabled: true
values: |
---
alertmanager:
alertmanagerSpec:
logLevel: debug
After making this change, run the following from your Konvoy working directory to apply it:
./konvoy deploy addons
Once the change is applied, you can verify that Alertmanager is printing "debug" level logs with:
kubectl logs -n kubeaddons alertmanager-prometheus-kubeaddons-prom-alertmanager-0 alertmanager
After you're finished troubleshooting your issue, it may be a good idea to revert this change in order to reduce disk consumption.