GithubHelp home page GithubHelp logo

smana / cnp-sandbox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from enterprisedb/cnp-sandbox

0.0 1.0 0.0 3.28 MB

Sandbox for Cloud Native PostgreSQL in Kubernetes environments

License: Apache License 2.0

Makefile 70.39% Smarty 29.61%

cnp-sandbox's Introduction

Sandbox for Cloud Native PostgreSQL

Cloud Native PostgreSQL Sandbox, aka cnp-sandbox, is a Helm chart that sets up the following components inside a Kubernetes cluster:

IMPORTANT: cnp-sandbox must be run in a staging or pre-production environment. Do not use cnp-sandbox in a production environment, as we expect that Prometheus and Grafana are already part of that infrastructure: there you can install Cloud Native PostgreSQL, the suggested metrics and the provided Grafana dashboard.

If you are using Openshift then this Helm chart will not work. The installation of the operator is different in Openshift; there it should be installed using OLM. Additionally, the monitoring stack should be installed in Openshift using the associated Openshift installation methods for those applications.

Example of dashboard

Requirements

  • Cloud Native PostgreSQL 1.10.0
  • GNU Make 3.8
  • Helm 3.7
  • A supported Kubernetes cluster with enough RBAC permissions to deploy the required resources

Deployment

Deployment using the latest release:

helm repo add cnp-sandbox https://enterprisedb.github.io/cnp-sandbox/
helm repo update
helm upgrade --install cnp-sandbox \
  cnp-sandbox/cnp-sandbox

Then simply follow the instructions that will appear on the terminal once the installation is completed.

Deployment from local source

You can deploy Cloud Native PostgreSQL Sandbox from local source with:

make sandbox-deploy

You can remove the installed sandbox by running:

make sandbox-uninstall

Monitoring

From the Grafana interface, you can find the dashboard by selecting: Dashboards > Manage > Cloud Native PostgreSQL.

Benchmarking

You can use cnp-sandbox in conjuction with cnp-bench to benchmark your PostgreSQL environment and observe its behaviour in real-time.

Contributing

Please read the code of conduct and the guidelines to contribute to the project.

Disclaimer

cnp-sandbox is open source software and comes "as is". Please carefully read the license before you use this software, in particular the "Disclaimer of Warranty" and "Limitation of Liability" items.

Copyright

cnp-sandbox is distributed under Apache License 2.0.

Copyright (C) 2021 EnterpriseDB Corporation.

cnp-sandbox's People

Contributors

cnp-autobot avatar dependabot[bot] avatar gbartolini avatar github-actions[bot] avatar jlong49 avatar phisco avatar sxd avatar theadamwright avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.