Skip to content

Install a highly available Valkey deployment#

To provide high availability and data persistence, Mirantis Secure Registry (MSR) 4 supports external Valkey configurations. During deployment, select either the Valkey-only (replication) architecture or the Valkey with Sentinel architecture for the Valkey backend.

Valkey-only (Standard Replication)#

In this mode, MSR connects to a Valkey cluster configured with a master-replica relationship. Data is written to the master node and asynchronously replicated to one or more replicas.

Use this setup for development or staging environments that require data redundancy but can tolerate a short manual-intervention window for failover.

This setup does not include automatic failover. If the master node goes down, MSR loses write capability until a replica is manually promoted to master or the master node is restored.

To deploy this setup, see Install highly available Valkey with replication.

Valkey with Sentinel#

In this mode, MSR is Sentinel-aware. Instead of connecting to a fixed IP address, it queries the Sentinel nodes to resolve the current master.

Use this setup for production environments where maximum uptime and automatic recovery are required. This mode adds a monitoring layer to the standard Valkey replication setup.

Sentinel nodes continuously monitor the Valkey master and replicas and use a quorum-based vote to determine whether the master has failed. If the master fails, the Sentinels automatically initiate a failover process. They elect a new master from the available replicas and notify MSR of the new address.

To deploy this setup, see Install highly available Valkey with Sentinel.