Diagnostic Tools¶
Add Verbosity to the Database container¶
Run:ai Self-hosted installation contains an internal database. To diagnose database issues, you can run the database in debug mode.
In the runai-backend-values, search for postgresql
. Add:
Re-install the Run:ai control-plane and then review the database logs by running:
Internal Networking Issues¶
Run:ai is based on Kubernetes. Kubernetes runs its own internal subnet with a separate DNS service. If you see in the logs that services have trouble connecting, the problem may reside there. You can find further information on how to debug Kubernetes DNS here. Specifically, it is useful to start a pod with networking utilities and use it for network resolution:
Add Verbosity to Prometheus¶
Add verbosity to Prometheus by editing RunaiConfig:
Add a debug
log level:
To view logs, run:
kubectl logs prometheus-runai-prometheus-operator-prometheus-0 prometheus \
-n monitoring -f --tail 100
Add Verbosity to Scheduler¶
To view extended logs run:
Then under the scheduler
section add:
Warning
Verbose scheduler logs consume a significant amount of disk space.