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.
Write the manifest
Define the coordinator, workers, compute, runtime user, and depots.
Replace the placeholders with values for your environment.
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:
Spec fields reference
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
Verify the resource
Last updated
Was this helpful?