Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cdk8s-redis

Package Overview
Dependencies
Maintainers
1
Versions
798
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cdk8s-redis

redis constructs for cdk8s

  • 0.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
434
increased by40.91%
Maintainers
1
Weekly downloads
 
Created
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 master and 2 slave replicas:

import { Redis } from 'cdk8s-redis';

// inside your chart:
const redis = new Redis(this, 'my-redis');

DNS names can be obtained from redis.masterHost and redis.slaveHost.

You can specify how many slave replicas to define:

new Redis(this, 'my-redis', {
  slaveReplicas: 4
});

Or, you can specify no slave:

new Redis(this, 'my-redis', {
  slaveReplicas: 0
});

License

Distributed under the Apache 2.0 license.

FAQs

Package last updated on 12 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc