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.299.tar.gz
(258.5 kB
view details)
Built Distribution
cdk8s_redis-0.1.299-py3-none-any.whl
(257.0 kB
view details)
File details
Details for the file cdk8s-redis-0.1.299.tar.gz
.
File metadata
- Download URL: cdk8s-redis-0.1.299.tar.gz
- Upload date:
- Size: 258.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef2d1db9c3380a803ae93f2f9f5da0a3bc1873c336dbc7be362721ba46756b6c |
|
MD5 | cd04c91c6bc7a2c5e3180f47097df6d4 |
|
BLAKE2b-256 | 62fad7902972b744b9203165c93c92da904886d5619c6de52f9bb3bf319f6231 |
File details
Details for the file cdk8s_redis-0.1.299-py3-none-any.whl
.
File metadata
- Download URL: cdk8s_redis-0.1.299-py3-none-any.whl
- Upload date:
- Size: 257.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f2efcbb183291b51514cca083bc336cc8fd04a354cb4089e9c83e788518a6b8 |
|
MD5 | 41620c1b837f3c9e3c80d6f657f8f61a |
|
BLAKE2b-256 | 8d1d502dde6f5e36f6ae6af85dd6afa8c7746ef28fed2792f2b6c6084ee8fb54 |