Upgrade Artifactory in the Google GCP GKE Kubernetes App

JFrog Integrations Documentation

ft:sourceType
Paligo

This topic reviews how to upgrade Artifactory in the Google GCP GKE Kubernetes App.

To upgrade Artifactory in the Google GCP GKE Kubernetes App:

Note

The upgrade is only supported for 6.x to 6.x and 7.x to 7.x with an expected small downtime window.

Go to the GKE workloads page, select the project where the app is deployed.The workloads must be upgraded manually, according to the following steps.

  1. Select the master workload: <app-name>- artifactory-ha-primary master.

  2. Change YAML from gcr.io/cloud-marketplace/jfrog/jfrog-gke:<existing version> to gcr.io/cloud-marketplace/jfrog/jfrog-gke:<new version> in all locations, without changing the annotations.

  3. Select the JFrog GKE registry from a list of all versions (optional).

  4. Change the image to pull directly from JFrog, where images are updated at a more regular interval. Use docker.bintray.io/jfrog/artifactory-pro:<new version> (optional) as the URL.

    1. Scale the deployment to zero.

    2. Increase the deployment to 1.

    3. Save the change.

      The new version of the primary workload appears.

  5. Change the image to pull from the secondary workload: <app-name>artifactory-ha-member.

    1. Scale the deployment to zero.

    2. Increase the deployment to previous member count (usually 2).

      The new version of the secondary workload appears.

  6. Verify all the nodes possess the correct version of the UI | Administration | Monitoring | Service Status.