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.441.tar.gz
(258.8 kB
view details)
Built Distribution
cdk8s_redis-0.1.441-py3-none-any.whl
(257.2 kB
view details)
File details
Details for the file cdk8s-redis-0.1.441.tar.gz
.
File metadata
- Download URL: cdk8s-redis-0.1.441.tar.gz
- Upload date:
- Size: 258.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88ed6e32979a2a7ba2a3c521a45b5bcfad6ce39df28540123b8d567e47f3f9fe |
|
MD5 | 280f8b82bffaddebbcc7aa8f17575f80 |
|
BLAKE2b-256 | de09646c550db2f57a3077dbc933faef36ebae4c2455813f9f55b21f7f2a1d61 |
File details
Details for the file cdk8s_redis-0.1.441-py3-none-any.whl
.
File metadata
- Download URL: cdk8s_redis-0.1.441-py3-none-any.whl
- Upload date:
- Size: 257.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b717f5f9ff87bfa094fe8cb970d8284950c5d3bac8d35c2172cbb702817f00c |
|
MD5 | 5e4b11db7f52e587084d0f56801a4376 |
|
BLAKE2b-256 | 1a91f1ae580d3903320f9db6c7aefa57bf8d5e51f27ccf739cd6ff29566aed9a |