Grid Helm Chart Installation

Install JFrog Grid on Kubernetes using the JFrog Grid Helm chart and connect it to your JFrog Platform Deployment.

Platform Federation is the JFrog solution for managing once and applying everywhere: it automates global administration across all your JPDs and keeps configuration free of drift.

It runs on two services: Grid, which orchestrates the federation, and the PFED Service, which carries out the sync between JPDs.

Install JFrog Grid Service on a self-managed environment using the JFrog Grid Helm chart.

⚠️

Important: Moving to Secured Releases

JFrog Artifactory has moved to a secure and private release process for self-managed installations that requires user authentication. For information on logging in to obtain the latest releases or for assistance, please contact Support.

Consume JFrog Grid only from the private release repositories.

Prerequisites

Before you begin, verify the following:

PrerequisiteDetails
JPDsAt least two JPDs: one main site and one or more member sites.
Each JPD must run Artifactory version 7.173.21 or later.
Grid and PFED ServicesInstall the Grid and PFED Services on every JPD in the federation, including the main site and all member sites.
Grid VersionUse Grid Helm chart version 101.963.10 or later, consumed only from the private release repositories.
PFED Service VersionUse PFED Service version 1.1851.41 or later. It is included in the Grid Helm chart.
JFBus ServiceThe JFBus service is running on every JPD in the federation.
Mission Control on the Main SiteThe Mission Control service is enabled on the main site. The main site acts as the management site for the federation.
LicenseEvery JPD has an Enterprise Plus license, with entitlements fetched by the JFConnect service. The required entitlement is `grid`.
Edge nodes are not supported.
Circle Of TrustA Circle of Trust is set up between all JPDs.
Base URLEach JPD has a Base URL configured that the other JPDs can reach.
DatabaseRequired for the PFED Service bundled with Grid. Grid itself doesn't need a database. Create the database before you install.
The PFED Service can share Artifactory's database server where it uses its own schema.

Steps to Install the Grid Chart

  1. Install or Redeploy Artifactory deployment after adding the following values:

    For the JFrog Artifactory/Artifactory-HA Helm chart, update your custom values.yaml with the following and run helm upgrade:

    artifactory:
      extraSystemYaml:
        access:
          federation:
            enabled: true

    For the JFrog Platform Helm chart, update your custom values.yaml with the following and run helm upgrade:

    artifactory:
      artifactory:
        extraSystemYaml:
          access:
            federation:
              enabled: true
    
  2. Add the JFrog Helm Charts repository to your Helm client, authenticating with the credentials you use for the private release repositories.

    helm repo add jfrog --force-update https://charts.jfrog.io --username <USERNAME> --password <TOKEN>
  3. Update the repository.

    helm repo update
  4. Create database on the same database server that your JFrog Artifactory deployment already uses.

    ⚠️

    PFED Service Requires Its Database to Already Exist

    PFED Service creates its own schema through migrations, but it does not create the database itself. Create an empty database before installing the chart, or PFED Service fails to start. For example, on PostgreSQL:

    CREATE DATABASE jfpfed OWNER <db_user>;
  5. Create a Kubernetes Secret to hold the join key and master key, so they never appear in your values file, shell history, or process listings. This step creates the grid namespace ahead of the install in step 9, since kubectl create secret requires the namespace to already exist.

    kubectl create namespace grid
    kubectl create secret generic grid-keys \
      --namespace grid \
      --from-literal=join-key=<JOIN_KEY> \
      --from-literal=master-key=<MASTER_KEY>
  6. Create a registry Secret so Kubernetes can pull the Grid images from the authenticated JFrog release registry.

    kubectl create secret docker-registry grid-registry \
      --docker-server="releases-authenticated-docker.jfrog.io" \
      --docker-username=<USERNAME> \
      --docker-password=<TOKEN> \
      --namespace grid
  7. Add the values for jfrogUrl, the Secrets from the previous steps, the image registry, and the database connection in the grid-values.yaml file.

    ## This is the grid-values.yaml file
    
    global:
      jfrogUrl: <JFROG_URL>
      imageRegistry: releases-authenticated-docker.jfrog.io
      imagePullSecrets:
        - grid-registry
      joinKeySecretName: grid-keys
      masterKeySecretName: grid-keys
      database:
        url: <YOUR_POSTGRESQL_JDBC_URL>
        username: <YOUR_POSTGRESQL_USERNAME>
        password: <YOUR_POSTGRESQL_PASSWORD>

    Set these values in the grid-values.yaml file:

    • jfrogUrl: The URL of the machine where JFrog Artifactory is deployed, or the URL of the load balancer that directs traffic to it.
    • imageRegistry: The authenticated JFrog release registry that the images are pulled from. Keep it set to releases-authenticated-docker.jfrog.io.
    • imagePullSecrets: The name of the registry Secret created in step 6.
    • joinKeySecretName and masterKeySecretName: The name of the Kubernetes Secret created in step 5.
    • database: The database connection details, in JDBC URL form (for example, jdbc:postgresql://<HOST>:5432/jfpfed). Point this at the database you created in step 4, on the same database server already used by your JFrog Artifactory deployment. PostgreSQL is the default. For MySQL, MariaDB, MS SQL Server, or Oracle, also set database.type and database.driver.
    ⚠️

    Use the PFED (Platform Federation) Service Bundled with Grid Service

    When you run Grid Service, the PFED Service must run from the Grid Helm chart, not from Artifactory. If PFED Service is already enabled on your existing Artifactory Helm chart, disable it there before you install Grid.

    Do not run the PFED Service from both Grid and Artifactory Helm chart at the same time.

  8. Optionally, apply a sizing profile on top of grid-values.yaml. The chart ships with small, medium, large, and xlarge profiles under sizing/, each setting replica counts and resource requests and limits for Grid, the router, and observability.

    helm pull jfrog/grid --untar
  9. Install the chart with the release name grid.

    helm upgrade --install grid --namespace grid --create-namespace jfrog/grid -f grid-values.yaml

    This installs Grid and the PFED Service too. To apply a sizing profile from the previous step, add it as an additional -f flag, for example -f grid/sizing/grid-medium.yaml.

  10. Check the deployment status of your Grid Helm chart.

    helm status grid --namespace grid
  11. Find the name of the running pod.

    kubectl --namespace grid get pods
  12. Get the container logs.

    kubectl --namespace grid logs -f <name of the pod>

Did this page help you?