Prerequisites
- Kubernetes cluster (1.25+)
kubectlconfigured 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 asfdb.yaml:
Install Mistrive Operator
The Mistrive Operator manages DFS, Platform, and Artifact Store deployments through Kubernetes custom resources.Deploy DFS
DFS provides the distributed storage layer. Save the following asdfs.yaml:
- MDS (Metadata Service): Manages filesystem metadata
- DFD (D for Disk): Storage nodes for chunk data
- Custodian: Background maintenance worker
Deploy Platform
Platform provides identity management, the web console, and API services. Save the following asplatform.yaml:
Replace
example.com with your actual domain. The cookie domain must start with a dot (.) for wildcard matching across subdomains.- API server: Backend services and authentication
- UI: Web management console
- IAM Custodian: Background IAM maintenance
- Gateway API
- Ingress
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 asartifactstore.yaml:
- Registry server: Docker API v2 endpoint
- Scan worker: Vulnerability scanning with Trivy
- GC worker: Storage garbage collection
- Gateway API
- Ingress
The example above uses Gateway API.
Verify deployment
Check that all pods are running:Complete setup
Open the management console in your browser:- Create organizations and projects
- Configure users and service accounts
- Push container images to the registry
Test the registry
Authenticate with your new credentials: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)