Skip to main content
Version 3.0

CloudBeaver, from first access
to use by the whole team.

Six common scenarios, from the first installation to metadata in PostgreSQL. Each one covers: what the chart already provides, what changes in the cluster, the values file commented line by line, and a step-by-step with verification.

ChartVersion3.0.3TypeapplicationAppVersion25.3.0
CompatibilityKubernetes1.32+OpenShift4.19+Rancher2.10.x+
Feature SupportLDAPsupportedS3supportedExternal DBsupportedIngresssupportedGateway APIsupported

The tdp-cloudbeaver chart starts CloudBeaver, a database manager with a web interface (SQL editing, data and schema browsing), with its workspace on a persistent volume and an administrator already created, without the first-access setup wizard. Sizing, access, metadata location and who signs in are your decisions, and each scenario below addresses one of them. For the architecture, see CloudBeaver - Concepts.

Your environment

If you fill in your environment details here, the page's examples and commands use what you entered. The namespace, release name and values file are your choices, not the chart's.

Scenarios​

Install with chart defaults, access from your machine and sign in as administrator.

You want to see CloudBeaver working before deciding anything about sizing, access or login. You will install with chart defaults, access from your machine and sign in with the administrator the chart creates. CloudBeaver normally asks for an administrator in a wizard on first access. The chart skips this wizard and creates the user on first startup while the workspace is empty. Everything shown here is what the chart provides by itself. The other scenarios start from this state.

Workspace

A PVC with the release name, sized by persistence.size. Stores users, connections, settings and CloudBeaver's own metadata in an embedded database.

Administrator

The user in initialData.adminName, with the temporary password in adminSecret.data.password, stored in the tdp-cloudbeaver-admin-secret Secret.

Access

Internal Service (ClusterIP) with the release name, on the service.ports.http port, without Ingress. Local login only, without LDAP.

One instance per namespace

Three resources have fixed names: tdp-cloudbeaver-admin-secret, tdp-cloudbeaver-initial-data and tdp-cloudbeaver-data-sources. A second release in the same namespace fails. Each CloudBeaver belongs in its own namespace, with its own pull Secret.

To run more than one CloudBeaver, install each in its own namespace, with its own values file and tdp-registry Secret:

Example
helm upgrade --install cloudbeaver-dev oci://registry.tecnisys.com.br/tdp/charts/tdp-cloudbeaver \
--version 3.0.3 \
-n cloudbeaver-dev --create-namespace -f values-dev.yaml
helm upgrade --install cloudbeaver-prod oci://registry.tecnisys.com.br/tdp/charts/tdp-cloudbeaver \
--version 3.0.3 \
-n cloudbeaver-prod --create-namespace -f values-prod.yaml

What starts in the namespace with chart defaults

namespace <NAMESPACE>port-forwardUsersport-forwardServiceClusterIP · <RELEASE_NAME>CloudBeaverlocal loginPVC<RELEASE_NAME> · workspaceSecrettdp-registryAdmin Secretinitial-datadata-sources
  1. Users. Without external exposure, each person opens a tunnel from their machine to the Service with kubectl port-forward and uses CloudBeaver in the browser at localhost. Suitable for testing, not for a team. Chart default: no external exposure (port-forward).
  2. Service. The CloudBeaver address in the cluster. Has the release name, <RELEASE_NAME>, and serves on the service.ports.http port. Chart default: ClusterIP. (tdp-cloudbeaver.service.type)
  3. CloudBeaver. The application pod. Before it starts, the sync-workspace-config init container prepares cloudbeaver.conf and, only on first startup, copies pre-registered connections to the workspace. Without LDAP, only local login is available, with the administrator created by the chart. Chart default: requests and limits in resources. (tdp-cloudbeaver.resources)
  4. Workspace PVC. Stores the workspace: users, connections, settings and, without an external database, CloudBeaver's own metadata. Has the release name, and helm uninstall deletes it. Chart default: enabled, size in persistence.size. (tdp-cloudbeaver.persistence.size)
  5. Pull Secret. The tdp-registry Secret, with your TDP registry credentials. Create it in the namespace before installation; without it, pods remain in ImagePullBackOff. Chart default: does not exist.
  6. Fixed name: tdp-cloudbeaver-admin-secret. The Secret containing the administrator password. The name does not derive from the release: that is why only one CloudBeaver instance fits per namespace. (tdp-cloudbeaver.adminSecret.name)
  7. Fixed name: tdp-cloudbeaver-initial-data. The ConfigMap containing initial-data.conf, which creates the administrator on first startup. The name does not derive from the release. (tdp-cloudbeaver.initialData.name)
  8. Fixed name: tdp-cloudbeaver-data-sources. The ConfigMap containing pre-registered connections. The name does not derive from the release. (tdp-cloudbeaver.dataSources.name)
What starts in the namespace with chart defaults. Click an element to see what it is and its corresponding default.

Check the TDP license

The chart requires a valid TDP license installed in the cluster.

Terminal input
kubectl get platformlicenses -A

Success criteria

The license appears in the list with STATE VALID. If it does not appear, or appears with another state, install or renew it before continuing (Licensing Configuration).

Create the registry pull Secret

The chart uses the tdp-registry Secret, with your TDP registry credentials, in the release namespace.

If the namespace does not exist, create it before the Secret:

Terminal input
kubectl create namespace <NAMESPACE>
Terminal input
kubectl -n <NAMESPACE> create secret docker-registry tdp-registry \
--docker-server=registry.tecnisys.com.br \
--docker-username=<REGISTRY_USERNAME> --docker-password=<REGISTRY_CLI_SECRET>

Replace placeholders with the registry username and token. They remain only in the command. More details in Prerequisites.

Success criteria

The Secret appears with kubectl -n <NAMESPACE> get secret tdp-registry.

Install with defaults

Without a values file, the chart starts exactly as in the figure above.

Terminal input
helm install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-cloudbeaver \
--version 3.0.3 \
-n <NAMESPACE>

--version pins the chart version. Without --version, Helm installs the latest published version.

Success criteria

Terminal input
kubectl get pods -n <NAMESPACE>
kubectl get svc -n <NAMESPACE>
kubectl get pvc -n <NAMESPACE>
helm get values <RELEASE_NAME> -n <NAMESPACE>

The pod reaches Running, the Service has the release name and the PVC becomes Bound. helm get values shows values applied to the release. Add --all to also see chart defaults.

If the pod does not start

Look up the message in When something goes wrong: ImagePullBackOff means the pull Secret; license check failed means the license.

Access from your machine

Without external exposure, kubectl opens a tunnel from your machine to the Service.

Terminal input
kubectl port-forward --namespace <NAMESPACE> svc/<RELEASE_NAME> 8978:8978

Leave the command running and open localhost in the browser, on the local port from port-forward above.

Success criteria

The login page opens without the setup wizard, and you sign in with user cbadmin and temporary password ChangeMe!T3c (or the one set in your values file). Change this password before using CloudBeaver beyond testing: see Security - CloudBeaver.
If the setup wizard appears

The workspace was not clean on first startup. See the corresponding symptom in When something goes wrong.

When something goes wrong​

Troubleshooting

Paste the error message or choose a symptom. The answer includes the cause, what to do and the command.

  1. ImagePullBackOff for CloudBeaver images. Cause: The tdp-registry pull Secret is missing from the release namespace. What to do: Create the tdp-registry Secret in the namespace with your registry credential (First contact scenario).
  2. Installation rejected: license check failed. Cause: The TDP license is missing or invalid in the cluster. What to do: Install or renew the license (Licensing Configuration) and run installation again.
  3. Second instance in the same namespace fails. Cause: Three resources have fixed names: tdp-cloudbeaver-admin-secret, tdp-cloudbeaver-initial-data and tdp-cloudbeaver-data-sources. A second release in the same namespace collides with them. What to do: Install each CloudBeaver in its own namespace, each with its own tdp-registry Secret.
  4. Pod does not start. Cause: Pod logs, including the previous execution's logs, and namespace events show the reason. What to do: Read logs and events in chronological order.
  5. The setup wizard appears on first access. Cause: The workspace was not clean, or initial-data.conf was not mounted. What to do: Check the mounted initial-data.conf and workspace. If .cloudbeaver.runtime.conf exists in .data, the workspace is not clean: uninstall the release (the PVC is removed too) and install again. Also check that the ConfigMap contains JSON with adminName and adminPassword and look for log messages about setup mode or administrator creation.
  6. Workspace PVC does not become Bound. Cause: The workspace PVC was not provisioned. What to do: Check PVC status and events.
  7. Service does not respond. Cause: The Service has no ready endpoints. What to do: Check endpoints and the Service.
  8. create-db Job failed. Cause: Administration or user password Secret missing from the namespace, wrong PostgreSQL host or port, wrong administration password, or postgres user lacking permission to create databases. What to do: The failed Job remains in the cluster with its log. Read the log, fix the cause and run the same helm upgrade --install again: it replaces the failed Job.
  9. CloudBeaver cannot connect to external PostgreSQL. Cause: The pod's CLOUDBEAVER_DB_* variables do not point to the database created, or the database is unreachable. What to do: Check pod variables and look for database errors in logs. Also test the database connection from the pod.

Uninstall​

The workspace (users, connections, settings and, without an external database, CloudBeaver's own metadata) is stored on the PVC with the release name, and helm uninstall deletes it. Back it up before uninstalling or upgrading, using your storage tools. For example, a CSI VolumeSnapshot when the StorageClass supports snapshots:

VolumeSnapshot
apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshot
metadata:
name: <RELEASE_NAME>-workspace-<TIMESTAMP>
namespace: <NAMESPACE>
spec:
volumeSnapshotClassName: <SNAPSHOT_CLASS>
source:
persistentVolumeClaimName: <RELEASE_NAME>
Terminal input
kubectl apply -f <FILE_NAME>
kubectl -n <NAMESPACE> get volumesnapshot

With an external database, back up that database too. Then uninstall:

Terminal input
helm -n <NAMESPACE> uninstall <RELEASE_NAME>

What remains after helm uninstall:

  • the PVC specified in persistence.existingClaim, which is yours: delete or empty it before reinstalling if you want a clean workspace;
  • Secrets you created with kubectl: tdp-registry, the LDAP bind Secret, the tdp-postgresql-auth copy and S3 credentials;
  • the database user password Secret, when created by the chart with database.secret.enabled.

Deleting the namespace removes everything in it, including persistent volumes without a retention policy:

Terminal input
kubectl delete namespace <NAMESPACE>

The order for removing the entire platform is in Uninstallation.

All parameters​

Filter by name or group. The chart prefix is already filled in. Keys without a prefix belong at the root of the values file.

40 of 40 parameters

ParameterDescriptionChart default
tdp-cloudbeaver.image.registryGeneralImage registryregistry.tecnisys.com.br
tdp-cloudbeaver.image.repositoryGeneralImage repositorycommunity/images/dbeaver/cloudbeaver
tdp-cloudbeaver.image.tagGeneralImage tag25.3.0
tdp-cloudbeaver.app.supportsCustomConnectionsGeneralAllows authenticated users to create their own connectionsfalse
tdp-cloudbeaver.resources.requests.cpuResourcesCPU reserved for the pod500m
tdp-cloudbeaver.resources.requests.memoryResourcesMemory reserved for the pod1Gi
tdp-cloudbeaver.resources.limits.cpuResourcesCPU limit1
tdp-cloudbeaver.resources.limits.memoryResourcesMemory limit2Gi
tdp-cloudbeaver.persistence.enabledStorageEnables the persistent workspace volumetrue
tdp-cloudbeaver.persistence.sizeStorageWorkspace volume size5Gi
tdp-cloudbeaver.persistence.storageClassStorageWorkspace PVC StorageClass""
tdp-cloudbeaver.persistence.existingClaimStorageExisting PVC for the workspace""
tdp-cloudbeaver.service.typeExposureService typeClusterIP
tdp-cloudbeaver.service.nodePorts.httpExposureNode port (with service.type: NodePort)""
tdp-cloudbeaver.ingress.ingressClassNameExposureIngress class""
TDP-Settings.gateway.ingress.enabledExposureExposes CloudBeaver through Ingress (Route on OpenShift)false
TDP-Settings.gateway.gatewayApi.enabledExposureExposes CloudBeaver through Gateway APIfalse
gatewayApi.gatewayClassNameExposureGatewayClass of the Gateway created by the chart""
gatewayApi.parentRefsExposureGateway to which the HTTPRoute attaches[]
tdp-cloudbeaver.initialData.enabledAdministratorCreates the administrator on first startup (without the setup wizard)true
tdp-cloudbeaver.initialData.nameAdministratorinitial-data.conf ConfigMap nametdp-cloudbeaver-initial-data
tdp-cloudbeaver.initialData.adminNameAdministratorAdministrator username (cannot be admin)cbadmin
tdp-cloudbeaver.adminSecret.enabledAdministratorStores the administrator password in a Secrettrue
tdp-cloudbeaver.adminSecret.nameAdministratorSecret nametdp-cloudbeaver-admin-secret
tdp-cloudbeaver.adminSecret.data.passwordAdministratorAdministrator password (temporary, change it)ChangeMe!T3c
tdp-cloudbeaver.database.enabledExternal databaseUses external PostgreSQL for metadatafalse
tdp-cloudbeaver.database.typeExternal databaseDatabase typepostgresql
tdp-cloudbeaver.database.hostExternal databasePostgreSQL host""
tdp-cloudbeaver.database.portExternal databasePostgreSQL port5432
tdp-cloudbeaver.database.databaseNameExternal databaseDatabase to create""
tdp-cloudbeaver.database.schemaExternal databaseDatabase schemapublic
tdp-cloudbeaver.database.userExternal databaseCloudBeaver user in the database""
tdp-cloudbeaver.database.driverExternal databaseDatabase driver in CloudBeaverpostgres-jdbc
tdp-cloudbeaver.database.passwordSecret.nameExternal databaseSecret containing the database user password""
tdp-cloudbeaver.database.passwordSecret.keyExternal databasePassword key in the Secretpassword
tdp-cloudbeaver.database.postgresSecret.nameExternal databaseSecret containing the PostgreSQL administration password (tdp-postgresql-auth in the TDP PostgreSQL chart)""
tdp-cloudbeaver.database.postgresSecret.keyExternal databaseAdministration password key in the Secretpostgres-password
tdp-cloudbeaver.database.secret.enabledExternal databaseCreates the database user password Secret through Helmfalse
tdp-cloudbeaver.database.secret.nameExternal databaseSecret name to create""
tdp-cloudbeaver.database.secret.dataExternal databaseSecret data (key and value){}

Security parameters are in Security - CloudBeaver, and pre-registered connection parameters in Integrations - CloudBeaver. For the complete list, run helm show values for the installed version.

Next steps​