This release of valkey-operator comes with incremental bug fixes and stability improvements. Notable additions include:
- Added dedicated user for replication
- Configure Valkey with
shutdown-on-sigterm failoverby default - Adding Prometheus metrics
- Add
podSecurityContextfield to ValkeyCluster and ValkeyNode CRDs - Add
metrics.exporter.securityContextfield to ValkeyCluster CRD to override the SecurityContext applied to the exporter sidecar - Failover now targets the replica with the highest replication offset
- Cluster recovery when a majority of primaries are lost
spec.shardsis now required on ValkeyCluster resources; manifests that omit it will be rejected after the CRD upgrade
What's Changed
- Filter Secrets by managed-by label to reduce cache memory usage by @bjosv in #238
- fix: recover cluster when majority of primaries are lost by @bjosv in #244
- feat: add operator-specific Prometheus metrics by @daanvinken in #159
- (bug) fixed Liveness and Readiness Probes to use operator managed user instead of default user by @sandeepkunusoth in #235
- fix: roll primaries shard-by-shard during rolling update without persistence by @bjosv in #252
- chore(kubebuilder): update scaffold v4.14.0 -> v4.15.0 by @sandeepkunusoth in #254
- feat: fail over to the highest-offset replica by @melancholictheory in #249
- fix: scale-down blocked when excess shard pod is unschedulable by @daanvinken in #258
- fix: surface ValkeyNode reconcile errors in status conditions by @daanvinken in #257
- fix: filter excess shard pods in scheduling issue check by @daanvinken in #273
- feat: inject shutdown-on-sigterm failover by default by @melancholictheory in #268
- fix: Ensure shards required by @deepakpunjabi in #283
- Init cluster metrics by @SuperQ in #285
- add dedicated replication system user by @hieu2102 in #237
- chore(deps): bump actions/setup-go from 6.4.0 to 6.5.0 by @dependabot[bot] in #289
- chore(deps): bump actions/checkout from 6.0.3 to 7.0.0 by @dependabot[bot] in #290
- (feat) support readOnlyFileSystem using custom podSecurityContext by @sandeepkunusoth in #288
New Contributors
- @melancholictheory made their first contribution in #249
Full Changelog: v0.2.0...v0.3.0