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.444.tar.gz
(258.8 kB
view details)
Built Distribution
cdk8s_redis-0.1.444-py3-none-any.whl
(257.2 kB
view details)
File details
Details for the file cdk8s-redis-0.1.444.tar.gz
.
File metadata
- Download URL: cdk8s-redis-0.1.444.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 | 86c1250dd4b5fc8380695f5c1fffdd710cc28e8f5383078cc8d66a8119ea7e6c |
|
MD5 | 765cb5c295f79ad517a4124c90ce30a9 |
|
BLAKE2b-256 | 1fd4299751e2789d6f28cff7737ce7e83d31c6cb3581ab64ac6297d88d6a9c55 |
File details
Details for the file cdk8s_redis-0.1.444-py3-none-any.whl
.
File metadata
- Download URL: cdk8s_redis-0.1.444-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 | b92b2691141c082e5ed1dcf6bcb43d586dd45a7f8257c8b9a66c3ad911c1760a |
|
MD5 | 927414b9f0270386561ebb6f5197a96a |
|
BLAKE2b-256 | 31905513b7a363d3db7a9e30d3cb877c70ad4d86fbf3169da877a5d94a7779d1 |