KubeBlocks
BlogsKubeBlocks Cloud
Overview
Quickstart

Topologies

Redis Standalone Cluster
Redis Replication Cluster
Redis Sharding Cluster

Operations

Lifecycle Management
Vertical Scaling
Horizontal Scaling
Volume Expansion
Manage Redis Services
Modify Redis Parameters
Redis Switchover
Decommission Redis Replica

Backup And Restores

Create BackupRepo
Create Full Backup
Scheduled Backups
Scheduled Continuous Backup
Restore Redis Cluster
Restore with PITR

Custom Secret

Custom Password

Monitoring

Observability for Redis Clusters

tpl

  1. Key Features
    1. Supported Topologies
    2. Lifecycle Management
    3. Backup and Restore
    4. Supported Versions

Overview of KubeBlocks Redis Addon

Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. This example shows how it can be managed in Kubernetes with KubeBlocks.

Key Features

Supported Topologies

TopologyData DistributionScalabilityHigh AvailabilityUse Cases
StandaloneSingle nodeNoNoDevelopment/testing, small datasets
Replication with sentinelPrimary-Secondary replicationRead scalingYesRead-heavy workloads, data redundancy needed
ClusterSharded storageRead/write scalingYesLarge datasets, high-concurrency production environments

Lifecycle Management

KubeBlocks simplifies Redis operations with comprehensive lifecycle management:

FeatureDescription
Horizontal ScalingScale replicas in/out to adjust capacity
Vertical ScalingAdjust CPU/memory resources for Redis instances
Volume ExpansionDynamically increase storage capacity without downtime
Restart OperationsControlled cluster restarts with minimal disruption
Start/StopTemporarily suspend/resume cluster operations
Password ManagementAbility to set and manage custom root password for the Redis cluster during creation
Dynamic ConfigurationModify Redis parameters without restarting
Custom ServicesExpose specialized database endpoints
SwitchoverPlanned primary-replica role changes
Replica ManagementSafely decommission or rebuild specific replicas
Version UpgradesPerform minor version upgrades seamlessly
Advanced SchedulingCustomize pod placement and resource allocation
TLS EncryptionEnable/disable transport layer security
MonitoringIntegrated Prometheus metrics collection
LoggingCentralized logs via Loki Stack

Backup and Restore

KubeBlocks supports multiple backup strategies for Redis:

FeatureMethodDescription
Full BackupdatafileUses redis-cli BGSAVE command to backup data
Continuous BackupaofContinuously perform incremental backups by archiving Append-Only Files (AOF)

Supported Versions

KubeBlocks Redis Addon supports these Redis versions:

Major VersionSupported Minor Versions
7.07.0.6
7.27.2.4, 7.2.7

The list of supported versions can be found by following command:

kubectl get cmpv redis

© 2025 ApeCloud PTE. Ltd.