License and License keys v1
License keys are a legacy management mechanism for EDB Postgres for Kubernetes. You do not need a license key if you have installed using an EDB subscription token, and in this case, the licensing commands in this section can be ignored.
If you are not using an EDB subscription token and installing from public repositories, then you will need a license key. The only exception is when you run the operator with Community PostgreSQL: in this case, if the license key is unset, a cluster will be started with the default trial license - which automatically expires after 30 days. This is not the recommended way of trialing EDB Postgres for Kubernetes - see the installation guide for the recommended options.
The following documentation is only for users who have installed the operator using a license key.
Company level license keys
A license key allows you to create an unlimited number of PostgreSQL clusters in your installation.
The license key needs to be available in a Secret
in the same namespace where
the operator is deployed (ConfigMap
is also available, but not recommended
for a license key).
Operator configuration
For more information, refer to Operator configuration.
Once the company level license is installed, the validity of the license key can be checked inside the cluster status.
Kubernetes installations via YAML manifest
When the operator is installed in Kubernetes using the YAML manifest,
it is deployed by default in the postgresql-operator-system
namespace.
Given the namespace name, and the license key, you can create the config map with the following command: