The following guide is suitable for environments that are can access to the public internet (non air-gapped).

To upgrade the PrimeHub MLOps orchestration platform from the Github repository, follow the documentation below.

In this section you will do the following.

Check current PrimeHub version

Use the following command to check the currently installed PrimeHub version.

helm ls -A | grep primehub
primehub                                hub             5               2021-08-06 12:47:30.599856899 +0000 UTC deployed        primehub-<**primehub-current-version**>        <**primehub-current-version**> 
primehub-grafana-dashboard-basic        monitoring      1               2021-07-26 03:45:00.680172746 +0000 UTC deployed        primehub-grafana-dashboard-basic-1.3.0     v1.3.0

Backup PrimeHub configuration and settings

Backup your PrimeHub configuration folder.

tar zcvf primehub-config-${date +%F_%H-%M-%S}-**<primehub-current-version>**.tgz $HOME/.primehub/config/<**cluster-name**>

Backup the coredns settings.

kubectl -n kube-system get cm coredns -o yaml > coredns.yaml

Backup the PrimeHub controller custom image scripts.

kubectl -n hub get cm primehub-controller-custom-image-scripts -o yaml > primehub-controller-custom-image-scripts.yaml

Download PrimeHub repository