# 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:
```python
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:
```python
new Redis(this, 'my-redis', {
replicas: 4
});
```
Or, you can specify no replicas:
```python
new Redis(this, 'my-redis', {
replicas: 0
});
```
## License
Distributed under the [Apache 2.0](./LICENSE) license.
Raw data
{
"_id": null,
"home_page": "https://github.com/cdk8s-team/cdk8s-redis.git",
"name": "cdk8s-redis",
"maintainer": null,
"docs_url": null,
"requires_python": "~=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Amazon Web Services",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/ac/c5/88e57239d6039ebef84bb289f9834f2ddd77b586d66c6b29d49eaed9edc9/cdk8s_redis-0.1.844.tar.gz",
"platform": null,
"description": "# cdk8s-redis\n\n> Redis constructs for cdk8s\n\nBasic implementation of a Redis construct for cdk8s. Contributions are welcome!\n\n## Usage\n\nThe following will define a Redis cluster with a primary and 2 replicas:\n\n```python\nimport { Redis } from 'cdk8s-redis';\n\n// inside your chart:\nconst redis = new Redis(this, 'my-redis');\n```\n\nDNS names can be obtained from `redis.primaryHost` and `redis.replicaHost`.\n\nYou can specify how many replicas to define:\n\n```python\nnew Redis(this, 'my-redis', {\n replicas: 4\n});\n```\n\nOr, you can specify no replicas:\n\n```python\nnew Redis(this, 'my-redis', {\n replicas: 0\n});\n```\n\n## License\n\nDistributed under the [Apache 2.0](./LICENSE) license.\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Basic implementation of a Redis construct for cdk8s.",
"version": "0.1.844",
"project_urls": {
"Homepage": "https://github.com/cdk8s-team/cdk8s-redis.git",
"Source": "https://github.com/cdk8s-team/cdk8s-redis.git"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "ae6989188a2db3517c0c8eec196ea6ee7e1473b38913720e3d065213bc82036c",
"md5": "f40548ccfdb95dabfffcf4b62ae763a9",
"sha256": "5f9f7493178f329d5491ec2949bc19b1697caf861428bbadfe338243fbc074b9"
},
"downloads": -1,
"filename": "cdk8s_redis-0.1.844-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f40548ccfdb95dabfffcf4b62ae763a9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.9",
"size": 258802,
"upload_time": "2025-08-26T12:19:15",
"upload_time_iso_8601": "2025-08-26T12:19:15.579081Z",
"url": "https://files.pythonhosted.org/packages/ae/69/89188a2db3517c0c8eec196ea6ee7e1473b38913720e3d065213bc82036c/cdk8s_redis-0.1.844-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "acc588e57239d6039ebef84bb289f9834f2ddd77b586d66c6b29d49eaed9edc9",
"md5": "3b4444df909b7ec6aef3e26b160d1b85",
"sha256": "51e128a78fa905ac67daa088c6faeb6b1bfc63ee551a0533a38d5fb16d380274"
},
"downloads": -1,
"filename": "cdk8s_redis-0.1.844.tar.gz",
"has_sig": false,
"md5_digest": "3b4444df909b7ec6aef3e26b160d1b85",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.9",
"size": 260135,
"upload_time": "2025-08-26T12:19:18",
"upload_time_iso_8601": "2025-08-26T12:19:18.312423Z",
"url": "https://files.pythonhosted.org/packages/ac/c5/88e57239d6039ebef84bb289f9834f2ddd77b586d66c6b29d49eaed9edc9/cdk8s_redis-0.1.844.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-26 12:19:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "cdk8s-team",
"github_project": "cdk8s-redis",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "cdk8s-redis"
}