edbctl operand v1.3

The edbctl operand command provides tools for managing the EDB Postgres AI Postgres Operand images, including syncing or listing images from the EDB repository to your local container image registry.

Commands

edbctl operand sync-to-local-registry

Syncs the operand images from EDB repository to a local registry to provision in a local install of HM.

edbctl operand sync-to-local-registry [options]

Where options are:

      --source-registry-username string        Source registry username (required).
      --source-registry-password string        Source registry password (required).
      --destination-registry-uri string        Destination registry URI (required).
      --destination-registry-username string   Destination registry username (required).
      --destination-registry-password string   Destination registry password (required).
      --version string                         Operand version (required).
      --sign-by-sigstore-private-key string    Path to the Sigstore private key.
      --sign-passphrase-file string            Path to the file containing the passphrase for the Sigstore private key.
  -w, --workers int                            Number of concurrent workers for syncing images (default is 3).
      --cpu int                                Set CPU limit for each worker (max OS threads for Go runtime, must be your CPU core count or lower).
  -y, --yes                                    Auto-confirm all confirmations.
  -h, --help                                   Help for sync-to-local-registry.

This example shows how to sync the EDB repository to a local registry:

edbctl operand sync-to-local-registry --source-registry-username <username> --source-registry-password <password> --destination-registry-uri <registry> --destination-registry-username <username> --destination-registry-password <password> --version "v.<version>"

edbctl operand list-images

This command is used to retrieve and display a comprehensive list of all container images associated with a specific version of the Hybrid Manager. It provides crucial information including the image tab, for each component.

edbctl operand list-images [options]

Where options are:

      --source-registry-username string          Source registry username (required). The username for accessing the repository where the images are stored.
      --source-registry-password string          Source registry password (required). The password for accessing the repository where the images are stored.
      --version string                           Hybrid Manager release version (required). Specifies which version of the operand to list images for.
  -y, --yes                                      Auto-confirm all confirmations.
  -h, --help                                     Displays help information for the list-images command.

edbctl operand download-image-list

This command allows you to download a file that contains a list of all required operand images for a specified version of the Hybrid Manager. This is particularly useful for preparing for installations in air-gapped or internet-disconnected environments.

edbctl operand download-image-list [options]

Where options are:

      --source-registry-username string       Source registry username (required). The username for accessing the repository where the images are stored.
      --source-registry-password string       Source registry password (required). The password for accessing the repository where the images are stored.
  -o, --output-filename string                Output file path (required). The path where the downloaded image list file will be saved.
      --version string                        Hybrid Manager release version (required). Specifies which version of the operand to download the image list for.
  -y, --yes                                   Auto-confirm all confirmations.
  -h, --help                                  Displays help information for the download-image-list command.

This example shows how to download the operand image list for a specific Hybrid Manager version:

edbctl operand download-image-list --version "v1.0.0" --source-registry-username "myuser" --source-registry-password "mypassword" --output-filename "/tmp/edb-images.txt"