Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Git & deploy

Deploy the Vulcan resource to DataOS, and verify the product is live and discoverable.

Deploying turns a validated local project into a running, discoverable Data Product. DataOS pulls your project from Git, runs it on a schedule, and serves it through APIs. This page generates the deployment manifest, applies it, and verifies the result.

A product isn't complete just because the models run locally. It becomes complete when it's deployed, discoverable, trusted, and queryable by others.

Before you begin

You need a clean local run, plus these deployment building blocks:

  • A passing vulcan plan.

  • Your project pushed to a Git branch, with a Git-sync secret so DataOS can pull it.

  • A Depot with read/write access to the target, a valid engine, and a compute resource.

  • The target engine's own minimum grants provisioned for the Vulcan service account (see the engine's page under Connect engine). A Depot grant alone doesn't give Vulcan permission to create or write tables on the engine itself.

Confirm each of these with:

dataos-ctl resource get -t <depot|compute> -a

If get -a shows you don't have access to one of these, ask your tenant admin for a Can Use grant. This isn't something you can fix yourself.

For the full readiness checklist, see Operate → Get access and confirm readiness.

1. Render the deploy manifest

Deployment is driven entirely by a deployment: block in config.yaml: where the repo is, which engine and compute to use, the schedule, and the API surface. You never hand-author or hand-edit the manifest itself; you set these keys and let Vulcan render it.

# config.yaml
deployment:
  repo:
    url: https://bitbucket.org/your-org/your-repo
    base_dir: your-repo/path/to/orders-analytics
  compute: pacific
  run_as_user: "johndoetmdcio"
  engine: postgres   # required only when the gateway connection is type: depot

Engine-specific config lives in this same deployment: block, not a separate file. deployment.spark_conf is only valid when the resolved engine is spark, and deployment.trino only when it's trino; setting either under the wrong engine fails validation. There's no more standalone trino-deploy.yaml. deployment.state_store_connection and deployment.object_store_connection are advanced, optional overrides that also live here.

For the full deployment: reference, see References → Vulcan → Deployment.

Then generate the manifest:

create_deploy_yaml is a deterministic renderer, not a starter template. Every value in the output comes from your project or the deployment: block above: there's nothing left to fill in by hand. If a value is wrong, fix config.yaml and regenerate, rather than editing the YAML output directly.

The rendered file looks like this:

Set end_on a year or two out. An expired schedule stops silently, with no error. repo.secret_id is only needed if the repository is private. concurrency_policy always renders as Forbid; it isn't something you configure.

Skip writing the file entirely and pipe straight into apply:

Commit and push config.yaml to your Git branch before you lint. DataOS pulls the project from Git, not from your local copy.

2. Lint the manifest

Before applying for real, render the manifest and validate it with -l (lint / dry-run) instead of applying it:

The -l flag lints the rendered manifest without applying it, so a missing required field, an unsupported engine, or an unknown key under deployment: gets caught here instead of at DataOS. Fix any errors it reports in config.yaml and re-run until it passes cleanly.

3. Apply the resource

Once the lint passes cleanly, run the same render piped into apply, without -l:

This deploys the Vulcan resource and starts its runtime components. A deployed product isn't one container: DataOS creates a plan component (runs vulcan plan --auto-apply), a run component (runs vulcan run on the schedule), and an api component (serves the endpoints).

4. Check status and logs

Pick the container group that matches what you're investigating: orders-analytics-r-execute for model execution, orders-analytics-plan-execute for planning and migration, orders-analytics-api-0 for query and endpoint issues. On the plan and run groups, Vulcan's output is in the main container; on the API, pass the container name shown by dataos-ctl resource get runtime -t vulcan -n orders-analytics (for example, -c orders-analytics-api).

For Spark gateways, the run and plan pods act as the Spark driver. Start with the DataOS run logs to see whether the failure happened before or during job submission, then move to the Spark driver and executor logs.

For the full runtime picture behind these three components, including individual container groups and sidecars, see Monitor & delete.

Verify the product is live

Deployment is done when the product runs, serves, and shows up where consumers look. Confirm three things.

Models materialized. Connect to the target and confirm the tables or views exist, row counts are sensible, and scheduled models are updating:

The API responds. Hit the liveness endpoint:

The product is discoverable. In DataOS, confirm the product appears in discovery with:

  • Its metadata, owner, and description

  • Inputs and outputs

  • Quality and run signals

  • Working access paths

Update the product

To ship a change, don't delete the vulcan Resource and deploy it again: deleting takes its API down for every consumer until the redeploy finishes. Push the change to the synced Git ref, then update the product in place:

If only models changed and the deploy manifest is the same, re-running the plan is enough:

Then check dataos-ctl resource get runtime -t vulcan -n orders-analytics: the plan should reach completed while the API stays running. In-place updates need dataos-ctl 3.24.0 or later. For the full details, see Update a deployed Data Product.

Common issues

Issue
What to check

Repository does not sync

Git URL, branch, base_dir, Git-sync secret

Depot connection fails

Depot name, credentials, permissions

Plan fails

config.yaml, gateway, model defaults, migrations

Run fails

Model SQL, dependencies, permissions, engine logs

API fails

API resource allocation, service status, sidecar logs

Product not visible

Metadata registration, product spec, target tenant

Change not picked up after push

Re-apply with --re-run, or re-run vulcan-plan. Don't delete and redeploy.

Once models, API, and discovery all check out, the product is live. Capture reusable patterns from the build in Recipes.

Last updated

Was this helpful?