Deployment and operations
OpenMetadata is delivered as a Java service with a web interface and supporting data services. The project supports fast local runs with Docker, standalone distribution archives or Linux packages, and Kubernetes-based pipeline work. Across all modes, operators must provide durable metadata storage, a search store, runtime configuration, and a way to confirm that the service and ingestion path work.
Deployment model
OpenMetadata has two related deployment concerns. The server exposes the catalog API and web interface, while ingestion runs as a separate service that talks to the server and its storage. Docker Compose makes this relationship visible for local use; a standalone package puts the server files under one application home; Kubernetes adds cluster scheduling and the OpenMetadata job operator.
The main deployment choices are:
| Environment | Main goal | Operational shape |
|---|---|---|
| Local Docker | Start a complete working stack quickly | Compose services for the server, database, search, and optional ingestion |
| Distribution | Run the server outside Compose | A versioned archive or RPM with libraries, configuration, startup tools, and migration tools |
| Kubernetes | Run workloads under cluster control | Containerized server components plus the optional OMJob operator for ingestion job lifecycle control |
The child pages provide the next level of detail: Containerized deployment covers Docker packaging and Compose, while Kubernetes operator covers cluster job control.
Service dependencies
The server uses a relational database for stored metadata and a search service for discovery. An RDF-enabled local stack adds the published OpenMetadata Fuseki image as a graph store, while the full quickstart also includes an Airflow-based ingestion service that can create and run pipelines against the server.
These services share a network in Compose. RDF-enabled paths wait for Fuseki health before migration and server work can proceed. The PostgreSQL development lane starts the server after its migration and core data services are ready. Ingestion starts after the server and its data services are available. This ordering makes startup a dependency check rather than a promise that every service is ready at the same instant.
References: docker/…/docker-compose-rdf.yml• L90-128 docker/…/docker-compose-fuseki.yml• L17-64 docker/…/docker-compose-postgres-fuseki.yml• L608-640
Deployment boundaries
The server and its stateful dependencies have different operating needs. The server can be replaced with a new container or package, but the database, search data, and optional RDF graph data need persistent storage and controlled migration. In local Compose, named or host-bound volumes keep this state outside the short-lived containers.
The current Fuseki image stores its datasets and configuration below /fuseki. The Compose files deliberately use a fuseki-store volume, and the Kubernetes deployment mounts the same image boundary at /fuseki. Do not reuse an older volume that uses a different layout without a planned data move or re-index. The server has a main API port and a separate admin port. The admin port is used for health checks, so a deployment can distinguish a live process from a service that is ready to accept work.
References: docker/…/docker-compose-rdf.yml• L30-38 docker/…/docker-compose-rdf.yml• L90-128 docker/…/docker-compose-fuseki.yml• L66-118 docker/…/docker-compose.override.yml• L15-23 docker/…/fuseki-deployment.yaml• L17-35 docker/…/fuseki-deployment.yaml• L53-127
Packaging and distribution
The distribution build creates a versioned tar.gz archive from the service and its runtime dependencies. The archive is an application home that contains the libraries, conf, bin, bootstrap, and a README, so the same server startup and migration model can run without Compose.
The default package includes the web interface. A backend-only build omits that UI dependency, while the RPM profile maps the same runtime areas under /opt/openmetadata. These profiles let release work choose between a complete server bundle, a backend bundle, and a Linux package without changing the service contract.
Security review uses a separate server-focused scanner image. The scanner pins its Java base by a multi-architecture digest and verifies its Maven archive before it places the checkout at /src and builds the server scope for offline review. The image also removes disallowed certificate roots during the build. Its threat model defines the image boundary and requires a supported release with production authentication enabled when testing unauthenticated access. This scope helps operators distinguish a security assessment from a normal deployment check; it does not replace runtime validation.
Build and UI support images serve a different purpose from the OpenMetadata runtime package. The Olivaw image provides a reproducible tool environment for build and test work with a digest-pinned multi-architecture base plus checksum-checked Maven, Node, and other tools. The Storybook image builds and serves static UI documentation as a non-root process. The local mock OIDC image provides an ephemeral identity service for development profiles.
References: openmetadata-dist/pom.xml• L26-42 openmetadata-dist/pom.xml• L49-103 openmetadata-dist/pom.xml• L104-184 openmetadata-dist/…/binary.xml• L18-67 docker/…/Dockerfile• L1-80 docker/…/threat_model.md• L1-19 docker/…/threat_model.md• L94-110 docker/…/threat_model.md• L112-126 docker/…/Dockerfile• L1-141 docker/…/Dockerfile• L12-19 docker/…/Dockerfile• L36-58 docker/…/Dockerfile• L1-12
Container packaging uses that application home as the shared runtime contract. The quickstart image downloads a release archive, while the development image unpacks the locally built archive. Both images use a distroless non-root runtime with a Java 21 runtime, the native libraries required by the server, shell shims for the shared startup flow, and the same API and admin ports. Their Java runtimes remove selected untrusted certificate roots during image creation, and the build fails if those roots remain trusted. Their Docker build contexts allow only the files needed by the selected source path and entrypoint, which keeps local builds separate from unrelated repository content.
References: docker/…/Dockerfile• L12-39 docker/…/Dockerfile• L54-163 docker/…/Dockerfile.dockerignore• L1-11 docker/…/Dockerfile• L12-32 docker/…/Dockerfile• L34-98 docker/…/Dockerfile.dockerignore• L1-19
Runtime startup
A packaged server starts from its application home and loads conf/openmetadata.yaml. The startup path builds a class path from the libs directory, applies JVM and log settings, and launches the OpenMetadata application in foreground or daemon mode. Docker uses the same packaged files and keeps the process in the container foreground.
Database changes run as a separate operations step through bootstrap/openmetadata-ops.sh. The Compose stack runs this step before the server and blocks server startup if the step fails. This separates data migration from normal request serving and makes a failed upgrade visible at deployment time.
References: bin/openmetadata-server-start.sh• L18-49 bin/openmetadata-server-start.sh• L120-128 docker/openmetadata-start.sh• L13-31 bootstrap/openmetadata-ops.sh• L25-57 docker/…/docker-compose-openmetadata.yml• L14-18 docker/…/docker-compose-openmetadata.yml• L446-458
Configuration model
OpenMetadata uses YAML files as the base configuration and environment variables as deployment-time overrides. The main file defines the server address, API path, connector settings, thread behavior, compression, and request logging. The operations file carries settings such as the public server URL and SMTP behavior. Local distributed-server profiles use the same override model while assigning separate API and admin ports to each server instance.
Keep the configuration source aligned with the deployment boundary:
- Use conf/openmetadata.yaml for server and transport behavior.
- Use environment variables to adapt the same image or archive to a database, search service, RDF store, authentication provider, and external URLs.
- Use conf/operations.yaml for operational features such as email and the public OpenMetadata URL.
- Supply private keys, client secrets, passwords, and other sensitive values through a protected secret mechanism. Do not bake them into an image or package.
The Compose files show the intended pattern. They provide defaults for local use and allow deployment values to replace them through ${NAME:-default} expressions. Important groups include authentication and authorization, database, search, RDF, pipeline client, secret storage, email, heap size, and web security.
References: conf/openmetadata.yaml• L12-26 conf/openmetadata.yaml• L45-80 conf/operations.yaml• L1-15 docker/…/docker-compose-openmetadata.yml• L18-40 docker/…/docker-compose-openmetadata.yml• L121-145 docker/…/docker-compose-rdf.yml• L130-228 docker/…/docker-compose-postgres-fuseki.yml• L88-228 docker/…/server1.yaml• L13-21 docker/…/server2.yaml• L13-21 docker/…/server3.yaml• L13-21
Network and security settings
The default connector is HTTP for development and test use. Production traffic should use TLS at the service or at a trusted proxy, with forwarded-header handling set to match that proxy. Authentication and authorization settings travel with the server configuration, while the database, search service, Airflow endpoint, RDF store, and secret store each need their own connection and credential settings.
Production security checks must use a supported deployment with authentication enabled. Disabled authentication and bundled development keys are not production validation settings.
The configuration also exposes response security controls such as HSTS, frame options, content type protection, content security policy, referrer policy, and cache behavior. These controls affect the edge behavior of the deployed service, so a proxy or ingress must not silently replace their intended values. The local Fuseki image receives its access password from deployment-time settings. Local passwords must be overridden outside local development.
References: conf/openmetadata.yaml• L23-80 conf/openmetadata.yaml• L104-119 conf/openmetadata.yaml• L177-220 docker/…/docker-compose-openmetadata.yml• L250-343 docker/…/docker-compose-openmetadata.yml• L422-445 docker/…/docker-compose-fuseki.yml• L66-104 docker/…/docker-compose-rdf.yml• L90-128 docker/…/fuseki-deployment.yaml• L67-91 docker/…/threat_model.md• L9-19 docker/…/threat_model.md• L123-151
Local Docker deployment
The quickstart Compose file is the broad local path. It brings up MySQL, Elasticsearch, the migration task, the OpenMetadata server, and an Airflow-based ingestion service. RDF-enabled variants add the published Fuseki image and wait for its health check before migration and server work can proceed. Health checks and depends_on conditions give each stage a clear readiness gate.
The development Compose file is the source-build path for local engineering. It builds the server and ingestion images from the workspace instead of selecting release images. It also exposes opt-in sso-test and rdf profiles for a mock OIDC provider and Fuseki. The development server can select its application connector protocol, while its admin health endpoint remains the readiness gate. The mock OIDC provider is an isolated local fixture that presents browser-facing discovery and redirect endpoints while it exposes server-facing token, key, and user endpoints when it runs in Docker. It keeps the browser-facing issuer distinct from the Docker service address, maps Auth0-shaped and MSAL-shaped client paths to the same test provider, and exposes controls for repeatable token, login, and failure cases. It is not an identity service for production.
The local flow is:
flowchart TD
A[Compose configuration] --> B[Database, search, and optional RDF services]
B --> C[Health checks]
C --> D[Migration task]
D --> E[OpenMetadata server]
E --> F[Ingestion service]
F --> G[Sample pipeline validation]
G --> H[Search and optional RDF reindex]
The quickstart uses image variables for the database, server, and ingestion images. This allows a local build or a release image to use the same service shape. The quickstart server image obtains its application archive from the release URL, while the development image builds from the archive produced in the local workspace. Both use the same non-root runtime shape and the same entrypoint contract. The RDF quickstart and development RDF overrides use the pinned openmetadata/fuseki image and mount its /fuseki data boundary. The separate OpenMetadata Compose file is smaller: it focuses on the migration task and server and expects the database and search services to be supplied elsewhere.
References: docker/…/docker-compose-rdf.yml• L40-128 docker/…/docker-compose-rdf.yml• L313-547 docker/…/docker-compose.yml• L19-63 docker/…/docker-compose.yml• L287-305 docker/…/docker-compose.yml• L22-70 docker/…/docker-compose.yml• L308-528 docker/…/docker-compose.yml• L605-659 docker/…/Dockerfile• L12-39 docker/…/Dockerfile• L119-163 docker/…/Dockerfile• L12-32 docker/…/Dockerfile• L34-98 docker/…/Dockerfile.dockerignore• L1-11 docker/…/Dockerfile.dockerignore• L1-19 docker/…/docker-compose-fuseki.yml• L66-119 docker/…/docker-compose-postgres-fuseki.yml• L608-640 docker/…/docker-compose-openmetadata.yml• L13-18 docker/…/docker-compose-openmetadata.yml• L240-258 docker/…/Dockerfile• L1-12 docker/…/server.js• L18-33 docker/…/server.js• L109-177 docker/…/server.js• L334-390 docker/…/server.js• L393-489 docker/…/server.js• L497-646
Local development variants
Local Compose has variants for database choice, search choice, RDF services, and development needs. The standard stack uses MySQL and Elasticsearch. Other Compose files use PostgreSQL and OpenSearch, or add Fuseki for RDF-backed metadata work. The development file builds the server and ingestion services from local inputs, and its optional profiles add mock OIDC or RDF services. The RDF startup helper enables the RDF profile, supplies the Fuseki endpoint and credentials, and gives RDF validation and re-indexing a longer time window.
The Playwright fast Compose lanes provide only the database and search dependencies needed by browser validation. The default lane uses PostgreSQL with OpenSearch, while the MySQL lane uses MySQL with Elasticsearch. Both use required host data directories and health checks so the browser run can wait for stable state; they do not start OpenMetadata or ingestion services themselves.
The active RDF Compose paths use one pinned published Fuseki image rather than separate architecture-specific image recipes. Its Compose contract names the serving dataset and two rebuild datasets, enables the union default graph, sets server-side query and update limits, and enables the OpenMetadata extension expected by the stack. The standalone and development profile paths use the same image and data boundary. The RDF smoke script checks health, dataset registration, SPARQL, metrics, version, non-root execution, update compatibility, and the configured write deadline.
References: docker/…/docker-compose-rdf.yml• L90-128 docker/…/docker-compose-fuseki-standalone.yml• L1-45 docker/…/docker-compose.yml• L628-659 docker/…/docker-compose-fuseki.yml• L66-119 docker/…/docker-compose-postgres-fuseki.yml• L608-640 docker/…/docker-compose-playwright-fast.yml• L1-75 docker/…/docker-compose-playwright-fast-mysql.yml• L1-51 docker/…/docker-compose.override.yml• L3-43 docker/…/start-rdf-services.sh• L27-45 docker/…/stop-rdf-services.sh• L20-34 docker/…/test-rdf-services.sh• L32-171
LDAP SSO fixture
The local OpenLDAP fixture provides a small identity provider for LDAP single sign-on checks. It creates one directory tree and one test user, then exposes the LDAP service to either a containerized OpenMetadata server or a server running on the host. Its credentials and directory data are for ephemeral end-to-end testing only and must not be used as a production identity service.
The container keeps its internal bind port fixed while the published host port can be changed. The OpenMetadata LDAP endpoint must use the container name and internal port on a shared Compose network, or localhost and the published port when the server runs on the host. The fixture health check confirms that the seeded user can be found before SSO validation starts.
References: docker/…/README.md• L1-25 docker/…/bootstrap.ldif• L12-39 docker/…/docker-compose.yml• L1-31
Use the variant that matches the service contract under test. Do not treat a local single-node search service, disabled security, or local Fuseki passwords as a production profile.
References: docker/…/docker-compose-postgres.yml• L1-20 docker/…/docker-compose-opensearch-standalone.yml• L1-20 docker/…/docker-compose-rdf.yml• L90-128 docker/…/docker-compose-postgres-fuseki.yml• L37-84 docker/…/docker-compose-fuseki.yml• L66-104
Distributed local services
The distributed-test profiles run three OpenMetadata server instances as one named cluster. Each instance uses the same database, search, pipeline, and security contract while exposing a distinct API and admin port. This setup tests shared state and multi-instance behavior without changing the service contract used by a normal deployment.
The distributed test database initialization creates the OpenMetadata schema and user if they do not exist. It grants the test user broad access so all three server instances can use the same database during the run. This script is a test fixture, not a production permission model. The general MySQL image also creates separate OpenMetadata and Airflow databases with their matching users for the standard local stack.
References: docker/…/server1.yaml• L1-4 docker/…/server1.yaml• L15-55 docker/…/server2.yaml• L1-4 docker/…/server2.yaml• L15-55 docker/…/server3.yaml• L1-4 docker/…/server3.yaml• L15-55 docker/…/mysql-init.sql• L1-13 docker/…/mysql-script.sql• L1-10
The Playwright AutoPilot fixture adds two source databases and a read-only user. Its small tables represent metadata and usage sources that browser checks can read through AutoPilot agents. The fixture also permits access to MySQL query history because those agents validate usage and lineage behavior. These credentials and rows exist only to make local browser validation repeatable.
References: docker/…/playwright-autopilot-mysql.sql• L1-34
Kubernetes operations
Kubernetes adds a control loop for ingestion jobs. The OpenMetadata Kubernetes operator watches two custom resources: OMJob for one pipeline run and CronOMJob for scheduled runs. A custom resource is a Kubernetes object that states the desired job behavior; the operator turns that statement into pods and status updates.
The operator is not the metadata server itself. It manages the lifecycle around pipeline execution and reports the result back through the Kubernetes resource and events. The server still needs its own container deployment, persistent services, configuration, and health checks. The published Fuseki image can also run as a single-replica Kubernetes deployment with a persistent claim, secret-backed credentials, non-root volume access, and probes.
References: openmetadata-k8s-operator/README.md• L1-16 openmetadata-k8s-operator/…/omjob-crd.yaml• L1-18 openmetadata-k8s-operator/…/cronomjob-crd.yaml• L1-38 docker/…/fuseki-deployment.yaml• L37-135
Pipeline job lifecycle
An OMJob uses a two-stage run. The main pod performs ingestion. After the main pod ends for any observed reason, the operator starts an exit-handler pod to publish final status and complete cleanup work. The resource moves through Pending, Running, ExitHandlerRunning, and then Succeeded or Failed.
This flow protects final status updates from common pod termination cases such as application failure, a crash, an out-of-memory kill, manual termination, eviction, or node failure. A CronOMJob adds a schedule and an OMJob template. It creates one OMJob for each eligible schedule time and records the last created run.
The following diagram shows the relationship between a Kubernetes pipeline client, the custom resources, and the two pods used for one run.
sequenceDiagram
participant C as Pipeline client
participant K as Kubernetes API
participant O as OMJob operator
participant M as Main ingestion pod
participant X as Exit-handler pod
C->>K: Create OMJob
K->>O: Reconcile Pending resource
O->>K: Create main pod
O->>K: Watch main pod
M-->>K: Complete or terminate
O->>K: Create exit-handler pod
X-->>K: Publish final status
O->>K: Set Succeeded or Failed
References: openmetadata-k8s-operator/…/OMJobReconciler.java• L36-48 openmetadata-k8s-operator/…/OMJobReconciler.java• L103-132 openmetadata-k8s-operator/…/OMJobReconciler.java• L193-300 openmetadata-k8s-operator/…/CronOMJobReconciler.java• L76-158 openmetadata-k8s-operator/…/OMJobPhase.java• L18-77
Kubernetes resource controls
The job resources carry the information needed to run a pipeline pod in a cluster. This includes the image, command, environment sources, service account, resource limits, placement rules, labels, annotations, and a retention time for completed work. Scheduled jobs also define the schedule time zone, suspension, missed-run deadline, and history limits.
These fields are the contract between the pipeline client and the operator. Image pull access, service accounts, secret references, resource quotas, and node placement must be valid in the target namespace before a run can start. The Fuseki deployment has the same kind of contract: the persistent claim must support the dataset and rebuild footprint, the storage class must support the write load, and fsGroup: 1000 must make the volume writable by the image.
References: openmetadata-k8s-operator/…/OMJobSpec.java• L31-93 openmetadata-k8s-operator/…/omjob-crd.yaml• L15-182 openmetadata-k8s-operator/…/cronomjob-crd.yaml• L15-38 docker/…/fuseki-deployment.yaml• L17-35 docker/…/fuseki-deployment.yaml• L53-127
Validation and observability
Deployment validation checks more than process startup. It must show that dependencies are reachable, migrations have completed, the server is healthy, a new sample ingestion run can finish, and the search index can be rebuilt. The local validation path targets the run created during startup instead of accepting an unrelated old run. It also ensures required application definitions are present before it triggers an application run. In an RDF-enabled path, service checks prove that the Fuseki dataset, query endpoint, metrics, version, and bounded update behavior are available. When a run fails or times out, validation reports task state and available task logs within a bounded diagnostic window.
The validation path is:
- Wait for the sample DAG to become available in Airflow.
- Trigger a new sample run and retain its run identifier or logical date.
- Poll that run until it reports success or failure.
- Report task state and logs when the Airflow endpoints support them.
- Fail when the run reports failure or the time budget ends.
- Ensure required applications are installed and available.
- Disable scheduled search indexing, then trigger the search indexing application and wait for completion.
- In an RDF-enabled run, install and run the RDF indexing application.
This check validates the connection between Airflow, OpenMetadata, the search service, and the optional RDF store. The validator forwards its time budget into the container and bounds each request, so a stalled dependency does not hide the final diagnosis. A green container health check alone does not prove that ingestion or indexing works. Sample-ingestion failure can be reported as a warning for local startup unless strict DAG validation is enabled.
References: docker/run_local_docker_common.sh• L46-73 docker/run_local_docker_common.sh• L155-220 docker/run_local_docker_common.sh• L222-371 docker/run_local_docker_common.sh• L484-537 docker/run_local_docker_common.sh• L564-575 docker/run_local_docker_common.sh• L578-721 docker/run_local_docker_common.sh• L722-724 docker/run_local_docker_rdf.sh• L64-73 docker/run_local_docker_rdf.sh• L105-122 docker/validate_compose.py• L97-125 docker/validate_compose.py• L210-275 docker/validate_compose.py• L367-419 docker/validate_compose.py• L422-488 docker/…/test-rdf-services.sh• L32-171
Health and metrics
The server health check uses the admin endpoint exposed on port 8586 in the Compose deployment. The operator has separate liveness and readiness endpoints. Liveness reports that the process is running; readiness also reflects operator readiness and can check Kubernetes API access. Prometheus metrics expose operator readiness and build information, with the broader operator README describing reconciliation, duration, pod, and phase metrics. Fuseki exposes protected metrics for JVM and request data.
Use health for routing and restart decisions. Use readiness before sending work. Use events, logs, and metrics to explain a failed reconciliation or a job that does not reach its terminal state.
References: docker/…/docker-compose-openmetadata.yml• L446-458 openmetadata-k8s-operator/…/HealthCheckService.java• L34-44 openmetadata-k8s-operator/…/HealthCheckService.java• L73-119 openmetadata-k8s-operator/…/HealthCheckService.java• L152-160 openmetadata-k8s-operator/README.md• L200-236 docker/…/test-rdf-services.sh• L53-69
Change checklist
When these files or sections are changed, remember to consider these:
- Keep the server image, migration image, and UI dependency on the same release version. A mismatch can leave the schema, API, and assets out of step.
- Keep the quickstart image variables and development build inputs aligned with the server, migration, and ingestion service contracts. A change in one local path can otherwise hide a release mismatch in the other.
- Keep each Dockerfile's build context rules aligned with its
COPYinputs. A new local archive or script can be silently excluded from the image when the matching.dockerignoreallowlist is not updated. - Keep the quickstart and development runtime stages aligned on Java version, native libraries, shell shims, numeric non-root user, exposed ports, and certificate trust policy. A change in one image can make local release and source-build paths behave differently.
- Keep the Compose dependency gates aligned with the health endpoints. Changing a port or health path without changing the gate can make a healthy service appear unavailable.
- Keep the optional development profiles aligned with their environment switches. A profile can start a dependency that the server does not use, or enable a server feature without its service.
- Keep the Playwright fast Compose lanes aligned with the browser runner's selected database and search pair. Keep the required host data directories, service names, and health checks aligned when changing either lane.
- Keep the mock OIDC image runtime and its development profile aligned with the server's OIDC endpoint and port. Keep issuer, browser redirect, internal service URL, and CORS settings aligned when changing the fixture. A fixture that starts but uses a different contract can make SSO checks misleading.
- Keep conf/openmetadata.yaml, conf/operations.yaml, and Compose environment names aligned. A renamed setting can silently restore a local default in another deployment.
- Keep archive contents, startup scripts, and RPM mappings aligned. A file added to the runtime must exist in every supported package shape.
- Keep the Olivaw base digest, architecture support, pinned tool versions, checksums, and build requirements aligned. A toolchain drift can fail image creation before deployment validation starts.
- Keep the scanner base digest, Java and Maven pins, source path, and certificate trust policy aligned with Olivaw. The scanner must still build its server scope without network access during review.
- Keep the Storybook Node version, UI lockfile, static-file route, and served port aligned. A valid image can still serve a broken preview if the UI build and server route contract differ.
- Keep the OSS scanner threat model aligned with the server image boundary and the supported production authentication contract. A scope change can make a security result inapplicable without changing runtime behavior.
- Keep OMJob and CronOMJob schemas aligned with the pipeline client and operator models. A field accepted by one side but not the other can stop a run before pod creation.
- Keep OMJob phase transitions aligned with status, event, and exit-handler behavior. A new terminal or intermediate phase needs matching reconciliation and monitoring rules.
- Keep validation URLs, application definitions, trigger responses, and authentication behavior aligned with Airflow and OpenMetadata service changes. A changed endpoint or status shape can turn a working stack into a false validation failure.
- Keep the explicit search indexing trigger aligned with its disabled schedule. Re-enabling an overlapping schedule can replace newer writes with an index built from an older read.
- Keep the Fuseki image, dataset names,
/fusekimount, RDF endpoint, credentials, and timeout settings aligned across Compose and Kubernetes. A mismatch can produce an empty, unreachable, or prematurely stopped graph service. - Keep the active RDF Compose and Kubernetes files on the same Fuseki image and data layout. An alternate volume path can mount state that the image does not read.
- Keep the RDF Kubernetes claim sized for the live and alternate datasets plus compaction space. A small claim can fail rebuilds after the serving store remains healthy.
- Keep the RDF volume writable by uid 1000 in both Docker and Kubernetes. A root-owned old volume or missing
fsGroupcan stop the image before it serves. - Keep the Fuseki access settings and local credentials aligned with the deployment boundary. Local defaults must not become the credentials for a shared or production service.
- Keep the startup validation budget consistent across the host shell,
docker exec, and validator. A value that does not cross the container boundary can shorten the wait or hide useful failure details. - Keep the validation target tied to the run created by startup. Falling back to an older scheduled run can report success for a run that did not test the current deployment.
- Keep the LDAP fixture's seeded directory, published port, and OpenMetadata LDAP endpoint aligned. A host-versus-container address mismatch can make the SSO check fail while the LDAP container is healthy.
- Keep the distributed-test MySQL fixture aligned with the three server profiles. Database names, user grants, and shared credentials must remain usable by every instance while staying distinct from production permissions.
- Keep the AutoPilot Playwright fixture's source schemas, read grants, and query-history access aligned with the browser validation flows. A missing table or privilege can look like an agent failure rather than a fixture failure.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| Migration task fails or does not complete | The server is held back by the Compose dependency gate | Inspect the migration task result before inspecting server logs |
| Database or search health check fails | Server startup waits or the service cannot serve catalog requests | Check dependency health and persistent volume access |
| Environment override is missing | A local default can select the wrong host, auth mode, port, or credential | Review the resolved deployment environment before startup |
| Docker build input is excluded by a narrow build context | The image can build without the intended archive or entrypoint, or fail only when that file is needed | Check the Dockerfile COPY inputs against its .dockerignore allowlist |
| Quickstart and development service inputs use different release contracts | One local path can validate a different server, migration, or ingestion version than the other | Compare image tags, build outputs, and service environment names |
| Playwright fast lane uses the wrong database or search pair | Browser validation can start against an incompatible or empty dependency set | Select the matching Compose lane and provide its required data directories |
| Java, Maven, or Node pin is unavailable or checksum validation fails | Runtime, build, or UI images fail before deployment validation starts | Use the pinned multi-architecture base and verified tool artifacts |
| Runtime image trusts a blocked certificate root or the trust-removal step is incomplete | The image can keep an unwanted trust path or fail its security build check | Review the pinned base digest and confirm the build fails when a blocked root remains |
Scanner build context or /src contract changes | Security review cannot enroll the repository or compile its offline scope | Keep scanner paths, context, and threat model in sync |
| Mock OIDC issuer, browser URLs, internal URLs, or CORS allow-list diverge | Browser or server SSO calls fail even though the identity fixture is healthy | Compare discovery, redirect, Docker-internal, and allowed-origin settings |
| Olivaw tool version or base image is unavailable or mismatched | Build and test jobs fail before they can validate a deployment | Use the pinned multi-architecture base and checksum-checked tools |
| Storybook preview route or UI Node version is wrong | The image starts but the component preview does not render | Build with the UI's supported Node version and verify the preview route |
| RDF endpoint, dataset name, or Fuseki health check is wrong | Migration or server startup waits, or RDF features cannot reach their graph store | Compare the endpoint, dataset, credentials, image, and service health result |
| Old Fuseki volume is reused with the new data path | Fuseki can start with no visible graph even though old files exist | Use the /fuseki volume expected by the published image and re-index or migrate data deliberately |
| Fuseki starts with a timeout or dataset contract that differs from OpenMetadata | RDF requests can stop too early or target a missing graph | Compare Compose and Kubernetes environment values with the server RDF settings |
Fuseki volume is root-owned or Kubernetes lacks fsGroup: 1000 | The non-root image fails before serving | Repair ownership or set the pod security group required by the image |
| Fuseki access settings are not supplied or use weak local credentials | Admin or graph operations can be exposed or rejected unexpectedly | Override the password and confirm the image starts with its intended access settings |
| API is live but sample ingestion fails | Basic process checks pass while the end-to-end data path is broken | Run the targeted sample DAG validation and read its task diagnostics |
| Required application is missing or its run status shape changes | Validation cannot trigger or correctly classify indexing work | Check application installation and both run-status endpoints |
| Search indexing schedule overlaps explicit reindexing | A later write can disappear from search when an older index replaces it | Keep the schedule disabled and validate the explicitly triggered run |
| Validation receives no forwarded time budget | The validator can stop before the outer startup window and omit useful diagnostics | Pass the validation settings explicitly into the container |
| LDAP SSO uses the wrong address or published port | The SSO check cannot bind to the healthy local directory | Match the OpenMetadata endpoint to the network path and keep the fixture port override in sync |
| Distributed-test database grants or names do not match the server profiles | One or more local server instances cannot migrate or share metadata | Compare the MySQL init script with every distributed server configuration |
| AutoPilot fixture lacks a source table or query-history grant | Playwright validation fails before it can test agent behavior | Check the fixture databases, sample rows, and read privileges |
| Security scan uses disabled authentication, development defaults, or an unsupported release | The result does not assess eligible unauthenticated access in a supported deployment | Use a supported release with production authentication enabled and follow the reporting scope |
| Main OMJob pod cannot be created | The job remains pending or becomes failed | Check RBAC, image pull access, namespace quotas, and pod settings |
| Main pod ends but exit-handler creation fails | Final pipeline status is not published by the intended cleanup path | Check operator permissions and operator logs |
| Operator loses Kubernetes API access | Readiness fails and reconciliation cannot progress | Check /ready, operator logs, and cluster API access |
| Completed job is retained too long or too briefly | Cluster resources or run history become hard to manage | Review TTL and scheduled-job history settings |
Key files
| File | Why to read it |
|---|---|
| docker/…/docker-compose.yml | Shows the full local service graph, dependency gates, persistent volumes, and deployment-time settings |
| docker/…/docker-compose.yml | Shows the source-build local stack and its optional mock OIDC and RDF profiles |
| docker/…/docker-compose-rdf.yml | Shows the RDF-enabled quickstart and its relationship between Fuseki, migration, server, and ingestion |
| docker/…/docker-compose-fuseki-standalone.yml | Shows the standalone published Fuseki service and its persistent data boundary |
| docker/…/docker-compose.override.yml | Shows host-bound storage and local resource settings for persistent services |
| docker/…/docker-compose-openmetadata.yml | Shows the server and migration deployment shape when dependencies are external |
| docker/…/docker-compose-fuseki.yml | Shows the reusable RDF Compose override, Fuseki health gate, credentials, datasets, and data volume |
| docker/…/docker-compose-postgres-fuseki.yml | Shows the PostgreSQL and OpenSearch local stack with RDF services |
| docker/…/docker-compose-playwright-fast.yml | Shows the fast browser-validation dependency lane for PostgreSQL and OpenSearch |
| docker/…/docker-compose-playwright-fast-mysql.yml | Shows the alternate fast browser-validation dependency lane for MySQL and Elasticsearch |
| docker/…/start-rdf-services.sh | Shows the local startup path for standalone RDF and search services |
| docker/…/stop-rdf-services.sh | Shows how local RDF and search services stop while preserving data |
| docker/…/test-rdf-services.sh | Shows smoke checks for Fuseki health, authentication, graph access, metrics, version, non-root execution, and bounded updates |
docker/docker-compose-quickstart/Dockerfile | Shows the release-image path, pinned Java trust changes, native runtime support, and shared non-root contract used by local Compose |
docker/docker-compose-quickstart/Dockerfile.dockerignore | Shows which repository input remains available when the release image is built |
docker/development/Dockerfile | Shows how the locally built distribution archive becomes a non-root server image and applies the same runtime trust policy |
docker/development/Dockerfile.dockerignore | Shows which local archive and entrypoint inputs remain available for the development image |
docker/development/mock-oidc-provider/Dockerfile | Shows the local identity fixture image used by the development SSO profile |
| docker/…/server.js | Shows the local OIDC discovery, browser SDK path aliases, Docker-internal endpoint split, and controlled auth test behavior |
| docker/openmetadata-start.sh | Shows the container entry point for the packaged server |
docker/olivaw/Dockerfile | Shows the digest-pinned build and test tool environment used by the Olivaw runner |
docker/storybook/Dockerfile | Shows the static Storybook build and non-root serving path |
docker/oss-scanner/Dockerfile | Shows the digest-pinned offline server-scope security scanner build image |
| conf/openmetadata.yaml | Defines the server ports, API path, transport behavior, and runtime tuning boundary |
| conf/operations.yaml | Defines public URL and email-related operational settings |
| bootstrap/openmetadata-ops.sh | Defines the migration operation used before normal serving |
| openmetadata-dist/pom.xml | Defines archive, backend-only, and RPM packaging profiles |
| openmetadata-dist/…/binary.xml | Defines the files and libraries included in the archive |
| docker/…/threat_model.md | Defines the scanner image boundary and the supported production authentication scope for security reports |
| docker/…/mysql-init.sql | Defines the shared MySQL fixture used by the distributed local server test |
| docker/…/server1.yaml | Shows the first server profile in the three-instance local distributed setup |
| docker/…/server2.yaml | Shows the second server profile and its distinct API and admin ports |
| docker/…/server3.yaml | Shows the third server profile and its distinct API and admin ports |
| docker/…/mysql-script.sql | Defines the MySQL databases and users for the standard local stack |
| docker/…/playwright-autopilot-mysql.sql | Defines the repeatable source data and read privileges for AutoPilot browser validation |
| docker/run_local_docker_common.sh | Defines local build, service startup, readiness checks, application validation, and explicit indexing flow |
| docker/run_local_docker_rdf.sh | Adds the RDF Compose profile, longer validation window, and RDF re-index step |
| docker/validate_compose.py | Defines targeted sample-run polling and bounded diagnostics for local ingestion validation |
| docker/…/README.md | Explains the local LDAP identity provider used to validate LDAP SSO |
| docker/…/docker-compose.yml | Defines the pinned LDAP image, port boundary, seed mount, and readiness check |
docker/local-sso/openldap/bootstrap.ldif | Defines the ephemeral directory tree and test user used by the LDAP fixture |
| docker/…/fuseki-deployment.yaml | Shows the Kubernetes service, persistent claim, secret-backed credentials, probes, resource boundary, and non-root volume access |
| openmetadata-k8s-operator/README.md | Gives the operator deployment, health, status, and troubleshooting model |
| openmetadata-k8s-operator/…/OMJobReconciler.java | Defines the one-run pipeline lifecycle and exit-handler guarantee |
| openmetadata-k8s-operator/…/CronOMJobReconciler.java | Defines scheduled OMJob creation and missed-schedule handling |
| openmetadata-k8s-operator/…/omjob-crd.yaml | Defines the Kubernetes contract for one pipeline run |
| openmetadata-k8s-operator/…/cronomjob-crd.yaml | Defines the Kubernetes contract for scheduled pipeline runs |