Grafana Upgrade Guide from 4.5.1 to 4.5.2
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_Dashboard_CIM-mysql.json
andAgent_Dashboard_CIM-mysql.json
file from4.5.2
folder to the currentcim-solution/kubernetes/post-deployment/config/grafana/supervisor-dashboards
folderCODEcp ../../CX-4.5.2/cim-solution/kubernetes/post-deployment/config/grafana/supervisor-dashboards/Supervisor_Dashboard_CIM-mysql.json post-deployment/config/grafana/supervisor-dashboards/ cp ../../CX-4.5.2/cim-solution/kubernetes/post-deployment/config/grafana/supervisor-dashboards/Agent_Dashboard_CIM-mysql.json post-deployment/config/grafana/supervisor-dashboards/
Delete dashboard ConfigMap
CODEkubectl -n ef-external delete configmap ef-grafana-supervisor-dashboard-mysql kubectl -n ef-external delete configmap ef-grafana-agent-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 kubectl create configmap ef-grafana-agent-dashboard-mysql -n ef-external --from-file=post-deployment/config/grafana/supervisor-dashboards/Agent_Dashboard_CIM-mysql.json
If you have MSSQL
Copy the
Supervisor_Dashboard_CIM-mssql.json
andAgent_Dashboard_CIM-mssql.json
file from4.5.2
folder to the currentcim-solution/kubernetes/post-deployment/config/grafana/supervisor-dashboards
folderCODEcp ../../CX-4.5.2/cim-solution/kubernetes/post-deployment/config/grafana/supervisor-dashboards/Supervisor_Dashboard_CIM-mssql.json post-deployment/config/grafana/supervisor-dashboards/ cp ../../CX-4.5.2/cim-solution/kubernetes/post-deployment/config/grafana/supervisor-dashboards/Agent_Dashboard_CIM-mssql.json post-deployment/config/grafana/supervisor-dashboards/
Delete dashboard ConfigMap
CODEkubectl -n ef-external delete configmap ef-grafana-supervisor-dashboard-mssql kubectl -n ef-external delete configmap ef-grafana-agent-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 kubectl create configmap ef-grafana-agent-dashboard-mssql -n ef-external --from-file=post-deployment/config/grafana/supervisor-dashboards/Agent_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