Helm Upgrade
OpenDAX-v4 deployment version can be updated to the latest version of the product using the Helm Chart repo which is stored on our quay OCI -
oci://quay.io/openware/opendax-v4
- Functioning OpenDAX-v4 deployment installed from the Marketplace on one of the Cloud solutions or from the VM-image.
- 1.SSH to your VM
- 2.Become
deploy
user usingsudo su deploy
command - 3.Go to the home directory of the
deploy
user:
cd /home/deploy
- 1.Next you have to export all the envs which are used by the script (you can check the script at
./resources/scripts/install-opendax.sh
):
export MAIN_USER=deploy
export EXIP=*IP of your VM*
export EXTERNAL_URL=*your domain name* # or "$EXIP.sslip.io" if you don't have a managed domain yet
# you can run 'kubect get clusterissuer' to find the right value for SSL_ISSUER
export SSL_ISSUER="letsencrypt-prod" # or the name of the ssl issuer which you are using
- 1.Since new version will include new images for most of the components you will have to change Kubernetes deployment
imagePullPolicy
value fromNever
toIfNotPresent
in theodax
namespace. You have to do it for all the deployments. On of the easy ways to do it is:
kubectl get deployment <deployment_name> -n odax -o jsonpath='{.spec.template.spec.containers[0].name}'
kubectl patch deployment <deployment_name> -n odax -p '{"spec": {"template": {"spec":{"containers":[{"name": "<container-name>", "imagePullPolicy":"IfNotPresent"}]}}}}'
- 1.Now you can run script which will update your OpenDAX-v4. Script takes 2 arguments: url of the helm repo and chart version. You can check this page to see the latest versions of the OpenDAX-v4 and changelog description for all of them. Also, be aware that we don't recommend to downgrade the version of the deployment.
./resources/scripts/install-opendax.sh oci://quay.io/openware/opendax-v4 *version*