DocumentDB with Azure Arc (preview)

DocumentDB with Azure Arc runs the open-source, MongoDB-compatible DocumentDB database on your Kubernetes infrastructure, connected to Azure. A Kubernetes operator manages database workloads in your cluster. You control the infrastructure and operate the database, rather than consume a fully managed database service in an Azure region.

Important

This capability is in preview. Microsoft provides no support for this DocumentDB capability during preview. Don't use it for production workloads. This restriction doesn't change the support terms for the underlying Azure Arc or infrastructure services.

For bugs and feedback, open an issue in the DocumentDB Kubernetes operator repository. This feedback channel isn't a Microsoft support commitment.

Use this deployment model to evaluate DocumentDB alongside applications in your Kubernetes environment. Azure Arc provides the connection to Azure management; it isn't the infrastructure hosting the database. For Kubernetes hosted on Azure Local infrastructure, see DocumentDB on Azure Local. Both deployment models differ from the fully managed Azure DocumentDB service, where Azure operates the database infrastructure.

Architecture and management

Azure Arc-enabled Kubernetes connects your Kubernetes cluster to Azure management services. The DocumentDB Arc extension installs components at the Kubernetes layer. Its lifecycle is separate from the lifecycle of the database clusters that run there.

The database workloads run in your Kubernetes environment, while the Azure portal and Azure Resource Manager management plane remain hosted in Azure. Connecting a cluster to Arc doesn't install a local Azure portal or Azure Resource Manager control plane.

You create and manage DocumentDB database clusters by using kubectl and Kubernetes custom resources. The operator reconciles those resources to manage database workloads. Managing an Arc extension isn't the same as creating or managing a database cluster.

The preview doesn't provide a dedicated DocumentDB Azure Resource Manager resource provider for database creation through the Azure portal or Azure CLI. Don't apply the managed Azure DocumentDB service's Bicep or Terraform database lifecycle instructions to this deployment.

DocumentDB uses PostgreSQL for storage and a gateway for MongoDB-compatible access. The DocumentDB Kubernetes operator manages these components. The upstream operator and the Arc preview package have separate release lifecycles.

Azure portal experience

In the Azure portal, open your Arc-enabled Kubernetes cluster and expand Kubernetes resources (preview). The resource view lets you inspect Kubernetes resources, including workloads such as deployments and pods, services, and storage. You need permission to view the Azure resource and authenticate to the Kubernetes cluster.

The resource view also provides a YAML editor for supported Kubernetes objects. These are generic Kubernetes management capabilities, not a dedicated DocumentDB database administration or query interface. Continue to use Kubernetes tooling for DocumentDB custom resources and a MongoDB-compatible client to query the database.

For access requirements and navigation, see Access Kubernetes resources from the Azure portal.

Your operational responsibilities

Your infrastructure team operates the Kubernetes environment, including compute, storage, networking, and cluster access. Your database team manages DocumentDB custom resources and evaluates database behavior for the application.

Assign responsibility for configuration changes, monitoring, troubleshooting, and test data before an evaluation. Connecting the cluster to Arc doesn't make the database a fully managed service.

The DocumentDB Arc extension is free during preview. You're responsible for infrastructure costs and charges for any additional services you use.

Compare with managed Azure DocumentDB

Use Azure Arc and Azure Local together: Arc provides the connection to Azure management, while Azure Local provides hosting infrastructure. The following comparison focuses on where the database runs and who operates it.

Area DocumentDB with Azure Arc (preview) DocumentDB on Azure Local (preview) Managed Azure DocumentDB
Database hosting Your Kubernetes infrastructure, connected to Azure Arc. Kubernetes hosted on Azure Local infrastructure. Azure-managed database infrastructure.
Operational responsibility Your teams operate Kubernetes and the database, using the operator to manage database workloads. Your teams operate local infrastructure, Kubernetes, and the database, using the operator to manage database workloads. Azure provides a fully managed database service.
Management model Azure Arc manages the cluster connection and extensions; Kubernetes resources manage database workloads. Azure tools manage the hosting platform; Kubernetes resources manage database workloads. Manage Azure service resources with Azure tools, including Azure CLI.

The preview feature tables cover Arc and Azure Local, not feature parity with the managed service. Check the platform validation and capability limits for each deployment, including Azure Local's validated configuration and limitations. For managed-service capabilities, see the Azure DocumentDB overview.

Plan your environment

For a local evaluation, use Kind to create a Kubernetes test cluster and connect it to Azure Arc. Use this environment to evaluate DocumentDB, not for production workloads. A Kind evaluation doesn't establish compatibility with Kubernetes hosts on Azure Local.

Before an evaluation, review these areas:

  • Kubernetes compatibility: Check the Kubernetes version and container runtime against the requirements of the operator version you're deploying, including its ImageVolume requirements.
  • Dependencies: Account for the operator's use of cert-manager and CloudNativePG (CNPG).
  • Infrastructure: Plan persistent storage, networking, cluster permissions, and capacity for your test workload.
  • Connectivity: The DocumentDB operator itself doesn't require Azure connectivity. Plan Azure Arc management access and access to container images, dependencies, and any remote monitoring backend separately.

The operator FAQ describes upstream dependencies and compatibility requirements. Check the version you deploy; upstream documentation isn't an installation guide for the Arc extension.

Preview access and extension upgrades

The public preview rollout is planned for all regions and subscriptions. Use the preview release train; customers don't need to specify a version when installing the extension. The rollout plan doesn't confirm that the extension is already available in every region or subscription.

For an Arc-managed installation, use Azure CLI extension updates to select a specific extension version. For manual version selection, set --auto-upgrade-minor-version false and specify --version. Azure Arc can automatically upgrade minor versions when --auto-upgrade-minor-version true (also named --auto-upgrade) is enabled. Don't combine automatic upgrades with a version pin. See Manage extension updates for the controls.

The extension version, operator version, and database engine version are separate. Extension 1.1.0 includes DocumentDB engine 1.0.0, as confirmed on November 6, 2026. This mapping doesn't identify the bundled operator version or a standalone Helm chart version. Selecting an extension upgrade isn't the same as selecting a database schema migration.

Preview limitations

The following tables separate platform testing from shared operator feature scope. Pending platform validation doesn't mean an operator feature is excluded. Tested compatibility doesn't change the preview's no-support or nonproduction restrictions.

Platform compatibility

The following configurations passed conformance testing for the DocumentDB operator extension (microsoft.documentdb.operator) version 1.1.0. Conformance testing doesn't validate every database function or establish a Microsoft support commitment.

Kubernetes platform or distribution Validated Kubernetes versions
Azure AKS (Ubuntu) 1.32.11, 1.34.12, 1.35.9, 1.36.5
Azure AKS (Azure Linux) 1.32.11, 1.33.13, 1.35.9
K3s 1.34.1+k3s1, 1.35.0+k3s1, 1.36.1+k3s1
MicroK8s 1.34.9, 1.35.6, 1.36.2
Canonical Kubernetes 1.33.13, 1.34.13, 1.35.10
Kubernetes deployed using Cluster API Provider Azure (CAPZ) 1.34.12, 1.35.9, 1.36.5
SUSE Rancher RKE2 1.36.1+rke2r1
Kind (local development and testing) 1.34.0, 1.35.0, 1.36.1
AKS enabled by Azure Arc on Azure Local 1.33.5

These results don't specify container runtime versions or processor architectures. The extension version identifies the tested package, not a required version pin.

Azure Local Kubernetes 1.32.9, RKE2 1.34 and 1.35, AKS Everywhere, AKS Edge Essentials, OpenShift/ARO, and VMware TKGS aren't validated by these results. Absence from the validated list doesn't mean a platform is unsupported. For feature-specific restrictions, see Capabilities and limitations.

Capabilities and limitations

The DocumentDB operator feature scope is the same for Azure Arc and Azure Local. DocumentDB Arc extension version 1.1.0 provides the operator features listed in the following table. Shared feature scope doesn't establish that each hosting configuration passed validation; see the Azure Local platform results.

Linked operator guides can describe newer releases or capabilities outside this preview. Check their applicability to your deployed package. Standalone Helm installation and upgrade procedures aren't Arc extension lifecycle instructions.

Capability Azure Arc preview Azure Local preview Scope and guidance
Cluster and database creation and querying Included. Same operator feature scope. Deploy clusters; create databases and collections; run CRUD and aggregation with MongoDB-compatible clients. See the operator quickstart.
Azure portal resource visibility Generic Kubernetes resource view. Hosting-platform management. Neither provides a dedicated DocumentDB database administration or query UI. Kubernetes resource visibility depends on cluster access permissions.
Database creation through a dedicated DocumentDB Azure Resource Manager resource provider Not available. Not available. Use Kubernetes tooling for database resources.
Compute and storage scaling Included within the listed limits. Same operator feature scope. Configure CPU and memory, scale between 1 and 3 instances per logical node, and expand persistent volume claims (PVCs) with a compatible CSI driver and StorageClass. Distributed multi-node scaling, multishard deployments, and storage shrinking aren't supported. See the API reference.
Full-text search and DiskANN Not included. Not included. Applies to this preview package, not every search capability.
Arc extension upgrades Manual version selection or automatic minor-version upgrades. Same controls where an Arc extension is used. See Preview access and extension upgrades. These are Azure management operations, not offline operator operations.
Operator and database upgrades Included. Same operator feature scope. Operator upgrades, engine and gateway rolling updates, and controlled schema migrations have separate controls. See Upgrades.
Monitoring Opt-in OpenTelemetry metrics; status, logs, and events. Same operator feature scope. OTLP or Prometheus export; you provide the monitoring backend and dashboards. See Monitor DocumentDB with Azure Arc and the operator's Monitoring guide.
Backup and restore CSI snapshot backup and restore with a compatible driver. Same operator feature scope; unavailable with the AKS on Azure Local disk driver that lacks volume snapshot support. On-demand or scheduled snapshots, retention, and restore into a new cluster require CSI snapshot support. With that Azure Local disk driver, Backup, ScheduledBackup, and snapshot restore aren't available; evaluate logical backups with mongodump and mongorestore instead. No point-in-time recovery (PITR) or in-place restore. See Backup and restore.
High availability and failover Local HA with automatic failover. Same operator feature scope. Within one Kubernetes cluster. Azure Fleet and cross-cluster replication and promotion are excluded from this preview. See the local HA section of the HA overview.
Credentials and certificates Kubernetes Secret credentials and gateway TLS. Same operator feature scope. Self-signed, customer-provided, or cert-manager-issued certificates. See TLS configuration.
Networking Internal ClusterIP and external LoadBalancer endpoints. Same operator feature scope. Availability depends on infrastructure support. See Networking.
Deleted-cluster recovery Recovery from retained persistent volumes. Same operator feature scope. Requires the volumes and their data to be retained; it isn't recovery from deleted storage. See Deleted-cluster recovery.
Operator operation without Azure connectivity No Azure connectivity requirement in the operator itself. Same operator feature scope. This doesn't make Azure Arc management or access to remote images and services available offline. See Connectivity boundaries.
Microsoft support and production use No Microsoft support; no production use. No Microsoft support; no production use. Underlying Azure Arc, Azure Local, and infrastructure support terms remain separate.

These limits apply to the DocumentDB preview, not to every upstream operator release or the managed Azure DocumentDB service.

Connectivity boundaries

The operator itself doesn't depend on Azure connectivity, and its feature scope doesn't differ between connected and disconnected operation. This feature scope is separate from the Azure-hosted management plane and the availability of container images, dependencies, storage services, and monitoring destinations.

Plan those dependencies for your environment. The feature scope isn't an end-to-end validation of disconnected installation, upgrades, or Azure Local hosting. Running the database locally also doesn't mean that all operational data stays there.

Monitoring and dashboards

Enable the operator's opt-in OpenTelemetry monitoring and configure OTLP export, Prometheus scraping, or both for your monitoring backend. The operator chart doesn't install a Prometheus stack, Grafana, or dashboards. If you use Grafana, provide that infrastructure separately. See the operator monitoring guide for configuration.

To try the metrics in an evaluation cluster, follow Monitor DocumentDB with Azure Arc. It sends metrics to an evaluation Grafana stack and imports a dashboard for your database pods.