Giter Club home page Giter Club logo

postgres-operator-playbooks's Introduction

Crunchy Data PostgreSQL Operator Playbook

Mr. Crunchy

Latest Release: 3.5.0

General

This repository contains Ansible Roles for deploying the Crunchy PostgreSQL Operator for Kubernetes and OpenShift.

Installation

The following are required for installation using these roles:

  • Ansible 2.4.6+
  • PostgreSQL Operator Client (pgo) installed.
  • PostgreSQL Operator Docker Images
    • CentOS7 images can be found in Docker Hub, RHEL7 images are available to Crunchy customers

Next, edit the inventory file included to configure the Crunchy PostgreSQL Operator installation.

Once the inventory file has been configured, run the following command to deploy:

ansible-playbook -i inventory install.yml

After installation completes, set the following environment variables for pgo to work correctly:

export PGOUSER=~/.pgouser
export PGO_CA_CERT=/tmp/pgo-config/pg-operator.crt
export PGO_CLIENT_CERT=/tmp/pgo-config/pg-operator.crt
export PGO_CLIENT_KEY=/tmp/pgo-config/privkey.pem
export URL=$(kubectl get service postgres-operator -o=jsonpath="{.spec.clusterIP}")
export CO_APISERVER_URL=https://${URL?}:8443

Finally, test pgo is communicating with the PostgreSQL Operator API Service:

pgo version

Deprovisioning

To completely remove PostgreSQL Operator, run the following command:

# NOTE: This is delete all operator related objects
ansible-playbook -i inventory install.yml --tags="deprovision"

More Information

Please view the official Crunchy Data PostgreSQL Operator documentation.

postgres-operator-playbooks's People

Contributors

jasonodonnell 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.