...
Migrating artifacts from other platforms
Migrating from grafana
Download from existing
connect to kfuse cluster and log into the catalog service pod
Code Block # make sure you are connected to the kfuse k8s cluster and in the kfuse namespace kubectx <your-kfuse-cluster> kubens kfuse kubectl exec -it catalog-service-<...> -- bash
Download existing artifacts (alerts in the following example) from source grafana instance using the catalog script (check usage with
-h
for more options), appropriately specifying arguments (be sure that the catalog service pod can reach the source grafana address):Code Block # Review usage with -h # cd /catalog_service python3 catalog.py --download_installed --artifact_type=alerts --grafana_address=SOURCE_GRAFANA_ADDRESS --grafana_username="SOURCE_GRAFANA_USERNAME" --grafana_password="SOURCE_GRAFANA_PASSWD"
Upload to Kloudfuse
The above step will download the artifacts to
/tmp/<artifact_type>_downloads
directory. Use following command to explore and install these artifacts into the kfuse embedded grafana.Code Block python3 catalog.py --explore --artifact_type=alerts --use_dir=/tmp/alerts_downloads --grafana_address=https://<target-cluster-addr> --grafana_username="SOURCE_GRAFANA_USERNAME" --grafana_password="SOURCE_GRAFANA_PASSWD"
...