mirrord Operator

Install and manage the mirrord Operator for Teams

The mirrord Operator is a Kubernetes operator that runs persistently in your cluster and manages mirrord sessions. It's the central component that enables all [Teams] features.

Why the Operator?

In the open-source version of mirrord, each session is standalone - mirrord injects itself into the local process and creates an agent pod directly. This works well for individual use, but doesn't support coordination between users.

The Operator solves this by acting as a centralized control plane:

  • Better security - Users no longer need permissions to create privileged pods. Only the Operator does. Permissions are managed through Kubernetes RBAC.

  • Concurrent use - The Operator coordinates multiple mirrord sessions on the same cluster, preventing conflicts.

  • Advanced features - Support for policies, profiles, queue splitting, DB branching, and more.

mirrord for Teams - Architecture

Installation

You'll need a mirrord for Teams license. Register herearrow-up-right to get started.

Helm

Add the MetalBear Helm repository:

Download the accompanying values.yaml:

Set license.key to your key, then install:

Using an Internal Registry (Optional)

Using an internal registry reduces startup time, ingress costs, and removes dependency on GitHub's registry.

We recommend regctlarrow-up-right for copying multi-arch images:

Then set in your values.yaml:

OpenShift

Apply the following SecurityContextConstraints:

Verifying the Installation

All mirrord clients will now use the Operator automatically when running against the cluster.

Last updated

Was this helpful?