Skip to main content
This guide walks through deploying a complete Mistrive installation on Kubernetes. You’ll set up FoundationDB for metadata storage, then deploy DFS, Platform, and Artifact Store using the Mistrive Operator.

Prerequisites

  • Kubernetes cluster (1.25+)
  • kubectl configured with cluster access
  • Storage class supporting dynamic provisioning
  • Ingress controller or Gateway API configured

Install FoundationDB

Mistrive uses FoundationDB as its distributed metadata store. Deploy it using the official FoundationDB Kubernetes Operator.

Deploy the operator

Apply the FoundationDB Operator CRDs and controller:

Create a cluster

Save the following as fdb.yaml:
Apply the cluster:
Wait for all pods to reach Running state:
Expected output:

Install Mistrive Operator

The Mistrive Operator manages DFS, Platform, and Artifact Store deployments through Kubernetes custom resources.
Verify the operator is running:
Expected output:

Deploy DFS

DFS provides the distributed storage layer. Save the following as dfs.yaml:
Apply the configuration:
This creates:
  • MDS (Metadata Service): Manages filesystem metadata
  • DFD (D for Disk): Storage nodes for chunk data
  • Custodian: Background maintenance worker
Wait for all DFS pods to start:
For better performance, use local NVMe storage for DFD nodes. Mount drives at a dedicated path (e.g., /mnt/dfd) and configure hostPath volumes instead of network-attached storage.

Deploy Platform

Platform provides identity management, the web console, and API services. Save the following as platform.yaml:
Replace example.com with your actual domain. The cookie domain must start with a dot (.) for wildcard matching across subdomains.
Apply the configuration:
This creates:
  • API server: Backend services and authentication
  • UI: Web management console
  • IAM Custodian: Background IAM maintenance
The example above uses Gateway API. Ensure your gateway is configured and the hostnames resolve to your cluster.

Deploy Artifact Store

Artifact Store provides the container registry. Save the following as artifactstore.yaml:
Apply the configuration:
This creates:
  • Registry server: Docker API v2 endpoint
  • Scan worker: Vulnerability scanning with Trivy
  • GC worker: Storage garbage collection
The example above uses Gateway API.

Verify deployment

Check that all pods are running:
Expected output shows all components healthy:

Complete setup

Open the management console in your browser:
The setup wizard guides you through creating your first administrator account. After completing setup, you can:
  • Create organizations and projects
  • Configure users and service accounts
  • Push container images to the registry

Test the registry

Authenticate with your new credentials:
Push a test image:

Next steps

DFS

Learn about distributed storage configuration and scaling.

Platform

Configure identity management and access control.

Artifact Store

Set up vulnerability scanning and garbage collection.

Operator reference

Detailed CRD specifications and configuration options. (Coming soon)