/oss/en/nfs-quota-agent/feature-guide

Features & CRD Guide

QuotaPolicy CRD, dynamic provisioning, Prometheus metrics, and REST APIs.

Features & CRD Guide

Comprehensive guide to declarative CRDs, APIs, and observability in NFS Quota Agent.

QuotaPolicy CRD Specification

apiVersion: storage.dasomel.io/v1alpha1
kind: QuotaPolicy
metadata:
  name: database-quota-policy
  namespace: database
spec:
  pvcSelector:
    matchLabels:
      tier: production-db
  hardLimit: "50Gi"
  softLimit: "45Gi"
  gracePeriod: "24h"
  alertThresholdPercent: 85

REST API Endpoints

MethodEndpointDescription
GET/api/v1/quotasList all active quotas and utilization stats
POST/api/v1/quotasCreate quota and assign a new Project ID
GET/api/v1/quotas/{id}Inspect specific quota metrics
PUT/api/v1/quotas/{id}Update hard/soft thresholds (volume expansion)
DELETE/api/v1/quotas/{id}Remove quota and recycle Project ID
GET/metricsPrometheus metrics scrape endpoint