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.521.tar.gz
(259.0 kB
view details)
Built Distribution
cdk8s_redis-0.1.521-py3-none-any.whl
(257.3 kB
view details)
File details
Details for the file cdk8s-redis-0.1.521.tar.gz
.
File metadata
- Download URL: cdk8s-redis-0.1.521.tar.gz
- Upload date:
- Size: 259.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e43f671ee09fe4465c1cec0268731efaff5204e1fbf2b224bd2a1c7ee0a8af1 |
|
MD5 | 3e88622c7f50a58b9ecccc6a56447c2f |
|
BLAKE2b-256 | 4568472cabc7bcacf1913c893e29e9d4b38b9cd7f5ad5f7d4e0a5b95e8a1ba0c |
File details
Details for the file cdk8s_redis-0.1.521-py3-none-any.whl
.
File metadata
- Download URL: cdk8s_redis-0.1.521-py3-none-any.whl
- Upload date:
- Size: 257.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c5f792b1d6032574f14110de2cd7fb973e95d59e9836a68d5fdcb425d6c9ef7 |
|
MD5 | 42192f254c726a231f3cdf193562bf26 |
|
BLAKE2b-256 | 5ea87f3b3f940ae5ba3a51cdefe40129ef7bd4daf90fd7cb0603ed0d519a1c08 |