Activate DataLens
Written by
Updated at April 8, 2026
Getting started
- Make sure the DataLens images are uploaded into the cluster’s local registry. For more information, see Uploading DataLens images.
- Make sure the Managed Service for PostgreSQL and Identity and Access Management components are enabled in the cluster.
Enabling a component
-
Create a manifest file named
datalensconfig.yamlwith the following contents:apiVersion: stackland.yandex.cloud/v1alpha1 kind: DataLensConfig metadata: name: main spec: enabled: true -
Apply the manifest:
kubectl apply -f datalensconfig.yaml
Checking the installation status
-
Check the component installation status:
kubectl get componentinstallation -l component=datalens -
Wait until all pods in the
stackland-datalensnamespace are ready:kubectl get pods -n stackland-datalensAll pods must switch to
Runningstatus.
Opening the DataLens console
Once the installation is complete, the DataLens console will be available at https://datalens.<cluster domain>. To log in to the console, click Sign In via SSO → Stackland IAM and sign in to Identity and Access Management.
What is created at activation
Once DataLens is activated, the following resources get automatically created:
- A namespace named
stackland-datalens. - A PostgreSQL cluster named
datalens-dbwith the following databases:datalens-auth: Authentication data.datalens-compeng: Computing engine.datalens-us: User settings.datalens-meta-manager: Metadata.datalens-demo: Demo data.datalens-temporal: Task scheduler data.datalens-temporal-visibility: Task visibility data.
- Secrets with database passwords and authentication keys. The
datalens-secretssecret contains the default local admin user's password. Use it in case of issues with the IAM federation. - An OAuthClient named
stackland.datalensfor integration with Identity and Access Management. - A group named
stackland-datalens-adminsin Identity and Access Management with the cluster administrator added.
Setting up a configuration
To edit the component settings, edit the DataLensConfig resource:
kubectl edit datalensconfig main
Learn more about the configuration parameters in the DataLens section.