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
kubectlfor a namespace in it. The pod meets therestrictedPod 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
Make a secret. Put the password of the database and a password for the
adminuser 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>'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-passwordRun this command. Wait until the pod shows
1/1andRunning.kubectl get pod dbcove-0Run this command. Then open
https://localhost:8443/and sign in asadmin.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
| Value | What it does | Default |
|---|---|---|
timeZone | The clock of scheduled work. Use the time zone of the repository server. | Etc/UTC |
repository.engine | postgresql or oracle. | postgresql |
repository.host, port | The repository server. | Port 5432 or 1521 |
repository.database, schema | PostgreSQL: the database and the schema of dbCove. | dbcove |
repository.serviceName | Oracle: the service name. | |
repository.user | The role or the user that dbCove signs in as. | |
repository.existingSecret | The secret with the password, in the key password. | |
persistence.size, storageClass | The data volume. | 2Gi, the default class |
resources | The 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.
Make sure that the controller passes WebSocket connections, with an idle timeout of more than 60 seconds.
Add these values to the
helm upgradeorhelm installcommand:--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>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.
Add the values to the
helm upgradeorhelm installcommand, 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
Run this command.
kubectl get pod dbcove-0 \ -o jsonpath='{.status.containerStatuses[0].lastState.terminated.reason}'If it shows
OOMKilled, or theRESTARTScolumn ofkubectl get pod dbcove-0increases, the pod had no more memory. Increaseresources.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:
| Repository | File |
|---|---|
| Your own PostgreSQL 17 or later | dbcove.external-postgres.yaml |
| Your own Oracle Database 12.2 or later | dbcove.external-oracle.yaml |
Make the secret with the password of the database.
kubectl create secret generic dbcove-repository \ --from-literal=password='<database password>'In the file, set the
DBCOVE_REPOSITORY_values andTZ.Apply the file. Wait until the pod shows
1/1andRunning.kubectl apply -f dbcove.external-postgres.yaml kubectl get pod dbcove-0Run this command. The first password of
adminis between two lines of=.kubectl logs dbcove-0Do step 4 of Install with Helm.
Related
Updated December 2, 2026