Install an agent from a custom registry when the target environment cannot connect directly to the Precisely container registry.
You must have the install command generated from , access to the required agent Helm charts and container images, and credentials for the custom registry.
Use this installation path for restricted, disconnected, or government workspace environments where the target host can access only approved registries. You can mirror the required charts and images from the Precisely registry to your own registry, or use an existing internal registry that already contains the required agent artifacts.
-
Confirm that the required agent charts and container images are available in your registry.
If you mirror artifacts from the Precisely registry, keep the repository paths, such as preciselydata/<name>, unless your installation requires a different image or chart prefix.
-
Create the registry configuration file on the target host.
Save the file as registry.yaml. Use only one credential mode in the file.
| Registry type |
Configuration |
| Amazon ECR |
registry:
url: <account-id>.dkr.ecr.<aws-region>.amazonaws.com
imagePrefix: preciselydata
chartPrefix: preciselydata
accessKeyId: <access-key-id>
secretAccessKey: <secret-access-key>
region: <aws-region>
|
| Other registry |
registry:
url: <registry-host>
imagePrefix: <image-prefix>
chartPrefix: <chart-prefix>
username: <registry-username>
password: <registry-password>
|
-
Restrict access to the registry configuration file.
-
Add the registry configuration option to the generated install command.
Use the agent ID, registration key, install URL, and module values from the command generated on the Agents page.
./discli agent install \
--agent-id <agent-id> \
--regKey <registration-key> \
--installUrl <install-url> \
--install-modules <module-list> \
--registry-config registry.yaml
-
Verify the agent status.
The agent uses the custom registry configuration during installation and pulls the required charts and images from the registry you provided.