Uploading DataLens images
The basic Stackland package does not include DataLens images. Make sure to upload the images to the cluster before activating the component.
Getting started
- Make sure the cluster service account can access licensed images in the container registry.
- Download the latest
sladmversion as described in our Installation guide.
Cluster with internet access
If your cluster has internet access, pull the DataLens images directly from the container registry:
sladm pull \
--image-bundle datalens \
--config config/
Where:
--image-bundle: Component name. To pull DataLens images, specifydatalens.--config: Configuration file path.
The command will create a directory with container images in OCI format.
Air-gapped cluster
If the cluster has no internet access, pull the images to an internet-connected machine, transfer them into the internal infrastructure, and then push them to the cluster’s local registry.
Downloading images on an internet-connected machine
On an internet-connected machine, run this command:
sladm pull \
--image-bundle datalens \
--config config/
Transferring artifacts into the internal infrastructure
Transfer the following to a machine with cluster access:
- Directory with container images in OCI format.
- Binary file named
sladm.
The transfer method depends on the security policies in your organization: removable media, secure file storage systems, or isolated network segments.
Warning
Make sure the target machine has enough free space to store all artifacts.
Pushing images to the local registry
On a machine with cluster access, run this command:
sladm push \
--local-registry \
--kubeconfig=<kubeconfig_path> \
--image-bundle-folder <path_to_directory_with_images>
Where:
--local-registry: Indicates the use of the cluster’s local registry.--kubeconfig: Path to thekubeconfigfile for access to the cluster.--image-bundle-folder: Path to the directory with container images.
What's next
- Activate DataLens: Set up and activate DataLens in your cluster.