@grucloud/module-k8s-redis
npm i @grucloud/module-k8s-redis

@grucloud/module-k8s-redis

Generate diagrams and code from cloud infrastructures: AWS, Azure,GCP, Kubernetes

by grucloud

7.6.0 (see all)License:ISCTypeScript:Not Found
npm i @grucloud/module-k8s-redis
Readme

GruCloud Module for Redis on K8s

This module defines the kubernetes resources required to run Redis.

Config

The config.js file gathers the configuration for this module.

Resources

This module exports 2 kubernetes resources through the createResources function from the iac.js file.

StatefulSet

Define the redis stateful set:

  • image name, version and port
  • readinessProbe and livenessProbe using the psql command to find out if the database is up and running

Service

A headless service forwards traffic to the postgres database. The idea behind using a headless service is to get a unique dns entry that can be referenced by the backend and other (micro)services.

Usage

This module is being used in the following projects:

Downloads/wk

46

GitHub Stars

24

LAST COMMIT

4mos ago

MAINTAINERS

1

CONTRIBUTORS

3

OPEN ISSUES

4

OPEN PRs

1
VersionTagPublished
7.6.0
latest
14d ago
No alternatives found
No tutorials found
Add a tutorial