Skip to content

Commit

Permalink
Update prod to redis 7
Browse files Browse the repository at this point in the history
  • Loading branch information
cavis committed Mar 25, 2024
1 parent 5b2cb2f commit a07cc38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spire/templates/shared-redis/cluster.yml
Expand Up @@ -51,10 +51,10 @@ Resources:
AutomaticFailoverEnabled: true
AutoMinorVersionUpgrade: false
CacheNodeType: !If [IsProduction, cache.m6g.large, cache.t4g.small]
CacheParameterGroupName: !If [IsProduction, default.redis6.x.cluster.on, default.redis7.cluster.on]
CacheParameterGroupName: default.redis7.cluster.on
CacheSubnetGroupName: !Ref RedisSubnetGroup
Engine: Redis
EngineVersion: !If [IsProduction, 6.x, 7.1]
EngineVersion: 7.1
MultiAZEnabled: true
NumNodeGroups: 1 # NodeGroups are Shards. This replication group will always use cluster mode due to the parameter group.
ReplicasPerNodeGroup: 1 # **Update requires replacement** Replicas are nodes. N replicas will result in N+1 Nodes Per Shard.
Expand Down

0 comments on commit a07cc38

Please sign in to comment.