Documentation Index
Fetch the complete documentation index at: https://openmetadata-feat-feat-2mbfixdeploy.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
On-Prem Airflow Storage Setup
This guide walks through provisioning NFS-backed PVCs for Airflow DAGs and logs on an on-premises Kubernetes cluster, then deploying OpenMetadata. For prerequisites and StorageClass setup, see the On-Prem Kubernetes Deployment page.Provision NFS backed PVC for Airflow DAGs and Airflow Logs
Code Samples for PVC for Airflow DAGs
Code Samples for PVC for Airflow Logs
Change owner and permission manually on disks
Since airflow pods run as non-root users, they would not have write access on the nfs server volumes. In order to fix the permission here, spin up a pod with persistent volumes attached and run it once.Create OpenMetadata dependencies Values
Override openmetadata dependencies airflow helm values to bind the nfs persistent volumes for DAGs and logs.--values flag to point to your own YAML configuration if needed.
Troubleshooting
Starting with OpenMetadata v1.12.4, the dependency Helm chart no longer supports passing database passwords using individual Kubernetes secret keys (for example,passwordSecret and passwordSecretKey).
Instead, database credentials must be provided via a single Kubernetes Secret referenced using metadataSecretName. This secret must contain the full database connection string, including the password.
values.yml configuration and aligns with the database configuration approach used by the Airflow Helm chart.
FAQs
Java Memory Heap Issue
If your openmetadata pods are not in ready state at any point in time and the openmetadata pod logs speaks about the below issue -Xmx specifies the maximum memory allocation pool for a Java virtual machine (JVM), while Xms specifies the initial memory allocation pool.
Upgrade the helm charts with the above changes using the following command helm upgrade --install openmetadata open-metadata/openmetadata --values <values.yml> --namespace <namespaceName>. Update this command your values.yml filename and namespaceName where you have deployed OpenMetadata in Kubernetes.
PostgreSQL Issue permission denied to create extension “pgcrypto”
If you are facing the below issue with PostgreSQL as Database Backend for OpenMetadata Application,How to extend and use custom docker images with OpenMetadata Helm Charts ?
Extending OpenMetadata Server Docker Image
1. Create a Dockerfile based on docker.open-metadata.org/openmetadata/server
OpenMetadata helm charts uses official published docker images from DockerHub.
A typical scenario will be to install organization certificates for connecting with inhouse systems.
For Example -
docker.open-metadata.org/openmetadata/server:x.y.z needs to point to the same version of the OpenMetadata server, for example docker.open-metadata.org/openmetadata/server:1.3.1.
This image needs to be built and published to the container registry of your choice.
2. Update your openmetadata helm values yaml
The OpenMetadata Application gets installed as part ofopenmetadata helm chart. In this step, update the custom helm values using YAML file to point the image created in the previous step. For example, create a helm values file named values.yaml with the following contents -
3. Install / Upgrade your helm release
Upgrade/Install your openmetadata helm charts with the below single command:Extending OpenMetadata Ingestion Docker Image
One possible use case where you would need to use a custom image for the ingestion is because you have developed your own custom connectors. You can find a complete working example of this here. After you have your code ready, the steps would be the following:1. Create a Dockerfile based on docker.open-metadata.org/openmetadata/ingestion:
For example -
docker.open-metadata.org/openmetadata/ingestion:x.y.z needs to point to the same version of the OpenMetadata server, for example docker.open-metadata.org/openmetadata/ingestion:1.3.1.
This image needs to be built and published to the container registry of your choice.
2. Update the airflow in openmetadata dependencies values YAML
The ingestion containers (which is the one shipping Airflow) gets installed in theopenmetadata-dependencies helm chart. In this step, we use
our own custom values YAML file to point to the image we just created on the previous step. You can create a file named values.deps.yaml with the
following contents:
3. Install / Upgrade helm release
Upgrade/Install your openmetadata-dependencies helm charts with the below single command:How to disable MySQL and ElasticSearch from OpenMetadata Dependencies Helm Charts ?
If you are using MySQL and ElasticSearch externally, you would want to disable the local installation of mysql and elasticsearch while installing OpenMetadata Dependencies Helm Chart. You can disable the MySQL and ElasticSearch Helm Dependencies by settingenabled: false value for each dependency. Below is the command to set helm values from Helm CLI -
values.deps.yaml to disable installation of MySQL and Elasticsearch .
How to configure external database like PostgreSQL with OpenMetadata Helm Charts ?
OpenMetadata Supports PostgreSQL as one of the Database Dependencies. OpenMetadata Helm Charts by default does not include PostgreSQL as Database Dependencies. In order to configure Helm Charts with External Database like PostgreSQL, follow the below guide to make the helm values change and upgrade / install OpenMetadata helm charts with the same.Upgrade Airflow Helm Dependencies Helm Charts to connect to External Database like PostgreSQL
We ship airflow-helm as one of OpenMetadata Dependencies with default values to connect to MySQL Database as part ofexternalDatabase configurations.
You can find more information on setting the externalDatabase as part of helm values here.
With OpenMetadata Dependencies Helm Charts, your helm values would look something like below -
kubectl create secret generic airflow-postgresql-secrets --from-literal=airflow-postgresql-password=<password>.
Upgrade OpenMetadata Helm Charts to connect to External Database like PostgreSQL
Update theopenmetadata.config.database.* helm values for OpenMetadata Application to connect to External Database like PostgreSQL.
With OpenMetadata Helm Charts, your helm values would look something like below -
kubectl create secret generic openmetadata-postgresql-secrets --from-literal=openmetadata-postgresql-password=<password>.
Once you make the above changes to your helm values, run the below command to install/upgrade helm charts -
How to customize OpenMetadata Dependencies Helm Chart with custom helm values
Our OpenMetadata Dependencies Helm Charts are internally depends on three sub-charts -- Bitnami MySQL (helm chart version 9.7.2)
- OpenSearch (helm chart version 2.12.2)
- Airflow (helm chart version 8.8.0)