create_nfs_export
Create an NFS export on TrueNAS Core for Kubernetes persistent volumes, specifying dataset, allowed networks, read-only access, and root user/group mapping.
Instructions
Create an NFS export for Kubernetes persistent volumes
Args:
dataset: Dataset path to export (e.g., "tank/k8s-volumes")
allowed_networks: List of allowed networks (e.g., ["10.0.0.0/24"])
read_only: Whether the export is read-only
maproot_user: User to map root to
maproot_group: Group to map root to
Input Schema
Name | Required | Description | Default |
---|---|---|---|
allowed_networks | No | ||
dataset | Yes | ||
maproot_group | No | wheel | |
maproot_user | No | root | |
read_only | No |