Skip to content

Helm Chart Postgresql with PersistentVolume and PersistentVolumeClaim

Notifications You must be signed in to change notification settings

gunjangarge/helm-chart-postgresql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Helm Chart Postgresql

Screen recording

asciicast

Commands

helm lint helm-chart-postgresql
helm package helm-chart-postgresql
helm install postgresql-psl postgresql-psl-0.1.0.tgz

Connect to database

psql -h 10.0.0.6 -p 32000 --username abc --dbname abcdb

Create table and some data

root@pop-os:/opt/helm-content# psql -h 10.0.0.6 -p 32000 --username abc --dbname abcdb
Password for user abc: 
psql (12.2 (Ubuntu 12.2-4))
Type "help" for help.

abcdb=# create table users (id int primary key not null, name text not null);
CREATE TABLE
abcdb=# \d users
               Table "public.users"
 Column |  Type   | Collation | Nullable | Default 
--------+---------+-----------+----------+---------
 id     | integer |           | not null | 
 name   | text    |           | not null | 
Indexes:
    "users_pkey" PRIMARY KEY, btree (id)

abcdb=# insert into users (id,name) values (1,'john');
INSERT 0 1
abcdb=# select * from users;
 id | name 
----+------
  1 | john
(1 row)

abcdb=# 
abcdb=# \q

Cleanup

helm uninstall postgresql-psl

About

Helm Chart Postgresql with PersistentVolume and PersistentVolumeClaim

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages