Overview

The Google GCP GKE Kubernetes App allows Google's GCP users to deploy a JFrog Container Registry with a few keystrokes. This deployment is possible both in GCP's GKE and via Anthos (for Hybrid/On-Prem) GKE. 

Prerequisites

  • An active GCP subscription 
  • A domain name with a corresponding SSL Certificate (strongly recommended for production) 


Setting up the JFrog Container Registry Using the Google GCP GKE Kubernetes App

  1. Go to the JFrog Container Registry listing.
  2. Select Configure and select the project to to deploy.
  3. Select the cluster you wish to deploy to or create a new one.
  4. Enter all required details, and create a new master key.  
  5. Select Deploy.
    The application is deployed
  6. Follow the instructions on the right hand side of the App to obtain the public IP.

Upgrading JFrog Container Registry using the Google GCP GKE Kubernetes App

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 and select the Project where the App is deployed.The workloads must be upgraded manually.  

  1. Find the JFrog Container Registry workload: <app-name>-artifactory.
  2. Change the YAML from gcr.io/cloud-marketplace/jfrog/jfrogcr:<existing version>  to gcr.io/cloud-marketplace/jfrog/jfrogcr:<new version>  in all locations, without changing the annotations.  
  3. Select the JFrog Container Registry registry from a list of versions, which may also use a SHA instead of a version tag: gcr.io/cloud-marketplace/jfrog/jfrogcr@sha256:<sha>.
  4. Change the image to pull directly from JFrog, where images are updated at a more regular interval. Use 'docker.bintray.io/jfrog/artifactory-jcr:<new version>' 
    1. Scale the deployment down to zero,
    2. Increase the deployment to 1.
    3. Save the change
      The new version of the mode appears
  5. Verify the new version in the bottom left corner of the UI.