> For the complete documentation index, see [llms.txt](https://v2.dataos.info/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://v2.dataos.info/references/october2026/resources/minerva/create-a-minerva-resource.md).

# Create a Minerva resource

Create and verify a Minerva resource that exposes configured depots through a Trino-compatible endpoint.

### Before you begin

* The Minerva domain must exist. It is typically created during DataOS deployment.
* Compute must be available for coordinator and worker workloads.
* Depots must be configured with valid Secrets.
* You need permission to create a Minerva cluster. See [Minerva Cluster: Access control](https://v2.dataos.info/references/october2026/resources/minerva/access-control.md).

### Write the manifest

Define the coordinator, workers, compute, runtime user, and depots.

Replace the placeholders with values for your environment.

```yaml
version: v1alpha
type: minerva
name: ${MINERVA_CLUSTER_NAME}

tags:
  - minerva
  - ${TAG1}

spec:
  coordinator:
    replicas: ${COORDINATOR_REPLICAS}
    envs:
      JVM__opts: "${COORDINATOR_JVM_OPTS}"
    resources:
      requests:
        cpu: "${COORDINATOR_REQUEST_CPU}"
        memory: "${COORDINATOR_REQUEST_MEMORY}"
      limits:
        cpu: "${COORDINATOR_LIMIT_CPU}"
        memory: "${COORDINATOR_LIMIT_MEMORY}"
  worker:
    replicas: ${WORKER_REPLICAS}
    envs:
      JVM__opts: "${WORKER_JVM_OPTS}"
    resources:
      requests:
        cpu: "${WORKER_REQUEST_CPU}"
        memory: "${WORKER_REQUEST_MEMORY}"
      limits:
        cpu: "${WORKER_LIMIT_CPU}"
        memory: "${WORKER_LIMIT_MEMORY}"
  compute: ${MINERVA_COMPUTE_NAME}
  runAsUser: ${RUN_AS_USER}
  depots:
    - address: ${DEPOT_ADDRESS}
```

Example:

```yaml
version: v1alpha
type: minerva
name: miniature
tags:
  - minerva
spec:
  coordinator:
    replicas: 1
    envs:
      JVM__opts: "--add-opens=java.base/java.nio=ALL-UNNAMED"
    resources:
      requests:
        cpu: "1"
        memory: "1Gi"
      limits:
        cpu: "2"
        memory: "4Gi"
  worker:
    replicas: 1
    envs:
      JVM__opts: "--add-opens=java.base/java.nio=ALL-UNNAMED"
    resources:
      requests:
        cpu: "1"
        memory: "1Gi"
      limits:
        cpu: "2"
        memory: "4Gi"
  compute: universe-compute
  runAsUser: johndoe
  depots:
    - address: dataos://mys3lh?purpose=rw
```

### Spec fields reference

| Field                                   | Description                                            |
| --------------------------------------- | ------------------------------------------------------ |
| `coordinator.replicas`                  | Number of coordinator pods.                            |
| `coordinator.envs`                      | Environment variables for the coordinator.             |
| `coordinator.resources.requests.cpu`    | CPU reserved for the coordinator.                      |
| `coordinator.resources.requests.memory` | Memory reserved for the coordinator.                   |
| `coordinator.resources.limits.cpu`      | Maximum coordinator CPU.                               |
| `coordinator.resources.limits.memory`   | Maximum coordinator memory.                            |
| `worker.replicas`                       | Number of worker pods.                                 |
| `worker.envs`                           | Environment variables for workers.                     |
| `worker.resources.requests.cpu`         | CPU reserved for each worker.                          |
| `worker.resources.requests.memory`      | Memory reserved for each worker.                       |
| `worker.resources.limits.cpu`           | Maximum CPU for each worker.                           |
| `worker.resources.limits.memory`        | Maximum memory for each worker.                        |
| `compute`                               | Compute where coordinator and worker services run.     |
| `runAsUser`                             | Runtime identity for access control and authorization. |
| `depots[].address`                      | Depot URI exposed as a Minerva catalog.                |

### Apply the resource

```bash
dataos-ctl resource apply -f resource-spec.yaml
```

### Verify the resource

```bash
dataos-ctl resource get -t minerva -a
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://v2.dataos.info/references/october2026/resources/minerva/create-a-minerva-resource.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
