Skip to main content
Version: latest

Migrate from Harbor Edge-Native Config Pack

Local Edge clusters without an internet connection are required to use an in-cluster primary registry to store images needed for cluster deployment. Previously, this was implemented using the Harbor Edge-Native Config pack, which installs the Harbor registry as well as handles image pull redirects.

The Harbor Edge-Native Config pack has been deprecated and will no longer be supported in a future release. If you want to keep your cluster's registry infrastructure up-to-date, you need to migrate off the legacy pack and use the new Registry Connect pack to implement the Harbor registry. This allows you to keep using the Harbor registry as the primary registry and keep it up-to-date with the latest upstream updates.

Limitations

  • When you migrate off the Harbor Edge-Native Config pack, you cannot change the Harbor registry into another registry. You must select the Harbor registry to use as the primary registry for your cluster.

Prerequisites

  • An existing Edge cluster with the Harbor Edge-Native Config pack.

  • (Local management mode only) A physical or virtual Linux machine with AMD64 (also known as x86_64) processor architecture. You can issue the following command in the terminal to check your processor architecture. You need this machine to build a content bundle needed to update the cluster.

    uname -m
  • (Local management mode only) The latest version of the Palette Edge CLI. Refer to the Downloads page to download the CLI.

Migrate from Harbor Edge-Native Config Pack to Registry Connect

  1. Log in to Local UI on your Edge host. On the home page, look to the upper-right corner in the Palette card to determine the agent version. If your agent version is 4.6.12 or earlier, you need to upgrade your agent version to 4.6.13 or later.

    The steps to upgrade can be performed in parallel with migrating from the Harbor Edge-Native Config pack. This guide will provide the applicable steps in parallel. If you want to upgrade first before performing the migration, refer to Configure Palette Agent Version for the upgrade steps.

  2. Log in to Palette.

  3. From the left main menu, click Profiles.

  4. Select the profile you want to use to deploy your cluster.

  5. If your agent version is already 4.6.13 or later, you can skip this step.

    In the OS layer of the profile, include the following lines. Replace versionNumber with your target agent version number. This version must be 4.6.13 or later.

    pack:
    content:
    images:
    - image: "{{.spectro.pack.edge-native-byoi.options.system.uri}}"
    - image: "container://us-docker.pkg.dev/palette-images/edge/stylus-linux-amd64:v<versionNumber>"

    options:
    system.uri: ttl.sh/ubuntu:k3s-1.29.5-v4.5.8-palette-demo

    stylusPackage: container://us-docker.pkg.dev/palette-images/edge/stylus-linux-amd64:v<versionNumber>
  6. Remove the Harbor Edge-Native Config pack from the profile.

  7. Click Add New Pack and select the Harbor pack.

  8. In the values.yaml, update charts.harbor.harborAdminPassword to the same password as your existing Harbor registry.

  9. If you have previously changed the serving port, PVC, or TLS certificates used by Harbor, you must modify the new Harbor pack parameters to match your previous configurations. Update node port, TLS certificates, and PVC configuration using the following parameters:

    • charts.harbor.expose.nodePort
    • charts.harbor.expose.tls
    • charts.harbor.persistence.persistentVolumeClaim
  10. Click Confirm & Create.

  1. Click Add New Pack. Select the Registry Connect pack and select the Harbor Internal Registry preset.

  2. Click Confirm & Create.

  3. Save a new version of your cluster profile.

  1. Update your cluster to use the new profile. Refer to Update a Cluster for more information.

Validate

  1. Access the registry from your browser at https://NODE_IP:30003. Replace NODE_IP with any IP address in your cluster. If you changed the port that the registry is served on, replace the port number as well.

  2. Use the username admin and the password you configured to log in to Harbor.

  3. Confirm that all cluster images are present in the Harbor registry.