Target Redis 6 everywhere rather than a mix of 5 and 6 (#35373)

Redis 5 has been EOL for a few years, and didn't get updates for the
latest high-severity CVEs. We're already using 6 in most places
(fleetctl preview, recommended reference architectures, managed cloud
environments) so it's safe to set 6 as the new minimum.

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
This commit is contained in:
Ian Littman
2025-11-10 17:05:44 -06:00
committed by GitHub
co-authored by Noah Talerman
parent 63eb318429
commit f91aa591b0
3 changed files with 9 additions and 14 deletions
+7 -7
View File
@@ -2,7 +2,7 @@
version: "2"
services:
redis-cluster-setup:
image: redis:5
image: redis:6
command: redis-cli --cluster create 172.20.0.31:7001 172.20.0.32:7002 172.20.0.33:7003 172.20.0.34:7004 172.20.0.35:7005 172.20.0.36:7006 --cluster-yes --cluster-replicas 1
networks:
cluster_network:
@@ -16,7 +16,7 @@ services:
- redis-cluster-6
redis-cluster-1:
image: redis:5
image: redis:6
command: redis-server /usr/local/etc/redis/redis.conf
ports:
- "7001:7001"
@@ -27,7 +27,7 @@ services:
ipv4_address: 172.20.0.31
redis-cluster-2:
image: redis:5
image: redis:6
command: redis-server /usr/local/etc/redis/redis.conf
ports:
- "7002:7002"
@@ -38,7 +38,7 @@ services:
ipv4_address: 172.20.0.32
redis-cluster-3:
image: redis:5
image: redis:6
command: redis-server /usr/local/etc/redis/redis.conf
ports:
- "7003:7003"
@@ -49,7 +49,7 @@ services:
ipv4_address: 172.20.0.33
redis-cluster-4:
image: redis:5
image: redis:6
command: redis-server /usr/local/etc/redis/redis.conf
ports:
- "7004:7004"
@@ -60,7 +60,7 @@ services:
ipv4_address: 172.20.0.34
redis-cluster-5:
image: redis:5
image: redis:6
command: redis-server /usr/local/etc/redis/redis.conf
ports:
- "7005:7005"
@@ -71,7 +71,7 @@ services:
ipv4_address: 172.20.0.35
redis-cluster-6:
image: redis:5
image: redis:6
command: redis-server /usr/local/etc/redis/redis.conf
ports:
- "7006:7006"
+1 -1
View File
@@ -112,7 +112,7 @@ services:
- ServerOptions__TlsCertificatePrivateKey=/certs/fleet.key
redis:
image: redis:5
image: redis:6
ports:
- "6379:6379"
+1 -6
View File
@@ -514,7 +514,6 @@ We've found this error when you try to build an MSI on Docker 4.17. The underlyi
- [What is duplicate enrollment and how do I fix it?](#what-is-duplicate-enrollment-and-how-do-i-fix-it)
- [What API endpoints should I expose to the public internet?](#what-api-endpoints-should-i-expose-to-the-public-internet)
- [What Redis versions are supported?](#what-redis-versions-are-supported)
- [Will my older version of Fleet work with Redis 6?](#will-my-older-version-of-fleet-work-with-redis-6)
### How do I get support for working with Fleet?
@@ -709,11 +708,7 @@ Fleet requires at least MySQL version 8.0.36, and is tested [with versions 8.0.3
To migrate from Fleet Free to Fleet Premium, once you get a Fleet license, set it as a parameter to `fleet serve` either as an environment variable using `FLEET_LICENSE_KEY` or in [Fleet's config file](https://fleetdm.com/docs/deploying/configuration#license). You don't need to redeploy Fleet after the migration.
### What Redis versions are supported?
Fleet is tested with Redis 6, as well as the latest release of Redis 5. Any version of Redis after version 5 will typically work well.
### Will my older version of Fleet work with Redis 6?
Most likely, yes! While we'd definitely recommend keeping Fleet up to date in order to take advantage of new features and bug patches, most legacy versions should work with Redis 6. Just keep in mind that we likely haven't tested your particular combination, so you may run into some unforeseen hiccups.
Fleet is tested with Redis 6. Any version of Redis after version 6 will typically work well.
## What happened to the "Schedule" page?
Scheduled queries are not gone! Instead, the concept of a scheduled query has been merged with a saved query. After 4.35, scheduling now happens on the queries page: a query can be scheduled (via familiar attributes such as "interval" and "platform"), or it can simply be saved to be run ad-hoc. A query can now belong to a team, or it can be a global query that every team inherits. This greatly simplifies the mental model of the product and enables us to build [exciting features](https://github.com/fleetdm/fleet/issues/7766) on top of the new unified query concept.