Grafana Upgrade Guide from 4.4.5 to 4.4.6
Navigate to the current release
cim-solution/kubernetes
folderCODEcd cim-solution/kubernetes
For the following step, only run the commands for your specific reporting database type. (MYSQL / MSSQL)
Upgrade the Grafana Configs
If you have MySQL
Copy the
supervisor-dashboards/Supervisor_Dashboard_CIM-mysql.json
file from4.4.6
folder to the currentcim-solution/kubernetes/post-deployment/config/grafana/supervisor-dashboards
folderCODEcp ../../CX-4.4.6/cim-solution/kubernetes/post-deployment/config/grafana/supervisor-dashboards/Supervisor_Dashboard_CIM-mysql.json post-deployment/config/grafana/supervisor-dashboards/
Delete dashboard ConfigMap
CODEkubectl -n ef-external delete configmap ef-grafana-supervisor-dashboard-mysql
Create dashboard ConfigMap
CODEkubectl create configmap ef-grafana-supervisor-dashboard-mysql -n ef-external --from-file=post-deployment/config/grafana/supervisor-dashboards/Supervisor_Dashboard_CIM-mysql.json
If you have MSSQL
Copy the
supervisor-dashboards/Supervisor_Dashboard_CIM-mssql.json
file from4.4.6
folder to the currentcim-solution/kubernetes/post-deployment/config/grafana/supervisor-dashboards
folderCODEcp ../../CX-4.4.6/cim-solution/kubernetes/post-deployment/config/grafana/supervisor-dashboards/Supervisor_Dashboard_CIM-mssql.json post-deployment/config/grafana/supervisor-dashboards/
Delete dashboard ConfigMap
CODEkubectl -n ef-external delete configmap ef-grafana-supervisor-dashboard-mssql
Create dashboard ConfigMap
CODEkubectl create configmap ef-grafana-supervisor-dashboard-mssql -n ef-external --from-file=post-deployment/config/grafana/supervisor-dashboards/Supervisor_Dashboard_CIM-mssql.json
Reinstall Grafana
Uninstall Grafana
CODEhelm uninstall grafana -n ef-external
Install Grafana
CODEhelm upgrade --install=true --wait=true --timeout=10m0s --debug --namespace=ef-external --values=external/bitnami/grafana/values.yaml grafana external/bitnami/grafana