Basic implementation of a Redis construct for cdk8s.
Project description
cdk8s-redis
Redis constructs for cdk8s
Basic implementation of a Redis construct for cdk8s. Contributions are welcome!
Usage
The following will define a Redis cluster with a primary and 2 replicas:
import { Redis } from 'cdk8s-redis';
// inside your chart:
const redis = new Redis(this, 'my-redis');
DNS names can be obtained from redis.primaryHost
and redis.replicaHost
.
You can specify how many replicas to define:
new Redis(this, 'my-redis', {
replicas: 4
});
Or, you can specify no replicas:
new Redis(this, 'my-redis', {
replicas: 0
});
License
Distributed under the Apache 2.0 license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cdk8s-redis-0.1.623.tar.gz
(258.6 kB
view details)
Built Distribution
cdk8s_redis-0.1.623-py3-none-any.whl
(256.9 kB
view details)
File details
Details for the file cdk8s-redis-0.1.623.tar.gz
.
File metadata
- Download URL: cdk8s-redis-0.1.623.tar.gz
- Upload date:
- Size: 258.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14d9da15c4995665f27e8fe0848b10a39712ca249dc1ba463ac5ac24f33e6f7a |
|
MD5 | 5ee889e1fbce5ab425bee991c23c310f |
|
BLAKE2b-256 | 997f68ce141abede93b32f4c4b86b1d6dc3b1740808e0358136aa3dc00a04469 |
File details
Details for the file cdk8s_redis-0.1.623-py3-none-any.whl
.
File metadata
- Download URL: cdk8s_redis-0.1.623-py3-none-any.whl
- Upload date:
- Size: 256.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a740105bcbaca8d4de80a1d2aa3b6620c5da7ad4f2e0d6cc2fddc4518183cc3 |
|
MD5 | cbf8356f0b549b73085e513be22a2d8b |
|
BLAKE2b-256 | 923b581c08206b842b23c692dccb92448f188c90368b7c6a32da034d6ae06d67 |