> ## Documentation Index
> Fetch the complete documentation index at: https://usefused.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Deployment configuration reference

> Component fields for Harnest deployment workloads and services.

Use the [provisioning guide](https://usefused.com/docs/harnest/runtime/serving/provisioning.md) for a complete deployment, environment overrides, external services, and recovery. Declare component fields in `harnest-deployment.yaml`.

## Component fields

| Field | Behavior |
| - | - |
| `environment` | Container variables as strings or `{secret: VARIABLE}` references |
| `ports` | Named container TCP ports |
| `publish` | Named ports mapped to fixed loopback host ports locally |
| `depends_on` | Provisioned readiness dependencies and connected-service bindings |
| `healthcheck` | Required exec command; optional interval, timeout, and retries in seconds/count |
| `persistence` | One retained volume with `mount`, Kubernetes `size`, and optional `storage_class` |
| `resources` | CPU and memory limits; defaults to 1 CPU and 512 MiB |
| `replicas` | Agent instances; defaults to one |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.