PSM Dashboard repository which has a collection of dashboards built using smashing dashboards and Google chart widgets to view system resources and cluster metrics from PSM cluster. It also has a collection of libraries built using Python SDK for Elastic, Etcd, Minio that lets you to connect to these distributed data stores within the PSM cluster and collect rich cluster metrics which can help troubleshoot complex issues. In addition to this has libraries to connect to the Kubernetes master node and get the complete state of the cluster from K8 view.
Please refer https://smashing.github.io/ to know more about Smashing dashboard infrastructure.
- Install Ruby versions 2.5.0 or greater and Python3
- Install smashing dashboards project using documentation under https://smashing.github.io/#getting-started
- The above will create a default dashboard project by name sweet_dashboard_project under /var/www/html/
- Do a Git clone of this repo under /var/www/html/sweet_dashboard_project
- Install influxDB and MongoDB on the server - Depending on the flavor of Linux used, use the appropriate tools for installation ( apt-get or yum etc. ). https://influxdbcom.readthedocs.io/en/latest/content/docs/v0.6/introduction/installation/ https://docs.mongodb.com/manual/administration/install-on-linux/
- Pip install the various Python SDK modules needed for SDKs used in this project. pip3 install kubernetes pip3 install elasticsearch pip3 install etcd3 pip3 install minio pip3 install influxdb pip3 install pymongo pip3 install paramiko pip3 install netmiko