Private Image Registry
This document outlines the procedure for saving ScaleOps image into a private container image registry, and the required steps for installing ScaleOps.
ScaleOps Image
ScaleOps offers different image variants according to your needs. Select the appropriate image options below based on your requirements:
Based on your selection above, use the following image:
registry.scaleops.com/scaleops-sh
Prerequisites
Please ensure the following prerequisites are met:
- A container CLI installed: Docker, Podman, or nerdctl.
- Helm installed.
- Internet outbound connectivity to download ScaleOps assets.
- Container CLI is logged in to your private image registry.
1. Download ScaleOps Image Manager Script
- Download scaleops-image-manager.sh script (preview).
- Add execute permissions:
chmod +x ./scaleops-image-manager.sh
2. Download ScaleOps Assets
Execute the following command. The script will download ScaleOps image and helm chart into .tar.gz and .tgz files.
export SCALEOPS_TOKEN=<YOUR_SCALEOPS_TOKEN>
./scaleops-image-manager.sh --download-assets3. Transfer Assets (Optional)
If necessary, copy all files downloaded in previous step into computer with network connectivity to your private container image registry.
4. Push ScaleOps Image
Execute the following command. Replace <REPOSITORY> with the name of your private image registry. The script will load ScaleOps image into your local computer. Then it will push ScaleOps image to your private image registry.
export REPOSITORY=<REPOSITORY>
./scaleops-image-manager.sh --load --push5. Create Image Pull Secret
Create image pull secret named scaleops-private-image-registry on scaleops-system namespace. Follow the Kubernetes documentation for more information.
6. Install ScaleOps
helm install --create-namespace -n scaleops-system \
--set scaleopsToken=<YOUR_SCALEOPS_TOKEN> \
--set clusterName=<CUSTOMER_NAME>-$(kubectl config current-context) \
--set global.privateImageRegistry.enabled=true \
--set global.image.repository=<REPOSITORY> \
scaleops <PATH-TO-HELM-CHART.tgz>