🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

@blitzm/kubernetes-postgresql

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blitzm/kubernetes-postgresql

@blitzm/kubernetes-postgresql is a pulumi component that simplifies the deployment of kubernetes-postgresql in kubernetes. It will create a statefulset for hosting Postgressql in the cluster.

0.2.0
latest
Version published
Maintainers
4
Created

Blitzm Cloud - kubernetes-postgresql

@blitzm/kubernetes-postgresql is a pulumi component that simplifies the deployment of kubernetes-postgresql in kubernetes. It will create a statefulset for hosting Postgressql in the cluster.

Installation

This package can be installed using npm

npm install --save --save-exact @blitzm/kubernetes-postgresql

Usage

You can choose to use the default version which is 11.9.1(Postgres DB version is 14.5.0) and the helm chart is shipped with this library or specify a version from https://artifacthub.io/packages/helm/bitnami/postgresql

import { PostgreSQL } from "@blitzm/kubernetes-postgresql";

// use the default version
const db = new PostgreSQL("new-postgres", {
  provider: provider,
  persistence:{
    enabled: true,
    sizeGB: 10
  },
  database: "my-db",
  namespace: "my-namespace",
  metrics: {
    enabled: true
  },
  // uncomment the following line if you would like a specific version
  // version: "11.8.2"
})

// export the connection strings
export const dbConnection = psql.connectionStrings;

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Blitzm

FAQs

Package last updated on 28 Sep 2022

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