Skip to content

feat(workflow): Rolling Cluster Upgrade for Redis Enterprise #267

@joshrotenberg

Description

@joshrotenberg

Overview

Implement a workflow that automates rolling upgrades of Redis Enterprise clusters with zero downtime.

Workflow Steps

  1. Pre-upgrade health check of cluster and all nodes
  2. Backup critical cluster configuration
  3. Verify upgrade path compatibility
  4. Download and stage upgrade packages
  5. Upgrade nodes one by one (rolling upgrade)
  6. Wait for each node to rejoin cluster
  7. Verify cluster health after each node
  8. Post-upgrade validation
  9. Generate upgrade report

Example Usage

redisctl enterprise workflow cluster-upgrade \
  --target-version 7.4.2 \
  --backup-config \
  --health-check-interval 30 \
  --max-parallel-nodes 1 \
  --rollback-on-failure \
  --output json

Upgrade Strategies

  • rolling: One node at a time (default, zero downtime)
  • parallel: Multiple nodes simultaneously (faster, brief downtime)
  • maintenance: All nodes at once (fastest, requires maintenance window)

Value Proposition

  • Zero-downtime upgrades for production
  • Automated health checks throughout process
  • Automatic rollback on failure
  • Detailed upgrade reporting
  • Reduces human error in upgrade process

Acceptance Criteria

  • Pre-upgrade validation and compatibility check
  • Configuration backup before upgrade
  • Support different upgrade strategies
  • Node-by-node progress tracking
  • Health checks after each node
  • Automatic rollback capability
  • Pause and resume functionality
  • Detailed logging and reporting
  • Post-upgrade validation
  • Documentation with best practices

Related to #260 (workflow system implementation)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestworkflowWorkflow system features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions