cdk8s-redis provides Redis constructs for defining Kubernetes Redis clusters using cdk8s. Version 0.1.913 is current with weekly releases. It supports primary-replica configurations with customizable replica counts and exposes DNS endpoints (primaryHost, replicaHost). Key differentiator: declarative Kubernetes-native Redis definitions via cdk8s, built on constructs and cdk8s libraries, TypeScript-first with full type definitions. Requires cdk8s ^2.68.91 and constructs ^10.3.0 as peer dependencies.
npm install cdk8s-redisNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Defines a Redis cluster with 3 replicas using cdk8s and deploys it to Kubernetes.
Ensure project uses compatible versions of cdk8s and constructs.
Use ES import syntax: import { Redis } from 'cdk8s-redis'.Declare props inline or upgrade to latest version.
Install required peer deps: npm install cdk8s constructs
Use named import: import { Redis } from 'cdk8s-redis'Access primaryHost after app.synth() or within construct lifecycle