For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Unlike deploying Dags with the Astro CLI, deploying Dags to an NFS volume doesn’t require rebuilding a Docker image and restarting your underlying Airflow service. When a Dag is added to an NFS volume, it automatically appears in the Airflow UI without requiring additional action or causing downtime.
How NFS deploys work
When you configure an NFS volume for a Deployment:
APC validates the NFS location format (SERVER_IP:PATH).
APC creates a Kubernetes PersistentVolume (PV) pointing to your NFS server.
APC creates a PersistentVolumeClaim (PVC) bound to the PV.
The NFS volume is mounted read-only to the scheduler and workers at /usr/local/airflow/dags.
Dags are synced by writing files directly to your NFS server.
NFS Server (/dags)
│
▼
┌──────────────┐
│ Kubernetes │
│ PV + PVC │
└──────┬───────┘
│
├──► Scheduler (/usr/local/airflow/dags)
│
└──► Workers (/usr/local/airflow/dags)
Implementation considerations
If you configure NFS for a Deployment, you can’t use the Astro CLI or service accounts to deploy DAGs to that Deployment. NFS becomes the exclusive deployment mechanism.
Before configuring NFS deploys:
Namespace pools limitation: NFS deploys will not work if you use namespace pools and set global.clusterRoles to false. The NFS deploy feature requires creating PersistentVolumes, which are cluster-scoped resources.
Dags only: NFS volumes deploy only Dags. To add Python dependencies or system packages, update your requirements.txt and packages.txt files and deploy using the CLI or CI/CD.
Airflow version: NFS volumes require Airflow 2.0 or later.
Read-only mount: The NFS volume is mounted read-only to Airflow components. Write operations must happen directly on the NFS server.
Prerequisites
APC 1.0 or later installed
An NFS server accessible from your Kubernetes cluster
Network connectivity between cluster nodes and the NFS server
Read access configured for UID/GID 50000 on the NFS share
Enable NFS volume storage
A System Admin must enable NFS deploys on the platform. Update your values.yaml: