Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

cdk8s-redis

Package Overview
Dependencies
0
Maintainers
2
Versions
567
Issues
File Explorer

Advanced tools

cdk8s-redis

Basic implementation of a Redis construct for cdk8s.

    0.1.568latest
    Github

Version published
Maintainers
2
Weekly downloads
3,613
increased by165.86%

Weekly downloads

Changelog

Source

v0.1.568

0.1.568 (2023-03-22)

Readme

Source

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.

Keywords

FAQs

Last updated on 22 Mar 2023

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc