Coder Social home page Coder Social logo

pgadmin-chart's Introduction

Note: This project is now archived. Unfortunately I don't have the time to maintain this chart or test PRs / respond to issues. Please feel free to fork it and take it in your own direction.

PGAdmin

This is a single Helm chart that deploys a pgAdmin instance to your Kubernetes cluster.

Prerequisites

This install assumes you have an existing Kubernetes cluster installed and a postgresql instance deployed.

TLS support requires the cert-manager Kubernetes add-on to be deployed into your cluster.

Chart Configuration

The defaults in values.yaml will make your pgAdmin deployment accessible by its IP address over plaintext HTTP.

To access your pgAdmin instance using a domain name over plaintext HTTP:

  1. set service.type to NodePort
  2. set ingress.enabled to true
  3. reserve a static IP address in your Kubernetes cluster (using e.g. gcloud compute addresses create my-pgadmin-static-ip --global for GCP)
  4. set ingress.staticIPReservation to the name of the static IP address reservation you created in step 3
  5. At your domain registrar, create an A record pointing to the static IP address you reserved in step 3

To access your pgAdmin instance using a domain name over HTTPS, do the above steps, and as well:

  1. Set ingress.tls.enabled to true
  2. Set ingress.tls.clusterIssuer to the name of a cert-manager ClusterIssuer deployed in your Kubernetes cluster
  3. Set ingress.tls.externalDNSName to the (fully-qualified) domain name you registered in step 5

Package

Once you've cloned this repo, you can create your helm package by running the following command in the repo's root directory:

helm package .

Install

After packaging the chart, you then install it into your Kubernetes cluster by targeting the packaged archive:

helm install pgadmin-0.1.0.tgz

Optionally, you can provide a custom username and password:

helm install --set pgadmin.username=myuser,pgadmin.password=mypassword pgadmin-0.1.0.tgz

The deployment will take a while to provision a public IP for the service. You can watch for this using the following command:

kubectl get svc -w -l app=pgadmin

Configure

When the deployment has finished and you have an external IP for your pgAdmin service, you can go to the pgAdmin portal at http://{external-ip}:5050/.

Default Credentials:
username: [email protected]
password: admin

Once logged in, add a new server and provide the Cluster IP, username and password for your postgres service.

pgadmin-chart's People

Contributors

jjcollinge avatar tsutsu 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.