Upload Content Bundle
You can build a content bundle and upload it to a locally managed Edge host through Local UI. The content you upload can include images, helm charts, and packs. This allows you to provision clusters locally using the content you upload to the Edge host when the host does not have a connection to a central Palette instance or an image repository. You can upload one or more content bundles as long as your Edge host has enough physical storage and you have allocated sufficient storage to your registry.
If you upload a content bundle to the leader node of a group of linked hosts, the content bundle will be synced to the rest of the group of linked hosts.
This page guides you through how to upload a content bundle to an Edge host using either Local UI or the Palette CLI.
Upload Content Bundle with Local UI
Prerequisites
-
An Edge host with installed with Edge Installer 4.3 or later using the local management mode.
-
You have built a content bundle that's necessary for provisioning a cluster using your intended cluster profile. For more information, refer to Build Content Bundles.
-
Network access to the Edge host's port where Local UI is exposed. The default port is 5080.
Upload Content
-
Log in to Local UI.
-
From the left main menu, click Content.
-
Under the upper-right user menu, Click Actions > Upload Content.
-
Select your content bundle to upload it to your Edge host. You may select multiple content bundles and perform a batch upload. However, if you embedded a public key in your Edge artifacts, you may only upload one bundle at a time.
Validate
- After the upload is complete, click Content on the left main menu and confirm the images in your content bundle are present in the Edge host.
Upload Content Bundle with Palette CLI
Prerequisites
-
An Edge host with SSH access.
-
A Linux machine (physical or VM) with an AMD64 architecture and network access to the Edge host.
-
You have built a content bundle using your intended cluster profile. For more information, refer to Build Content Bundles. The content bundle must be available in your Linux machine.
warningThe content bundle must have a unique name. This can be specified using the
--nameflag with thecontent buildcommand. If a unique name is not provided, thebuildcommand generates a default name in the<bundle>-<project-id>format, which is not unique and may lead to issues, as bundles using the same default name can be overwritten during upload to Local UI.
Upload Bundle
-
SSH into the Edge host and copy the authentication token located at
/opt/spectrocloud/.upload-auth-token. This token is required to upload the content bundle to the Edge host.cat /opt/spectrocloud/.upload-auth-token -
Open a terminal window on the Linux machine and download the Palette CLI. Refer to the Palette Components Compatibility Matrix to find a compatible CLI version and replace
<palette-cli-version>with the selected version.VERSION=<palette-cli-version>
wget https://software.spectrocloud.com/palette-cli/v$VERSION/linux/cli/palette
chmod +x palette -
Use the following command to move the
palettebinary to the /usr/local/bin directory to make the binary available in your system $PATH. This allows you to issue thepalettecommand from any directory in your development environment.mv palette /usr/local/bin -
Verify that the Palette CLI is part of your system path by issuing the Palette CLI
versioncommand.palette versionPalette CLI version: [version number] -
Issue the following command to upload the content bundle to the Edge host. Replace
<content-bundle-file-path>with the file path of the content bundle,<edge-host-token>with the Edge host token, and<edge-host-ip>with the IP address of your Edge host. If the content bundle contains an embedded cluster definition, this definition will also be automatically uploaded to Local UI. Refer to the upload command section for a complete list of supported flags and examples.palette content upload --file <content-bundle-file-path> --token <edge-host-token> <edge-host-ip>The upload is chunked, resumable, and parallel by default, which shortens transfer times for large bundles. If the transfer is interrupted, issue the same command again and the CLI resumes from the chunks the Edge host already holds instead of restarting. You can tune the transfer with the
--chunk-sizeand--connectionsflags, or stream the bundle directly from a signed object store URL with--src-urlrather than staging a local copy.infoIf the Edge host predates chunked upload support, the CLI falls back to the earlier single-stream upload automatically. You do not need to pass
--legacyto reach an older host.
Validate
-
Log in to Local UI.
-
From the left main menu, click Content and confirm that the uploaded content bundle is listed.
Recover a Deleted Cluster
On Edge hosts running in appliance mode with an applianceType of
paletteai, vertexai, vm-launchpad, vm-launchpad-vertex, ai-launchpad, or ai-launchpad-vertex, deleting the
cluster also erases the on-appliance content bundle. To redeploy the cluster, upload the content bundle again from the
Content page using either Local UI or the
Palette CLI, and then create the cluster. Refer to
Create Local Cluster.
If you do not have a copy of the content bundle saved off the appliance, reinstall the appliance with an Edge installer ISO that contains embedded content. For more information, refer to Delete a Cluster.