Skip to content

https://access.crunchydata.com/documentation/postgres-operator/v5/quickstart/ #325

@sudhakar042

Description

@sudhakar042

Prerequisites
Please be sure you have the following utilities installed on your host machine:

kubectl
git
Installation
Step 1: Download the Examples
First, go to GitHub and fork the Postgres Operator examples repository:

https://github.com/CrunchyData/postgres-operator-examples/fork

Once you have forked this repo, you can download it to your working environment with a command similar to this:

YOUR_GITHUB_UN=""
git clone --depth 1 "git@github.com:${YOUR_GITHUB_UN}/postgres-operator-examples.git"
cd postgres-operator-examples
Step 2: Install PGO, the Postgres Operator
You can install PGO, the Postgres Operator from Crunchy Data, using the command below:

kubectl apply -k kustomize/install/namespace
kubectl apply --server-side -k kustomize/install/default


root@controlplane:$ git clone --depth 1 "https://github.com/${GITHUB_USERNAME}/postgres-operator-examples.git"
Cloning into 'postgres-operator-examples'...
remote: Enumerating objects: 68, done.
remote: Counting objects: 100% (68/68), done.
remote: Compressing objects: 100% (48/48), done.
remote: Total 68 (delta 13), reused 53 (delta 13), pack-reused 0 (from 0)
Receiving objects: 100% (68/68), 21.95 KiB | 2.44 MiB/s, done.
Resolving deltas: 100% (13/13), done.
root@controlplane:
$ cd postgres-operator-examples
root@controlplane:/postgres-operator-examples$ kubectl apply -k kustomize/install/namespace
error: must build at directory: not a valid directory: evalsymlink failure on 'kustomize/install/namespace' : lstat /root/postgres-operator-examples/kustomize/install: no such file or directory
root@controlplane:
/postgres-operator-examples$ ls
LICENSE.md README.md helm kustomize
root@controlplane:~/postgres-operator-examples$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions