Install on Kubernetes

One Helm command installs dbCove on a Kubernetes cluster. dbCove keeps its repository in your PostgreSQL or Oracle database.

Before you begin

  • A Kubernetes cluster, and kubectl for a namespace in it. The pod meets the restricted Pod Security Standard.
  • A storage class for a 2 GB volume. The volume keeps the keys, the settings, the certificates and the log files.
  • A repository that your DBA prepares: a PostgreSQL 17 or later database, or an Oracle Database 12.2 or later user. See Prepare your PostgreSQL and Prepare your Oracle.
  • Helm 3, or the plain YAML files in Install without Helm.
  • For OpenShift, refer to Install on OpenShift.

Install with Helm

  1. Make a secret. Put the password of the database and a password for the admin user in the command. Use 8 characters or more for the admin password.

    kubectl create secret generic dbcove-secrets \
      --from-literal=password='<database password>' \
      --from-literal=admin-password='<admin password>'
  2. Put your database server in this command. Then run it.

    helm install dbcove https://dbcove.com/helm/dbcove-0.1.0.tgz \
      --set repository.host=<server> \
      --set repository.user=dbcove \
      --set repository.existingSecret=dbcove-secrets \
      --set adminPassword.existingSecret=dbcove-secrets \
      --set adminPassword.key=admin-password
  3. Run this command. Wait until the pod shows 1/1 and Running.

    kubectl get pod dbcove-0
  4. Run this command. Then open https://localhost:8443/ and sign in as admin.

    kubectl port-forward service/dbcove 8443:443

dbCove makes its tables in the repository and starts. The first start can take some minutes.

For an Oracle repository, add --set repository.engine=oracle --set repository.serviceName=<service>.

When you install dbCove, you accept its license agreement.

Settings

ValueWhat it doesDefault
timeZoneThe clock of scheduled work. Use the time zone of the repository server.Etc/UTC
repository.enginepostgresql or oracle.postgresql
repository.host, portThe repository server.Port 5432 or 1521
repository.database, schemaPostgreSQL: the database and the schema of dbCove.dbcove
repository.serviceNameOracle: the service name.
repository.userThe role or the user that dbCove signs in as.
repository.existingSecretThe secret with the password, in the key password.
persistence.size, storageClassThe data volume.2Gi, the default class
resourcesThe CPU and memory of the pod.Request 1 CPU, 2Gi; limit 2Gi
ingress.*Access through your ingress controller. See below.Off

Open dbCove through your ingress controller

The ingress controller does the TLS and sends plain HTTP to dbCove.

  1. Make sure that the controller passes WebSocket connections, with an idle timeout of more than 60 seconds.

  2. Add these values to the helm upgrade or helm install command:

    --set ingress.enabled=true \
    --set ingress.className=<class> \
    --set ingress.host=dbcove.example.com \
    --set ingress.tls=edge \
    --set ingress.secretName=<secret with the certificate>
  3. Open https://dbcove.example.com/.

dbCove opens its plain HTTP port to the controller. Users open dbCove at the name of the ingress.

Set memory and CPU

The chart requests 1 CPU and 2Gi of memory, and sets a memory limit of 2Gi. It sets no CPU limit.

  1. Add the values to the helm upgrade or helm install command, for example:

    --set resources.limits.memory=4Gi \
    --set resources.requests.memory=4Gi \
    --set resources.limits.cpu=2

Without Helm, change the resources lines of the dbcove container in the YAML file. Then run kubectl apply -f with the file.

dbCove reads the limit of its container when it starts. The API uses at most 55% of the limit for its data, and the web interface 20%. You do not set anything else.

Why there is a limit

Without a limit, dbCove sees all the memory of the node and keeps the memory that it takes. In our test with three small databases, dbCove used more than 1.2 GB without a limit. With the 2Gi limit, it used less than 0.5 GB.

How much memory to give

2Gi is for a small installation. Give more memory when you add databases. We do not publish a size for each number of databases yet.

If the memory is too small

  1. Run this command.

    kubectl get pod dbcove-0 \
      -o jsonpath='{.status.containerStatuses[0].lastState.terminated.reason}'
  2. If it shows OOMKilled, or the RESTARTS column of kubectl get pod dbcove-0 increases, the pod had no more memory. Increase resources.limits.memory.

dbCove also writes a warning to its log when it uses more than half of its memory limit.

Disk

The data volume keeps the keys, the certificates and the logs. The repository keeps the data that dbCove collects. In our test, a small database added 13 to 17 MB a day. A busy database adds more.

Upgrade dbCove

helm upgrade dbcove https://dbcove.com/helm/dbcove-0.1.0.tgz \
  --reuse-values \
  --set image.tag=<new version>

dbCove brings the repository to the new release when it starts. The pod is ready after the upgrade of the repository. The upgrade can take up to 30 minutes.

Restart and back up

The pod has a fixed name, dbcove-0, and keeps its volume. When the pod restarts, dbCove finds its repository and changes nothing in it. The password of admin stays the same.

  • Back up the repository database.
  • Back up the volume data-dbcove-0. If you lose it, you must enter the recovery code.

Run one copy of dbCove for each repository. Do not set more than one replica.

Install without Helm

Two YAML files hold the same objects as the Helm chart:

RepositoryFile
Your own PostgreSQL 17 or laterdbcove.external-postgres.yaml
Your own Oracle Database 12.2 or laterdbcove.external-oracle.yaml
  1. Make the secret with the password of the database.

    kubectl create secret generic dbcove-repository \
      --from-literal=password='<database password>'
  2. In the file, set the DBCOVE_REPOSITORY_ values and TZ.

  3. Apply the file. Wait until the pod shows 1/1 and Running.

    kubectl apply -f dbcove.external-postgres.yaml
    kubectl get pod dbcove-0
  4. Run this command. The first password of admin is between two lines of =.

    kubectl logs dbcove-0
  5. Do step 4 of Install with Helm.

Updated December 2, 2026